public static final class ByteplusSaasContent.Content.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.Content.Builder> implements ByteplusSaasContent.ContentOrBuilder
The content proto.Protobuf type
bytedance.byteplus.rec.content.ContentgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.Content.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.Content.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.Content.Builder>public ByteplusSaasContent.Content.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.Content.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.Content.Builder>public ByteplusSaasContent.Content getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic ByteplusSaasContent.Content build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic ByteplusSaasContent.Content buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic ByteplusSaasContent.Content.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.Content.Builder>public ByteplusSaasContent.Content.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.Content.Builder>public ByteplusSaasContent.Content.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.Content.Builder>public ByteplusSaasContent.Content.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.Content.Builder>public ByteplusSaasContent.Content.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.Content.Builder>public ByteplusSaasContent.Content.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.Content.Builder>public ByteplusSaasContent.Content.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<ByteplusSaasContent.Content.Builder>public ByteplusSaasContent.Content.Builder mergeFrom(ByteplusSaasContent.Content other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.Content.Builder>public ByteplusSaasContent.Content.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<ByteplusSaasContent.Content.Builder>IOExceptionpublic String getContentId()
''' Required. The unique identifier for the content, can be series_id/entity_id/video_id/other unique identifier. Sample values are "12345678", "146582662088489399", etc. '''
string content_id = 1;getContentId 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getContentIdBytes()
''' Required. The unique identifier for the content, can be series_id/entity_id/video_id/other unique identifier. Sample values are "12345678", "146582662088489399", etc. '''
string content_id = 1;getContentIdBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setContentId(String value)
''' Required. The unique identifier for the content, can be series_id/entity_id/video_id/other unique identifier. Sample values are "12345678", "146582662088489399", etc. '''
string content_id = 1;value - The contentId to set.public ByteplusSaasContent.Content.Builder clearContentId()
''' Required. The unique identifier for the content, can be series_id/entity_id/video_id/other unique identifier. Sample values are "12345678", "146582662088489399", etc. '''
string content_id = 1;public ByteplusSaasContent.Content.Builder setContentIdBytes(com.google.protobuf.ByteString value)
''' Required. The unique identifier for the content, can be series_id/entity_id/video_id/other unique identifier. Sample values are "12345678", "146582662088489399", etc. '''
string content_id = 1;value - The bytes for contentId to set.public int getIsRecommendable()
'''
Required.
1 if the content is recommendable (i.e. we can return this content in the recommendation result).
0 if the content isn't recommendable.
Note:
* Even if a content isn't recommendable, please still send this to us.
This is because that users might interact with such contents historically,
therefore it provides reasonably strong signals.
'''
int32 is_recommendable = 2;getIsRecommendable 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setIsRecommendable(int value)
'''
Required.
1 if the content is recommendable (i.e. we can return this content in the recommendation result).
0 if the content isn't recommendable.
Note:
* Even if a content isn't recommendable, please still send this to us.
This is because that users might interact with such contents historically,
therefore it provides reasonably strong signals.
'''
int32 is_recommendable = 2;value - The isRecommendable to set.public ByteplusSaasContent.Content.Builder clearIsRecommendable()
'''
Required.
1 if the content is recommendable (i.e. we can return this content in the recommendation result).
0 if the content isn't recommendable.
Note:
* Even if a content isn't recommendable, please still send this to us.
This is because that users might interact with such contents historically,
therefore it provides reasonably strong signals.
'''
int32 is_recommendable = 2;public String getCategories()
'''
Required.
Json Array, should serializer to string
The categories this content belongs to.
For example in origin json object, if a content has "Movie -> Comedy"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Movie"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Comedy"}] }
]
If a content belongs to 2 different categories,
"Movie -> Comedy" and "Movie -> Action"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Movie"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Comedy"},
{"id_or_name":"Action"}] }
]
then you should serialize the json object to string, for example in python:
categories = json.dumps( [
{"category_depth":1,
"category_nodes": [{"id_or_name":"Movie"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Comedy"}] }
])
'''
string categories = 3;getCategories 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getCategoriesBytes()
'''
Required.
Json Array, should serializer to string
The categories this content belongs to.
For example in origin json object, if a content has "Movie -> Comedy"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Movie"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Comedy"}] }
]
If a content belongs to 2 different categories,
"Movie -> Comedy" and "Movie -> Action"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Movie"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Comedy"},
{"id_or_name":"Action"}] }
]
then you should serialize the json object to string, for example in python:
categories = json.dumps( [
{"category_depth":1,
"category_nodes": [{"id_or_name":"Movie"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Comedy"}] }
])
'''
string categories = 3;getCategoriesBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setCategories(String value)
'''
Required.
Json Array, should serializer to string
The categories this content belongs to.
For example in origin json object, if a content has "Movie -> Comedy"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Movie"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Comedy"}] }
]
If a content belongs to 2 different categories,
"Movie -> Comedy" and "Movie -> Action"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Movie"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Comedy"},
{"id_or_name":"Action"}] }
]
then you should serialize the json object to string, for example in python:
categories = json.dumps( [
{"category_depth":1,
"category_nodes": [{"id_or_name":"Movie"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Comedy"}] }
])
'''
string categories = 3;value - The categories to set.public ByteplusSaasContent.Content.Builder clearCategories()
'''
Required.
Json Array, should serializer to string
The categories this content belongs to.
For example in origin json object, if a content has "Movie -> Comedy"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Movie"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Comedy"}] }
]
If a content belongs to 2 different categories,
"Movie -> Comedy" and "Movie -> Action"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Movie"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Comedy"},
{"id_or_name":"Action"}] }
]
then you should serialize the json object to string, for example in python:
categories = json.dumps( [
{"category_depth":1,
"category_nodes": [{"id_or_name":"Movie"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Comedy"}] }
])
'''
string categories = 3;public ByteplusSaasContent.Content.Builder setCategoriesBytes(com.google.protobuf.ByteString value)
'''
Required.
Json Array, should serializer to string
The categories this content belongs to.
For example in origin json object, if a content has "Movie -> Comedy"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Movie"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Comedy"}] }
]
If a content belongs to 2 different categories,
"Movie -> Comedy" and "Movie -> Action"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Movie"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Comedy"},
{"id_or_name":"Action"}] }
]
then you should serialize the json object to string, for example in python:
categories = json.dumps( [
{"category_depth":1,
"category_nodes": [{"id_or_name":"Movie"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Comedy"}] }
])
'''
string categories = 3;value - The bytes for categories to set.public String getContentType()
''' Required. Type of the content. The accepted values are "picture", "gif", "video", "text", "other". Note: * if the content_type is video, video_duration must be non-zero. '''
string content_type = 4;getContentType 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getContentTypeBytes()
''' Required. Type of the content. The accepted values are "picture", "gif", "video", "text", "other". Note: * if the content_type is video, video_duration must be non-zero. '''
string content_type = 4;getContentTypeBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setContentType(String value)
''' Required. Type of the content. The accepted values are "picture", "gif", "video", "text", "other". Note: * if the content_type is video, video_duration must be non-zero. '''
string content_type = 4;value - The contentType to set.public ByteplusSaasContent.Content.Builder clearContentType()
''' Required. Type of the content. The accepted values are "picture", "gif", "video", "text", "other". Note: * if the content_type is video, video_duration must be non-zero. '''
string content_type = 4;public ByteplusSaasContent.Content.Builder setContentTypeBytes(com.google.protobuf.ByteString value)
''' Required. Type of the content. The accepted values are "picture", "gif", "video", "text", "other". Note: * if the content_type is video, video_duration must be non-zero. '''
string content_type = 4;value - The bytes for contentType to set.public int getVideoDuration()
''' Based content_type. If content_type is video, this field is required. Provide the length this video, in milliseconds. Sample values are 1200000, etc. '''
int32 video_duration = 5;getVideoDuration 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setVideoDuration(int value)
''' Based content_type. If content_type is video, this field is required. Provide the length this video, in milliseconds. Sample values are 1200000, etc. '''
int32 video_duration = 5;value - The videoDuration to set.public ByteplusSaasContent.Content.Builder clearVideoDuration()
''' Based content_type. If content_type is video, this field is required. Provide the length this video, in milliseconds. Sample values are 1200000, etc. '''
int32 video_duration = 5;public String getContentTitle()
''' Optional. The content title. Sample values are "Video #1", "Titanic clip", etc. '''
string content_title = 6;getContentTitle 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getContentTitleBytes()
''' Optional. The content title. Sample values are "Video #1", "Titanic clip", etc. '''
string content_title = 6;getContentTitleBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setContentTitle(String value)
''' Optional. The content title. Sample values are "Video #1", "Titanic clip", etc. '''
string content_title = 6;value - The contentTitle to set.public ByteplusSaasContent.Content.Builder clearContentTitle()
''' Optional. The content title. Sample values are "Video #1", "Titanic clip", etc. '''
string content_title = 6;public ByteplusSaasContent.Content.Builder setContentTitleBytes(com.google.protobuf.ByteString value)
''' Optional. The content title. Sample values are "Video #1", "Titanic clip", etc. '''
string content_title = 6;value - The bytes for contentTitle to set.public String getDescription()
''' Optional. The content description. '''
string description = 7;getDescription 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
''' Optional. The content description. '''
string description = 7;getDescriptionBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setDescription(String value)
''' Optional. The content description. '''
string description = 7;value - The description to set.public ByteplusSaasContent.Content.Builder clearDescription()
''' Optional. The content description. '''
string description = 7;public ByteplusSaasContent.Content.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
''' Optional. The content description. '''
string description = 7;value - The bytes for description to set.public String getContentOwner()
''' Optional. The account who created the content (i.e. the user_id) or the publisher of a video. Sample values are "1234567", "359938082141597", "665DEA957EBFB34D41B1F1D80E4B5F89" etc. '''
string content_owner = 8;getContentOwner 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getContentOwnerBytes()
''' Optional. The account who created the content (i.e. the user_id) or the publisher of a video. Sample values are "1234567", "359938082141597", "665DEA957EBFB34D41B1F1D80E4B5F89" etc. '''
string content_owner = 8;getContentOwnerBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setContentOwner(String value)
''' Optional. The account who created the content (i.e. the user_id) or the publisher of a video. Sample values are "1234567", "359938082141597", "665DEA957EBFB34D41B1F1D80E4B5F89" etc. '''
string content_owner = 8;value - The contentOwner to set.public ByteplusSaasContent.Content.Builder clearContentOwner()
''' Optional. The account who created the content (i.e. the user_id) or the publisher of a video. Sample values are "1234567", "359938082141597", "665DEA957EBFB34D41B1F1D80E4B5F89" etc. '''
string content_owner = 8;public ByteplusSaasContent.Content.Builder setContentOwnerBytes(com.google.protobuf.ByteString value)
''' Optional. The account who created the content (i.e. the user_id) or the publisher of a video. Sample values are "1234567", "359938082141597", "665DEA957EBFB34D41B1F1D80E4B5F89" etc. '''
string content_owner = 8;value - The bytes for contentOwner to set.public int getContentOwnerFollowers()
''' Optional. The number of followers of the content owner. Sample values are 0, 1000, 1000000, etc. '''
int32 content_owner_followers = 9;getContentOwnerFollowers 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setContentOwnerFollowers(int value)
''' Optional. The number of followers of the content owner. Sample values are 0, 1000, 1000000, etc. '''
int32 content_owner_followers = 9;value - The contentOwnerFollowers to set.public ByteplusSaasContent.Content.Builder clearContentOwnerFollowers()
''' Optional. The number of followers of the content owner. Sample values are 0, 1000, 1000000, etc. '''
int32 content_owner_followers = 9;public float getContentOwnerRating()
''' Optional. The rating, if any, of this content owner. Sample values are 3.5, 98.0 etc. '''
float content_owner_rating = 10;getContentOwnerRating 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setContentOwnerRating(float value)
''' Optional. The rating, if any, of this content owner. Sample values are 3.5, 98.0 etc. '''
float content_owner_rating = 10;value - The contentOwnerRating to set.public ByteplusSaasContent.Content.Builder clearContentOwnerRating()
''' Optional. The rating, if any, of this content owner. Sample values are 3.5, 98.0 etc. '''
float content_owner_rating = 10;public String getContentOwnerName()
''' Optional. The name of this content owner. Sample values are "testuser#1", etc. '''
string content_owner_name = 11;getContentOwnerName 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getContentOwnerNameBytes()
''' Optional. The name of this content owner. Sample values are "testuser#1", etc. '''
string content_owner_name = 11;getContentOwnerNameBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setContentOwnerName(String value)
''' Optional. The name of this content owner. Sample values are "testuser#1", etc. '''
string content_owner_name = 11;value - The contentOwnerName to set.public ByteplusSaasContent.Content.Builder clearContentOwnerName()
''' Optional. The name of this content owner. Sample values are "testuser#1", etc. '''
string content_owner_name = 11;public ByteplusSaasContent.Content.Builder setContentOwnerNameBytes(com.google.protobuf.ByteString value)
''' Optional. The name of this content owner. Sample values are "testuser#1", etc. '''
string content_owner_name = 11;value - The bytes for contentOwnerName to set.public String getCollectionId()
''' Optional. If this content belongs to any collection, put the collection id here. Sample values are "1234" etc. '''
string collection_id = 12;getCollectionId 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getCollectionIdBytes()
''' Optional. If this content belongs to any collection, put the collection id here. Sample values are "1234" etc. '''
string collection_id = 12;getCollectionIdBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setCollectionId(String value)
''' Optional. If this content belongs to any collection, put the collection id here. Sample values are "1234" etc. '''
string collection_id = 12;value - The collectionId to set.public ByteplusSaasContent.Content.Builder clearCollectionId()
''' Optional. If this content belongs to any collection, put the collection id here. Sample values are "1234" etc. '''
string collection_id = 12;public ByteplusSaasContent.Content.Builder setCollectionIdBytes(com.google.protobuf.ByteString value)
''' Optional. If this content belongs to any collection, put the collection id here. Sample values are "1234" etc. '''
string collection_id = 12;value - The bytes for collectionId to set.public String getTags()
''' Optional. Json Array, should serializer to string. Internal label of this content. Sample values are "[\"New\", \"Trending\"]", etc. '''
string tags = 13;getTags 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getTagsBytes()
''' Optional. Json Array, should serializer to string. Internal label of this content. Sample values are "[\"New\", \"Trending\"]", etc. '''
string tags = 13;getTagsBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setTags(String value)
''' Optional. Json Array, should serializer to string. Internal label of this content. Sample values are "[\"New\", \"Trending\"]", etc. '''
string tags = 13;value - The tags to set.public ByteplusSaasContent.Content.Builder clearTags()
''' Optional. Json Array, should serializer to string. Internal label of this content. Sample values are "[\"New\", \"Trending\"]", etc. '''
string tags = 13;public ByteplusSaasContent.Content.Builder setTagsBytes(com.google.protobuf.ByteString value)
''' Optional. Json Array, should serializer to string. Internal label of this content. Sample values are "[\"New\", \"Trending\"]", etc. '''
string tags = 13;value - The bytes for tags to set.public String getTopicTags()
''' Optional. Json Array, should serializer to string. If this content belongs to a topic, put the tags of the topic here. Sample values are "[\"Political\", \"Latest\"]", etc. '''
string topic_tags = 14;getTopicTags 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getTopicTagsBytes()
''' Optional. Json Array, should serializer to string. If this content belongs to a topic, put the tags of the topic here. Sample values are "[\"Political\", \"Latest\"]", etc. '''
string topic_tags = 14;getTopicTagsBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setTopicTags(String value)
''' Optional. Json Array, should serializer to string. If this content belongs to a topic, put the tags of the topic here. Sample values are "[\"Political\", \"Latest\"]", etc. '''
string topic_tags = 14;value - The topicTags to set.public ByteplusSaasContent.Content.Builder clearTopicTags()
''' Optional. Json Array, should serializer to string. If this content belongs to a topic, put the tags of the topic here. Sample values are "[\"Political\", \"Latest\"]", etc. '''
string topic_tags = 14;public ByteplusSaasContent.Content.Builder setTopicTagsBytes(com.google.protobuf.ByteString value)
''' Optional. Json Array, should serializer to string. If this content belongs to a topic, put the tags of the topic here. Sample values are "[\"Political\", \"Latest\"]", etc. '''
string topic_tags = 14;value - The bytes for topicTags to set.public String getImageUrls()
''' Optional. Json Array, should serializer to string. Provide the url to the image file here. Sample values are "[\"https://images-na.ssl-images-amazon.com/images/I/81WmojBxvbL._AC_UL1500_.jpg\"]", etc. '''
string image_urls = 15;getImageUrls 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getImageUrlsBytes()
''' Optional. Json Array, should serializer to string. Provide the url to the image file here. Sample values are "[\"https://images-na.ssl-images-amazon.com/images/I/81WmojBxvbL._AC_UL1500_.jpg\"]", etc. '''
string image_urls = 15;getImageUrlsBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setImageUrls(String value)
''' Optional. Json Array, should serializer to string. Provide the url to the image file here. Sample values are "[\"https://images-na.ssl-images-amazon.com/images/I/81WmojBxvbL._AC_UL1500_.jpg\"]", etc. '''
string image_urls = 15;value - The imageUrls to set.public ByteplusSaasContent.Content.Builder clearImageUrls()
''' Optional. Json Array, should serializer to string. Provide the url to the image file here. Sample values are "[\"https://images-na.ssl-images-amazon.com/images/I/81WmojBxvbL._AC_UL1500_.jpg\"]", etc. '''
string image_urls = 15;public ByteplusSaasContent.Content.Builder setImageUrlsBytes(com.google.protobuf.ByteString value)
''' Optional. Json Array, should serializer to string. Provide the url to the image file here. Sample values are "[\"https://images-na.ssl-images-amazon.com/images/I/81WmojBxvbL._AC_UL1500_.jpg\"]", etc. '''
string image_urls = 15;value - The bytes for imageUrls to set.public int getDetailPicNum()
''' Optional. The number of images that are displayed on the detail page. Sample values are 1, 5, etc. '''
int32 detail_pic_num = 16;getDetailPicNum 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setDetailPicNum(int value)
''' Optional. The number of images that are displayed on the detail page. Sample values are 1, 5, etc. '''
int32 detail_pic_num = 16;value - The detailPicNum to set.public ByteplusSaasContent.Content.Builder clearDetailPicNum()
''' Optional. The number of images that are displayed on the detail page. Sample values are 1, 5, etc. '''
int32 detail_pic_num = 16;public String getVideoUrls()
''' Optional. Json Array, should serializer to string. Provide the url to the video file here. Sample values are "[\"https://test_video.mov\"]", etc. '''
string video_urls = 17;getVideoUrls 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getVideoUrlsBytes()
''' Optional. Json Array, should serializer to string. Provide the url to the video file here. Sample values are "[\"https://test_video.mov\"]", etc. '''
string video_urls = 17;getVideoUrlsBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setVideoUrls(String value)
''' Optional. Json Array, should serializer to string. Provide the url to the video file here. Sample values are "[\"https://test_video.mov\"]", etc. '''
string video_urls = 17;value - The videoUrls to set.public ByteplusSaasContent.Content.Builder clearVideoUrls()
''' Optional. Json Array, should serializer to string. Provide the url to the video file here. Sample values are "[\"https://test_video.mov\"]", etc. '''
string video_urls = 17;public ByteplusSaasContent.Content.Builder setVideoUrlsBytes(com.google.protobuf.ByteString value)
''' Optional. Json Array, should serializer to string. Provide the url to the video file here. Sample values are "[\"https://test_video.mov\"]", etc. '''
string video_urls = 17;value - The bytes for videoUrls to set.public float getUserRating()
''' Optional. The rating given by the users. The value is normalized to [0.0, 5.0]. The accepted value range is [0.0, 5.0]. '''
float user_rating = 18;getUserRating 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setUserRating(float value)
''' Optional. The rating given by the users. The value is normalized to [0.0, 5.0]. The accepted value range is [0.0, 5.0]. '''
float user_rating = 18;value - The userRating to set.public ByteplusSaasContent.Content.Builder clearUserRating()
''' Optional. The rating given by the users. The value is normalized to [0.0, 5.0]. The accepted value range is [0.0, 5.0]. '''
float user_rating = 18;public int getViewsCount()
''' Optional. The number of views for this content. Sample values are 10000, etc. '''
int32 views_count = 19;getViewsCount 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setViewsCount(int value)
''' Optional. The number of views for this content. Sample values are 10000, etc. '''
int32 views_count = 19;value - The viewsCount to set.public ByteplusSaasContent.Content.Builder clearViewsCount()
''' Optional. The number of views for this content. Sample values are 10000, etc. '''
int32 views_count = 19;public int getCommentsCount()
''' Optional. The number of comments for this content. Sample values are 100, etc. '''
int32 comments_count = 20;getCommentsCount 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setCommentsCount(int value)
''' Optional. The number of comments for this content. Sample values are 100, etc. '''
int32 comments_count = 20;value - The commentsCount to set.public ByteplusSaasContent.Content.Builder clearCommentsCount()
''' Optional. The number of comments for this content. Sample values are 100, etc. '''
int32 comments_count = 20;public int getLikesCount()
''' Optional. The number of likes for this content. Sample values are 10, etc. '''
int32 likes_count = 21;getLikesCount 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setLikesCount(int value)
''' Optional. The number of likes for this content. Sample values are 10, etc. '''
int32 likes_count = 21;value - The likesCount to set.public ByteplusSaasContent.Content.Builder clearLikesCount()
''' Optional. The number of likes for this content. Sample values are 10, etc. '''
int32 likes_count = 21;public int getSharesCount()
''' Optional. The number of shares for this content. Sample values are 50, etc. '''
int32 shares_count = 22;getSharesCount 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setSharesCount(int value)
''' Optional. The number of shares for this content. Sample values are 50, etc. '''
int32 shares_count = 22;value - The sharesCount to set.public ByteplusSaasContent.Content.Builder clearSharesCount()
''' Optional. The number of shares for this content. Sample values are 50, etc. '''
int32 shares_count = 22;public int getSaveCount()
''' Optional. The number of saves for this content. Sample values are 50, etc. '''
int32 save_count = 23;getSaveCount 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setSaveCount(int value)
''' Optional. The number of saves for this content. Sample values are 50, etc. '''
int32 save_count = 23;value - The saveCount to set.public ByteplusSaasContent.Content.Builder clearSaveCount()
''' Optional. The number of saves for this content. Sample values are 50, etc. '''
int32 save_count = 23;public int getCurrentPrice()
''' Required. If this is paid_content, send the current price (after discount) in cents. e.g. $100.12 should be 10012 here. '''
int32 current_price = 24;getCurrentPrice 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setCurrentPrice(int value)
''' Required. If this is paid_content, send the current price (after discount) in cents. e.g. $100.12 should be 10012 here. '''
int32 current_price = 24;value - The currentPrice to set.public ByteplusSaasContent.Content.Builder clearCurrentPrice()
''' Required. If this is paid_content, send the current price (after discount) in cents. e.g. $100.12 should be 10012 here. '''
int32 current_price = 24;public int getOriginalPrice()
''' Optional. If this is paid_content, send the original price (before discount) in cents e.g. $100.12 should be 10012 here. '''
int32 original_price = 25;getOriginalPrice 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setOriginalPrice(int value)
''' Optional. If this is paid_content, send the original price (before discount) in cents e.g. $100.12 should be 10012 here. '''
int32 original_price = 25;value - The originalPrice to set.public ByteplusSaasContent.Content.Builder clearOriginalPrice()
''' Optional. If this is paid_content, send the original price (before discount) in cents e.g. $100.12 should be 10012 here. '''
int32 original_price = 25;public String getAvailableLocation()
''' Optional. Json Array, should serializer to string. The location tags of this content. Sample values are "[\"Cafe 101\"]", etc. '''
string available_location = 26;getAvailableLocation 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getAvailableLocationBytes()
''' Optional. Json Array, should serializer to string. The location tags of this content. Sample values are "[\"Cafe 101\"]", etc. '''
string available_location = 26;getAvailableLocationBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setAvailableLocation(String value)
''' Optional. Json Array, should serializer to string. The location tags of this content. Sample values are "[\"Cafe 101\"]", etc. '''
string available_location = 26;value - The availableLocation to set.public ByteplusSaasContent.Content.Builder clearAvailableLocation()
''' Optional. Json Array, should serializer to string. The location tags of this content. Sample values are "[\"Cafe 101\"]", etc. '''
string available_location = 26;public ByteplusSaasContent.Content.Builder setAvailableLocationBytes(com.google.protobuf.ByteString value)
''' Optional. Json Array, should serializer to string. The location tags of this content. Sample values are "[\"Cafe 101\"]", etc. '''
string available_location = 26;value - The bytes for availableLocation to set.public int getPublishTimestamp()
''' Optional. The timestamp that the content is published. Sample values are 1623193487, etc. '''
int32 publish_timestamp = 27;getPublishTimestamp 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setPublishTimestamp(int value)
''' Optional. The timestamp that the content is published. Sample values are 1623193487, etc. '''
int32 publish_timestamp = 27;value - The publishTimestamp to set.public ByteplusSaasContent.Content.Builder clearPublishTimestamp()
''' Optional. The timestamp that the content is published. Sample values are 1623193487, etc. '''
int32 publish_timestamp = 27;public int getUpdateTimestamp()
''' Optional. The timestamp that the content is updated. Sample values are 1623193487, etc. '''
int32 update_timestamp = 28;getUpdateTimestamp 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setUpdateTimestamp(int value)
''' Optional. The timestamp that the content is updated. Sample values are 1623193487, etc. '''
int32 update_timestamp = 28;value - The updateTimestamp to set.public ByteplusSaasContent.Content.Builder clearUpdateTimestamp()
''' Optional. The timestamp that the content is updated. Sample values are 1623193487, etc. '''
int32 update_timestamp = 28;public int getCopyrightStartTimestamp()
''' Optional. The timestamp when this content can be shown to users. Sample values are 1623193487, etc. '''
int32 copyright_start_timestamp = 29;getCopyrightStartTimestamp 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setCopyrightStartTimestamp(int value)
''' Optional. The timestamp when this content can be shown to users. Sample values are 1623193487, etc. '''
int32 copyright_start_timestamp = 29;value - The copyrightStartTimestamp to set.public ByteplusSaasContent.Content.Builder clearCopyrightStartTimestamp()
''' Optional. The timestamp when this content can be shown to users. Sample values are 1623193487, etc. '''
int32 copyright_start_timestamp = 29;public int getCopyrightEndTimestamp()
''' Optional. The timestamp when this content stop being available to users. Sample values are 1623193487, etc. '''
int32 copyright_end_timestamp = 30;getCopyrightEndTimestamp 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setCopyrightEndTimestamp(int value)
''' Optional. The timestamp when this content stop being available to users. Sample values are 1623193487, etc. '''
int32 copyright_end_timestamp = 30;value - The copyrightEndTimestamp to set.public ByteplusSaasContent.Content.Builder clearCopyrightEndTimestamp()
''' Optional. The timestamp when this content stop being available to users. Sample values are 1623193487, etc. '''
int32 copyright_end_timestamp = 30;public boolean getIsPaidContent()
''' Optional. Whether this content requires payment/subscription to view. '''
bool is_paid_content = 31;getIsPaidContent 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setIsPaidContent(boolean value)
''' Optional. Whether this content requires payment/subscription to view. '''
bool is_paid_content = 31;value - The isPaidContent to set.public ByteplusSaasContent.Content.Builder clearIsPaidContent()
''' Optional. Whether this content requires payment/subscription to view. '''
bool is_paid_content = 31;public String getLanguage()
''' Optional. The languages used in this content. Sample values are "English", "Chinese", etc. '''
string language = 32;getLanguage 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getLanguageBytes()
''' Optional. The languages used in this content. Sample values are "English", "Chinese", etc. '''
string language = 32;getLanguageBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setLanguage(String value)
''' Optional. The languages used in this content. Sample values are "English", "Chinese", etc. '''
string language = 32;value - The language to set.public ByteplusSaasContent.Content.Builder clearLanguage()
''' Optional. The languages used in this content. Sample values are "English", "Chinese", etc. '''
string language = 32;public ByteplusSaasContent.Content.Builder setLanguageBytes(com.google.protobuf.ByteString value)
''' Optional. The languages used in this content. Sample values are "English", "Chinese", etc. '''
string language = 32;value - The bytes for language to set.public String getRelatedContentIds()
''' Optional. Json Array, should serializer to string. If your platform currently provides "Related Content" recommendation, send the list of related content ids here. Sample values are "[\"12345678\",\"12345679\"]", etc. '''
string related_content_ids = 33;getRelatedContentIds 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getRelatedContentIdsBytes()
''' Optional. Json Array, should serializer to string. If your platform currently provides "Related Content" recommendation, send the list of related content ids here. Sample values are "[\"12345678\",\"12345679\"]", etc. '''
string related_content_ids = 33;getRelatedContentIdsBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setRelatedContentIds(String value)
''' Optional. Json Array, should serializer to string. If your platform currently provides "Related Content" recommendation, send the list of related content ids here. Sample values are "[\"12345678\",\"12345679\"]", etc. '''
string related_content_ids = 33;value - The relatedContentIds to set.public ByteplusSaasContent.Content.Builder clearRelatedContentIds()
''' Optional. Json Array, should serializer to string. If your platform currently provides "Related Content" recommendation, send the list of related content ids here. Sample values are "[\"12345678\",\"12345679\"]", etc. '''
string related_content_ids = 33;public ByteplusSaasContent.Content.Builder setRelatedContentIdsBytes(com.google.protobuf.ByteString value)
''' Optional. Json Array, should serializer to string. If your platform currently provides "Related Content" recommendation, send the list of related content ids here. Sample values are "[\"12345678\",\"12345679\"]", etc. '''
string related_content_ids = 33;value - The bytes for relatedContentIds to set.public int getSoldCount()
''' Optional. If this content requires payment, provide the number of purchases. Sample values are 100, etc. '''
int32 sold_count = 34;getSoldCount 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setSoldCount(int value)
''' Optional. If this content requires payment, provide the number of purchases. Sample values are 100, etc. '''
int32 sold_count = 34;value - The soldCount to set.public ByteplusSaasContent.Content.Builder clearSoldCount()
''' Optional. If this content requires payment, provide the number of purchases. Sample values are 100, etc. '''
int32 sold_count = 34;public String getSource()
''' Optional. The source of the content. The accepted values are ["self", "thirdparty", "other"]. '''
string source = 35;getSource 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getSourceBytes()
''' Optional. The source of the content. The accepted values are ["self", "thirdparty", "other"]. '''
string source = 35;getSourceBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setSource(String value)
''' Optional. The source of the content. The accepted values are ["self", "thirdparty", "other"]. '''
string source = 35;value - The source to set.public ByteplusSaasContent.Content.Builder clearSource()
''' Optional. The source of the content. The accepted values are ["self", "thirdparty", "other"]. '''
string source = 35;public ByteplusSaasContent.Content.Builder setSourceBytes(com.google.protobuf.ByteString value)
''' Optional. The source of the content. The accepted values are ["self", "thirdparty", "other"]. '''
string source = 35;value - The bytes for source to set.public int getExtraCount()
ByteplusSaasContent.ContentOrBuilderOptional. This is a catch-all field to pass all the additional information. Please provide as much information as possible.
map<string, string> extra = 100;public boolean containsExtra(String key)
Optional. This is a catch-all field to pass all the additional information. Please provide as much information as possible.
map<string, string> extra = 100;@Deprecated public Map<String,String> getExtra()
getExtraMap() instead.getExtra 在接口中 ByteplusSaasContent.ContentOrBuilderpublic Map<String,String> getExtraMap()
Optional. This is a catch-all field to pass all the additional information. Please provide as much information as possible.
map<string, string> extra = 100;public String getExtraOrDefault(String key, String defaultValue)
Optional. This is a catch-all field to pass all the additional information. Please provide as much information as possible.
map<string, string> extra = 100;public String getExtraOrThrow(String key)
Optional. This is a catch-all field to pass all the additional information. Please provide as much information as possible.
map<string, string> extra = 100;public ByteplusSaasContent.Content.Builder clearExtra()
public ByteplusSaasContent.Content.Builder removeExtra(String key)
Optional. This is a catch-all field to pass all the additional information. Please provide as much information as possible.
map<string, string> extra = 100;@Deprecated public Map<String,String> getMutableExtra()
public ByteplusSaasContent.Content.Builder putExtra(String key, String value)
Optional. This is a catch-all field to pass all the additional information. Please provide as much information as possible.
map<string, string> extra = 100;public ByteplusSaasContent.Content.Builder putAllExtra(Map<String,String> values)
Optional. This is a catch-all field to pass all the additional information. Please provide as much information as possible.
map<string, string> extra = 100;public final ByteplusSaasContent.Content.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.Content.Builder>public final ByteplusSaasContent.Content.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.Content.Builder>Copyright © 2022. All rights reserved.