Package com.google.cloud.chronicle.v1
Interface FeaturedContentMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FeaturedContentMetadata,FeaturedContentMetadata.Builder
@Generated
public interface FeaturedContentMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.getCategories(int index) Output only.com.google.protobuf.ByteStringgetCategoriesBytes(int index) Output only.intOutput only.Output only.booleanOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getId()Required.com.google.protobuf.ByteStringRequired.Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.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
-
getId
String getId()Required. Unique identifier of the featured content.
string id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Required. Unique identifier of the featured content.
string id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for id.
-
getDisplayName
String getDisplayName()Output only. The display name of the featured content.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Output only. The display name of the featured content.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for displayName.
-
hasCreateTime
boolean hasCreateTime()Output only. Timestamp indicating when the item was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Timestamp indicating when the item was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp indicating when the item was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Timestamp indicating when the item was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. Timestamp indicating when the item was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Timestamp indicating when the item was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAuthor
String getAuthor()Output only. Content item author full name.
string author = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The author.
-
getAuthorBytes
com.google.protobuf.ByteString getAuthorBytes()Output only. Content item author full name.
string author = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for author.
-
getCertified
boolean getCertified()Output only. Determine if this content item is officially certified by Google or created by the community.
bool certified = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The certified.
-
getDescription
String getDescription()Output only. The description of the content item.
string description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Output only. The description of the content item.
string description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for description.
-
getCategoriesList
Output only. Categories the content is associated with.
repeated string categories = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- A list containing the categories.
-
getCategoriesCount
int getCategoriesCount()Output only. Categories the content is associated with.
repeated string categories = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The count of categories.
-
getCategories
Output only. Categories the content is associated with.
repeated string categories = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the element to return.- Returns:
- The categories at the given index.
-
getCategoriesBytes
com.google.protobuf.ByteString getCategoriesBytes(int index) Output only. Categories the content is associated with.
repeated string categories = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the categories at the given index.
-
getVersion
String getVersion()Output only. Featured content version (Major.Minor.Patch).
string version = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()Output only. Featured content version (Major.Minor.Patch).
string version = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for version.
-
hasVerified
boolean hasVerified()Output only. Whether the content is verified by Google (applicable for 3rd party content).
optional bool verified = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the verified field is set.
-
getVerified
boolean getVerified()Output only. Whether the content is verified by Google (applicable for 3rd party content).
optional bool verified = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The verified.
-
getSourceTypeValue
int getSourceTypeValue()Output only. The source type of the content.
.google.cloud.chronicle.v1.FeaturedContentMetadata.ContentSourceType source_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for sourceType.
-
getSourceType
FeaturedContentMetadata.ContentSourceType getSourceType()Output only. The source type of the content.
.google.cloud.chronicle.v1.FeaturedContentMetadata.ContentSourceType source_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The sourceType.
-