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.
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.
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.
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.
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.
string content_id = 1;value - The bytes for contentId to set.public String getContentType()
Optional. The type of the content. .
string content_type = 2;getContentType 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getContentTypeBytes()
Optional. The type of the content. .
string content_type = 2;getContentTypeBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setContentType(String value)
Optional. The type of the content. .
string content_type = 2;value - The contentType to set.public ByteplusSaasContent.Content.Builder clearContentType()
Optional. The type of the content. .
string content_type = 2;public ByteplusSaasContent.Content.Builder setContentTypeBytes(com.google.protobuf.ByteString value)
Optional. The type of the content. .
string content_type = 2;value - The bytes for contentType to set.public int getIsRecommendable()
Optional. 1 if the content is recommendable (i.e. to return the content in the recommendation result). Note: Even if a content isn't recommendable, please include it still. the is because that users might have interacted with such content in the past, hence providing insights into behavioural propensities.
int32 is_recommendable = 3;getIsRecommendable 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setIsRecommendable(int value)
Optional. 1 if the content is recommendable (i.e. to return the content in the recommendation result). Note: Even if a content isn't recommendable, please include it still. the is because that users might have interacted with such content in the past, hence providing insights into behavioural propensities.
int32 is_recommendable = 3;value - The isRecommendable to set.public ByteplusSaasContent.Content.Builder clearIsRecommendable()
Optional. 1 if the content is recommendable (i.e. to return the content in the recommendation result). Note: Even if a content isn't recommendable, please include it still. the is because that users might have interacted with such content in the past, hence providing insights into behavioural propensities.
int32 is_recommendable = 3;public String getLanguage()
Optional. The languages used in the content.
string language = 4;getLanguage 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getLanguageBytes()
Optional. The languages used in the content.
string language = 4;getLanguageBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setLanguage(String value)
Optional. The languages used in the content.
string language = 4;value - The language to set.public ByteplusSaasContent.Content.Builder clearLanguage()
Optional. The languages used in the content.
string language = 4;public ByteplusSaasContent.Content.Builder setLanguageBytes(com.google.protobuf.ByteString value)
Optional. The languages used in the content.
string language = 4;value - The bytes for language to set.public String getContentTitle()
Optional. The title of the content.
string content_title = 5;getContentTitle 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getContentTitleBytes()
Optional. The title of the content.
string content_title = 5;getContentTitleBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setContentTitle(String value)
Optional. The title of the content.
string content_title = 5;value - The contentTitle to set.public ByteplusSaasContent.Content.Builder clearContentTitle()
Optional. The title of the content.
string content_title = 5;public ByteplusSaasContent.Content.Builder setContentTitleBytes(com.google.protobuf.ByteString value)
Optional. The title of the content.
string content_title = 5;value - The bytes for contentTitle to set.public String getCategories()
Optional.
The (sub)categories the content fall under. Format requirements:
1. JSON serialised string.
2. Depth starts from 1, in consecutive postive integers.
3. "Category_nodes" should not contain empty value. If empty value exists, replace with "null" .
4. Only one "id_or_name" key-value pair is allowed under each "category_nodes".
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 = 6;getCategories 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getCategoriesBytes()
Optional.
The (sub)categories the content fall under. Format requirements:
1. JSON serialised string.
2. Depth starts from 1, in consecutive postive integers.
3. "Category_nodes" should not contain empty value. If empty value exists, replace with "null" .
4. Only one "id_or_name" key-value pair is allowed under each "category_nodes".
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 = 6;getCategoriesBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setCategories(String value)
Optional.
The (sub)categories the content fall under. Format requirements:
1. JSON serialised string.
2. Depth starts from 1, in consecutive postive integers.
3. "Category_nodes" should not contain empty value. If empty value exists, replace with "null" .
4. Only one "id_or_name" key-value pair is allowed under each "category_nodes".
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 = 6;value - The categories to set.public ByteplusSaasContent.Content.Builder clearCategories()
Optional.
The (sub)categories the content fall under. Format requirements:
1. JSON serialised string.
2. Depth starts from 1, in consecutive postive integers.
3. "Category_nodes" should not contain empty value. If empty value exists, replace with "null" .
4. Only one "id_or_name" key-value pair is allowed under each "category_nodes".
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 = 6;public ByteplusSaasContent.Content.Builder setCategoriesBytes(com.google.protobuf.ByteString value)
Optional.
The (sub)categories the content fall under. Format requirements:
1. JSON serialised string.
2. Depth starts from 1, in consecutive postive integers.
3. "Category_nodes" should not contain empty value. If empty value exists, replace with "null" .
4. Only one "id_or_name" key-value pair is allowed under each "category_nodes".
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 = 6;value - The bytes for categories to set.public String getTags()
Optional. The (internal) label of the content. Format into JSON serialized string. Sample values are "[\"New\", \"Trending\"]", etc.
string tags = 7;getTags 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getTagsBytes()
Optional. The (internal) label of the content. Format into JSON serialized string. Sample values are "[\"New\", \"Trending\"]", etc.
string tags = 7;getTagsBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setTags(String value)
Optional. The (internal) label of the content. Format into JSON serialized string. Sample values are "[\"New\", \"Trending\"]", etc.
string tags = 7;value - The tags to set.public ByteplusSaasContent.Content.Builder clearTags()
Optional. The (internal) label of the content. Format into JSON serialized string. Sample values are "[\"New\", \"Trending\"]", etc.
string tags = 7;public ByteplusSaasContent.Content.Builder setTagsBytes(com.google.protobuf.ByteString value)
Optional. The (internal) label of the content. Format into JSON serialized string. Sample values are "[\"New\", \"Trending\"]", etc.
string tags = 7;value - The bytes for tags to set.public String getCollectionId()
Optional. The ID of the colllection, if any, to which the content belongs.
string collection_id = 8;getCollectionId 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getCollectionIdBytes()
Optional. The ID of the colllection, if any, to which the content belongs.
string collection_id = 8;getCollectionIdBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setCollectionId(String value)
Optional. The ID of the colllection, if any, to which the content belongs.
string collection_id = 8;value - The collectionId to set.public ByteplusSaasContent.Content.Builder clearCollectionId()
Optional. The ID of the colllection, if any, to which the content belongs.
string collection_id = 8;public ByteplusSaasContent.Content.Builder setCollectionIdBytes(com.google.protobuf.ByteString value)
Optional. The ID of the colllection, if any, to which the content belongs.
string collection_id = 8;value - The bytes for collectionId to set.public long getPublishTimestamp()
Optional. The timestamp when the content was published.
int64 publish_timestamp = 9;getPublishTimestamp 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setPublishTimestamp(long value)
Optional. The timestamp when the content was published.
int64 publish_timestamp = 9;value - The publishTimestamp to set.public ByteplusSaasContent.Content.Builder clearPublishTimestamp()
Optional. The timestamp when the content was published.
int64 publish_timestamp = 9;public String getContentOwnerId()
Optional. The user_id of the content creator.
string content_owner_id = 10;getContentOwnerId 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getContentOwnerIdBytes()
Optional. The user_id of the content creator.
string content_owner_id = 10;getContentOwnerIdBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setContentOwnerId(String value)
Optional. The user_id of the content creator.
string content_owner_id = 10;value - The contentOwnerId to set.public ByteplusSaasContent.Content.Builder clearContentOwnerId()
Optional. The user_id of the content creator.
string content_owner_id = 10;public ByteplusSaasContent.Content.Builder setContentOwnerIdBytes(com.google.protobuf.ByteString value)
Optional. The user_id of the content creator.
string content_owner_id = 10;value - The bytes for contentOwnerId to set.public int getVideoDuration()
Optional. The length of the video in milliseconds.
int32 video_duration = 11;getVideoDuration 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setVideoDuration(int value)
Optional. The length of the video in milliseconds.
int32 video_duration = 11;value - The videoDuration to set.public ByteplusSaasContent.Content.Builder clearVideoDuration()
Optional. The length of the video in milliseconds.
int32 video_duration = 11;public String getDescription()
Optional. The detailed description of the content.
string description = 12;getDescription 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. The detailed description of the content.
string description = 12;getDescriptionBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setDescription(String value)
Optional. The detailed description of the content.
string description = 12;value - The description to set.public ByteplusSaasContent.Content.Builder clearDescription()
Optional. The detailed description of the content.
string description = 12;public ByteplusSaasContent.Content.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. The detailed description of the content.
string description = 12;value - The bytes for description to set.public String getLinkedProductId()
Optional. The product_id of the goods sold via the content.
string linked_product_id = 13;getLinkedProductId 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getLinkedProductIdBytes()
Optional. The product_id of the goods sold via the content.
string linked_product_id = 13;getLinkedProductIdBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setLinkedProductId(String value)
Optional. The product_id of the goods sold via the content.
string linked_product_id = 13;value - The linkedProductId to set.public ByteplusSaasContent.Content.Builder clearLinkedProductId()
Optional. The product_id of the goods sold via the content.
string linked_product_id = 13;public ByteplusSaasContent.Content.Builder setLinkedProductIdBytes(com.google.protobuf.ByteString value)
Optional. The product_id of the goods sold via the content.
string linked_product_id = 13;value - The bytes for linkedProductId to set.public String getVideoUrls()
Optional. The URL of the video. Format into JSON serialized string.
string video_urls = 14;getVideoUrls 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getVideoUrlsBytes()
Optional. The URL of the video. Format into JSON serialized string.
string video_urls = 14;getVideoUrlsBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setVideoUrls(String value)
Optional. The URL of the video. Format into JSON serialized string.
string video_urls = 14;value - The videoUrls to set.public ByteplusSaasContent.Content.Builder clearVideoUrls()
Optional. The URL of the video. Format into JSON serialized string.
string video_urls = 14;public ByteplusSaasContent.Content.Builder setVideoUrlsBytes(com.google.protobuf.ByteString value)
Optional. The URL of the video. Format into JSON serialized string.
string video_urls = 14;value - The bytes for videoUrls to set.public String getImageUrls()
Optional. The URL of the image (e.g. thumbnail). Format into JSON serialized string.
string image_urls = 15;getImageUrls 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getImageUrlsBytes()
Optional. The URL of the image (e.g. thumbnail). Format into JSON serialized string.
string image_urls = 15;getImageUrlsBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setImageUrls(String value)
Optional. The URL of the image (e.g. thumbnail). Format into JSON serialized string.
string image_urls = 15;value - The imageUrls to set.public ByteplusSaasContent.Content.Builder clearImageUrls()
Optional. The URL of the image (e.g. thumbnail). Format into JSON serialized string.
string image_urls = 15;public ByteplusSaasContent.Content.Builder setImageUrlsBytes(com.google.protobuf.ByteString value)
Optional. The URL of the image (e.g. thumbnail). Format into JSON serialized string.
string image_urls = 15;value - The bytes for imageUrls to set.public float getUserRating()
Optional. The rating of the content. Non-negative value.
float user_rating = 16;getUserRating 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setUserRating(float value)
Optional. The rating of the content. Non-negative value.
float user_rating = 16;value - The userRating to set.public ByteplusSaasContent.Content.Builder clearUserRating()
Optional. The rating of the content. Non-negative value.
float user_rating = 16;public boolean getIsPaidContent()
Optional. True if the content requires payment/subscription to view
bool is_paid_content = 17;getIsPaidContent 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setIsPaidContent(boolean value)
Optional. True if the content requires payment/subscription to view
bool is_paid_content = 17;value - The isPaidContent to set.public ByteplusSaasContent.Content.Builder clearIsPaidContent()
Optional. True if the content requires payment/subscription to view
bool is_paid_content = 17;public String getSource()
Optional. The source of the content. For example, "self", "thirdparty", "other".
string source = 18;getSource 在接口中 ByteplusSaasContent.ContentOrBuilderpublic com.google.protobuf.ByteString getSourceBytes()
Optional. The source of the content. For example, "self", "thirdparty", "other".
string source = 18;getSourceBytes 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setSource(String value)
Optional. The source of the content. For example, "self", "thirdparty", "other".
string source = 18;value - The source to set.public ByteplusSaasContent.Content.Builder clearSource()
Optional. The source of the content. For example, "self", "thirdparty", "other".
string source = 18;public ByteplusSaasContent.Content.Builder setSourceBytes(com.google.protobuf.ByteString value)
Optional. The source of the content. For example, "self", "thirdparty", "other".
string source = 18;value - The bytes for source to set.public float getCurrentPrice()
Optional. The price (after discount) of the content in cents if it is paid content.
float current_price = 19;getCurrentPrice 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setCurrentPrice(float value)
Optional. The price (after discount) of the content in cents if it is paid content.
float current_price = 19;value - The currentPrice to set.public ByteplusSaasContent.Content.Builder clearCurrentPrice()
Optional. The price (after discount) of the content in cents if it is paid content.
float current_price = 19;public float getOriginalPrice()
Optional. The price (before discount) of the content in cents if it is paid content.
float original_price = 20;getOriginalPrice 在接口中 ByteplusSaasContent.ContentOrBuilderpublic ByteplusSaasContent.Content.Builder setOriginalPrice(float value)
Optional. The price (before discount) of the content in cents if it is paid content.
float original_price = 20;value - The originalPrice to set.public ByteplusSaasContent.Content.Builder clearOriginalPrice()
Optional. The price (before discount) of the content in cents if it is paid content.
float original_price = 20;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 © 2024. All rights reserved.