public static final class ByteplusSaasContent.Content extends com.google.protobuf.GeneratedMessageV3 implements ByteplusSaasContent.ContentOrBuilder
The content proto.Protobuf type
bytedance.byteplus.rec.content.Content| 限定符和类型 | 类和说明 |
|---|---|
static class |
ByteplusSaasContent.Content.Builder
The content proto.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsExtra(String key)
Optional.
|
boolean |
equals(Object obj) |
String |
getAvailableLocation()
'''
Optional.
|
com.google.protobuf.ByteString |
getAvailableLocationBytes()
'''
Optional.
|
String |
getCategories()
'''
Required.
|
com.google.protobuf.ByteString |
getCategoriesBytes()
'''
Required.
|
String |
getCollectionId()
'''
Optional.
|
com.google.protobuf.ByteString |
getCollectionIdBytes()
'''
Optional.
|
int |
getCommentsCount()
'''
Optional.
|
String |
getContentId()
'''
Required.
|
com.google.protobuf.ByteString |
getContentIdBytes()
'''
Required.
|
String |
getContentOwner()
'''
Optional.
|
com.google.protobuf.ByteString |
getContentOwnerBytes()
'''
Optional.
|
int |
getContentOwnerFollowers()
'''
Optional.
|
String |
getContentOwnerName()
'''
Optional.
|
com.google.protobuf.ByteString |
getContentOwnerNameBytes()
'''
Optional.
|
float |
getContentOwnerRating()
'''
Optional.
|
String |
getContentTitle()
'''
Optional.
|
com.google.protobuf.ByteString |
getContentTitleBytes()
'''
Optional.
|
String |
getContentType()
'''
Required.
|
com.google.protobuf.ByteString |
getContentTypeBytes()
'''
Required.
|
int |
getCopyrightEndTimestamp()
'''
Optional.
|
int |
getCopyrightStartTimestamp()
'''
Optional.
|
int |
getCurrentPrice()
'''
Required.
|
static ByteplusSaasContent.Content |
getDefaultInstance() |
ByteplusSaasContent.Content |
getDefaultInstanceForType() |
String |
getDescription()
'''
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
'''
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getDetailPicNum()
'''
Optional.
|
Map<String,String> |
getExtra()
已过时。
|
int |
getExtraCount()
Optional.
|
Map<String,String> |
getExtraMap()
Optional.
|
String |
getExtraOrDefault(String key,
String defaultValue)
Optional.
|
String |
getExtraOrThrow(String key)
Optional.
|
String |
getImageUrls()
'''
Optional.
|
com.google.protobuf.ByteString |
getImageUrlsBytes()
'''
Optional.
|
boolean |
getIsPaidContent()
'''
Optional.
|
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.
|
String |
getLanguage()
'''
Optional.
|
com.google.protobuf.ByteString |
getLanguageBytes()
'''
Optional.
|
int |
getLikesCount()
'''
Optional.
|
int |
getOriginalPrice()
'''
Optional.
|
com.google.protobuf.Parser<ByteplusSaasContent.Content> |
getParserForType() |
int |
getPublishTimestamp()
'''
Optional.
|
String |
getRelatedContentIds()
'''
Optional.
|
com.google.protobuf.ByteString |
getRelatedContentIdsBytes()
'''
Optional.
|
int |
getSaveCount()
'''
Optional.
|
int |
getSerializedSize() |
int |
getSharesCount()
'''
Optional.
|
int |
getSoldCount()
'''
Optional.
|
String |
getSource()
'''
Optional.
|
com.google.protobuf.ByteString |
getSourceBytes()
'''
Optional.
|
String |
getTags()
'''
Optional.
|
com.google.protobuf.ByteString |
getTagsBytes()
'''
Optional.
|
String |
getTopicTags()
'''
Optional.
|
com.google.protobuf.ByteString |
getTopicTagsBytes()
'''
Optional.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getUpdateTimestamp()
'''
Optional.
|
float |
getUserRating()
'''
Optional.
|
int |
getVideoDuration()
'''
Based content_type.
|
String |
getVideoUrls()
'''
Optional.
|
com.google.protobuf.ByteString |
getVideoUrlsBytes()
'''
Optional.
|
int |
getViewsCount()
'''
Optional.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static ByteplusSaasContent.Content.Builder |
newBuilder() |
static ByteplusSaasContent.Content.Builder |
newBuilder(ByteplusSaasContent.Content prototype) |
ByteplusSaasContent.Content.Builder |
newBuilderForType() |
protected ByteplusSaasContent.Content.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ByteplusSaasContent.Content |
parseDelimitedFrom(InputStream input) |
static ByteplusSaasContent.Content |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ByteplusSaasContent.Content |
parseFrom(byte[] data) |
static ByteplusSaasContent.Content |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ByteplusSaasContent.Content |
parseFrom(ByteBuffer data) |
static ByteplusSaasContent.Content |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ByteplusSaasContent.Content |
parseFrom(com.google.protobuf.ByteString data) |
static ByteplusSaasContent.Content |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ByteplusSaasContent.Content |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ByteplusSaasContent.Content |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ByteplusSaasContent.Content |
parseFrom(InputStream input) |
static ByteplusSaasContent.Content |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ByteplusSaasContent.Content> |
parser() |
ByteplusSaasContent.Content.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CONTENT_ID_FIELD_NUMBER
public static final int IS_RECOMMENDABLE_FIELD_NUMBER
public static final int CATEGORIES_FIELD_NUMBER
public static final int CONTENT_TYPE_FIELD_NUMBER
public static final int VIDEO_DURATION_FIELD_NUMBER
public static final int CONTENT_TITLE_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int CONTENT_OWNER_FIELD_NUMBER
public static final int CONTENT_OWNER_FOLLOWERS_FIELD_NUMBER
public static final int CONTENT_OWNER_RATING_FIELD_NUMBER
public static final int CONTENT_OWNER_NAME_FIELD_NUMBER
public static final int COLLECTION_ID_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
public static final int TOPIC_TAGS_FIELD_NUMBER
public static final int IMAGE_URLS_FIELD_NUMBER
public static final int DETAIL_PIC_NUM_FIELD_NUMBER
public static final int VIDEO_URLS_FIELD_NUMBER
public static final int USER_RATING_FIELD_NUMBER
public static final int VIEWS_COUNT_FIELD_NUMBER
public static final int COMMENTS_COUNT_FIELD_NUMBER
public static final int LIKES_COUNT_FIELD_NUMBER
public static final int SHARES_COUNT_FIELD_NUMBER
public static final int SAVE_COUNT_FIELD_NUMBER
public static final int CURRENT_PRICE_FIELD_NUMBER
public static final int ORIGINAL_PRICE_FIELD_NUMBER
public static final int AVAILABLE_LOCATION_FIELD_NUMBER
public static final int PUBLISH_TIMESTAMP_FIELD_NUMBER
public static final int UPDATE_TIMESTAMP_FIELD_NUMBER
public static final int COPYRIGHT_START_TIMESTAMP_FIELD_NUMBER
public static final int COPYRIGHT_END_TIMESTAMP_FIELD_NUMBER
public static final int IS_PAID_CONTENT_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
public static final int RELATED_CONTENT_IDS_FIELD_NUMBER
public static final int SOLD_COUNT_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
public static final int EXTRA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 int getViewsCount()
''' Optional. The number of views for this content. Sample values are 10000, etc. '''
int32 views_count = 19;getViewsCount 在接口中 ByteplusSaasContent.ContentOrBuilderpublic int getCommentsCount()
''' Optional. The number of comments for this content. Sample values are 100, etc. '''
int32 comments_count = 20;getCommentsCount 在接口中 ByteplusSaasContent.ContentOrBuilderpublic int getLikesCount()
''' Optional. The number of likes for this content. Sample values are 10, etc. '''
int32 likes_count = 21;getLikesCount 在接口中 ByteplusSaasContent.ContentOrBuilderpublic int getSharesCount()
''' Optional. The number of shares for this content. Sample values are 50, etc. '''
int32 shares_count = 22;getSharesCount 在接口中 ByteplusSaasContent.ContentOrBuilderpublic int getSaveCount()
''' Optional. The number of saves for this content. Sample values are 50, etc. '''
int32 save_count = 23;getSaveCount 在接口中 ByteplusSaasContent.ContentOrBuilderpublic 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 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 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 int getPublishTimestamp()
''' Optional. The timestamp that the content is published. Sample values are 1623193487, etc. '''
int32 publish_timestamp = 27;getPublishTimestamp 在接口中 ByteplusSaasContent.ContentOrBuilderpublic int getUpdateTimestamp()
''' Optional. The timestamp that the content is updated. Sample values are 1623193487, etc. '''
int32 update_timestamp = 28;getUpdateTimestamp 在接口中 ByteplusSaasContent.ContentOrBuilderpublic 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 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 boolean getIsPaidContent()
''' Optional. Whether this content requires payment/subscription to view. '''
bool is_paid_content = 31;getIsPaidContent 在接口中 ByteplusSaasContent.ContentOrBuilderpublic 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 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 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 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 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 final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static ByteplusSaasContent.Content parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasContent.Content parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasContent.Content parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasContent.Content parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasContent.Content parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasContent.Content parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasContent.Content parseFrom(InputStream input) throws IOException
IOExceptionpublic static ByteplusSaasContent.Content parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ByteplusSaasContent.Content parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ByteplusSaasContent.Content parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ByteplusSaasContent.Content parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ByteplusSaasContent.Content parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ByteplusSaasContent.Content.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static ByteplusSaasContent.Content.Builder newBuilder()
public static ByteplusSaasContent.Content.Builder newBuilder(ByteplusSaasContent.Content prototype)
public ByteplusSaasContent.Content.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected ByteplusSaasContent.Content.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static ByteplusSaasContent.Content getDefaultInstance()
public static com.google.protobuf.Parser<ByteplusSaasContent.Content> parser()
public com.google.protobuf.Parser<ByteplusSaasContent.Content> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public ByteplusSaasContent.Content getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2022. All rights reserved.