Interface ResourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resource,Resource.Builder
public interface ResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionStore programmatic data like creation times.Store programmatic data like creation times.URL or other unique attribute to find/identify the resourcecom.google.protobuf.ByteStringURL or other unique attribute to find/identify the resourcegetText()Plain-text content of the original argument.com.google.protobuf.ByteStringPlain-text content of the original argument.com.google.protobuf.TimestampCreation time of the resource.com.google.protobuf.TimestampOrBuilderCreation time of the resource.getTitle()Title (if available) of the source.com.google.protobuf.ByteStringTitle (if available) of the source.com.google.protobuf.StructStore arbitrary data as needed by a user.com.google.protobuf.StructOrBuilderStore arbitrary data as needed by a user.booleanStore programmatic data like creation times.booleanURL or other unique attribute to find/identify the resourcebooleanCreation time of the resource.booleanhasTitle()Title (if available) of the source.booleanStore arbitrary data as needed by a user.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getText
String getText()Plain-text content of the original argument.
string text = 1 [json_name = "text"];- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()Plain-text content of the original argument.
string text = 1 [json_name = "text"];- Returns:
- The bytes for text.
-
hasTitle
boolean hasTitle()Title (if available) of the source.
optional string title = 2 [json_name = "title"];- Returns:
- Whether the title field is set.
-
getTitle
String getTitle()Title (if available) of the source.
optional string title = 2 [json_name = "title"];- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()Title (if available) of the source.
optional string title = 2 [json_name = "title"];- Returns:
- The bytes for title.
-
hasSource
boolean hasSource()URL or other unique attribute to find/identify the resource
optional string source = 3 [json_name = "source"];- Returns:
- Whether the source field is set.
-
getSource
String getSource()URL or other unique attribute to find/identify the resource
optional string source = 3 [json_name = "source"];- Returns:
- The source.
-
getSourceBytes
com.google.protobuf.ByteString getSourceBytes()URL or other unique attribute to find/identify the resource
optional string source = 3 [json_name = "source"];- Returns:
- The bytes for source.
-
hasTimestamp
boolean hasTimestamp()Creation time of the resource.
.google.protobuf.Timestamp timestamp = 4 [json_name = "timestamp"];- Returns:
- Whether the timestamp field is set.
-
getTimestamp
com.google.protobuf.Timestamp getTimestamp()Creation time of the resource.
.google.protobuf.Timestamp timestamp = 4 [json_name = "timestamp"];- Returns:
- The timestamp.
-
getTimestampOrBuilder
com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()Creation time of the resource.
.google.protobuf.Timestamp timestamp = 4 [json_name = "timestamp"]; -
hasMetadata
boolean hasMetadata()Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];- Returns:
- Whether the metadata field is set.
-
getMetadata
Metadata getMetadata()Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];- Returns:
- The metadata.
-
getMetadataOrBuilder
MetadataOrBuilder getMetadataOrBuilder()Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"]; -
hasUserdata
boolean hasUserdata()Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"];- Returns:
- Whether the userdata field is set.
-
getUserdata
com.google.protobuf.Struct getUserdata()Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"];- Returns:
- The userdata.
-
getUserdataOrBuilder
com.google.protobuf.StructOrBuilder getUserdataOrBuilder()Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"];
-