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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetadatagetMetadata()Store programmatic data like creation times.MetadataOrBuildergetMetadataOrBuilder()Store programmatic data like creation times.java.lang.StringgetSource()URL or other unique attribute to find/identify the resourcecom.google.protobuf.ByteStringgetSourceBytes()URL or other unique attribute to find/identify the resourcejava.lang.StringgetText()Plain-text content of the original argument.com.google.protobuf.ByteStringgetTextBytes()Plain-text content of the original argument.com.google.protobuf.TimestampgetTimestamp()Creation time of the resource.com.google.protobuf.TimestampOrBuildergetTimestampOrBuilder()Creation time of the resource.java.lang.StringgetTitle()Title (if available) of the source.com.google.protobuf.ByteStringgetTitleBytes()Title (if available) of the source.com.google.protobuf.StructgetUserdata()Store arbitrary data as needed by a user.com.google.protobuf.StructOrBuildergetUserdataOrBuilder()Store arbitrary data as needed by a user.booleanhasMetadata()Store programmatic data like creation times.booleanhasSource()URL or other unique attribute to find/identify the resourcebooleanhasTimestamp()Creation time of the resource.booleanhasTitle()Title (if available) of the source.booleanhasUserdata()Store arbitrary data as needed by a user.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getText
java.lang.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
java.lang.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
java.lang.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"];
-
-