public static final class ByteplusSaasRetail.WriteDataRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.WriteDataRequest.Builder> implements ByteplusSaasRetail.WriteDataRequestOrBuilder
general write request,supported import realtime dataProtobuf type
bytedance.byteplus.rec.retail.WriteDataRequest| 限定符和类型 | 方法和说明 |
|---|---|
ByteplusSaasRetail.WriteDataRequest.Builder |
addAllData(Iterable<String> values)
Required
Array of json strings.
|
ByteplusSaasRetail.WriteDataRequest.Builder |
addData(String value)
Required
Array of json strings.
|
ByteplusSaasRetail.WriteDataRequest.Builder |
addDataBytes(com.google.protobuf.ByteString value)
Required
Array of json strings.
|
ByteplusSaasRetail.WriteDataRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ByteplusSaasRetail.WriteDataRequest |
build() |
ByteplusSaasRetail.WriteDataRequest |
buildPartial() |
ByteplusSaasRetail.WriteDataRequest.Builder |
clear() |
ByteplusSaasRetail.WriteDataRequest.Builder |
clearData()
Required
Array of json strings.
|
ByteplusSaasRetail.WriteDataRequest.Builder |
clearExtra() |
ByteplusSaasRetail.WriteDataRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ByteplusSaasRetail.WriteDataRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ByteplusSaasRetail.WriteDataRequest.Builder |
clearProjectId()
Required
Id of the recommendation project.
|
ByteplusSaasRetail.WriteDataRequest.Builder |
clearStage()
Required
The stage of importing data,Corresponding to the three synchronization stages of the recommendation platform
Possible type values:
"trial":Test data/pre-synchronization stage
"historical":Historical data synchronization stage
"incremental":Incremental real-time data synchronization stage
string stage = 2; |
ByteplusSaasRetail.WriteDataRequest.Builder |
clearTopic()
Optional.
|
ByteplusSaasRetail.WriteDataRequest.Builder |
clone() |
boolean |
containsExtra(String key)
Optional.
|
String |
getData(int index)
Required
Array of json strings.
|
com.google.protobuf.ByteString |
getDataBytes(int index)
Required
Array of json strings.
|
int |
getDataCount()
Required
Array of json strings.
|
com.google.protobuf.ProtocolStringList |
getDataList()
Required
Array of json strings.
|
ByteplusSaasRetail.WriteDataRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getExtra()
已过时。
|
int |
getExtraCount()
Optional.
|
Map<String,String> |
getExtraMap()
Optional.
|
String |
getExtraOrDefault(String key,
String defaultValue)
Optional.
|
String |
getExtraOrThrow(String key)
Optional.
|
Map<String,String> |
getMutableExtra()
已过时。
|
String |
getProjectId()
Required
Id of the recommendation project.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Required
Id of the recommendation project.
|
String |
getStage()
Required
The stage of importing data,Corresponding to the three synchronization stages of the recommendation platform
Possible type values:
"trial":Test data/pre-synchronization stage
"historical":Historical data synchronization stage
"incremental":Incremental real-time data synchronization stage
string stage = 2; |
com.google.protobuf.ByteString |
getStageBytes()
Required
The stage of importing data,Corresponding to the three synchronization stages of the recommendation platform
Possible type values:
"trial":Test data/pre-synchronization stage
"historical":Historical data synchronization stage
"incremental":Incremental real-time data synchronization stage
string stage = 2; |
String |
getTopic()
Optional.
|
com.google.protobuf.ByteString |
getTopicBytes()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
ByteplusSaasRetail.WriteDataRequest.Builder |
mergeFrom(ByteplusSaasRetail.WriteDataRequest other) |
ByteplusSaasRetail.WriteDataRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ByteplusSaasRetail.WriteDataRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ByteplusSaasRetail.WriteDataRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ByteplusSaasRetail.WriteDataRequest.Builder |
putAllExtra(Map<String,String> values)
Optional.
|
ByteplusSaasRetail.WriteDataRequest.Builder |
putExtra(String key,
String value)
Optional.
|
ByteplusSaasRetail.WriteDataRequest.Builder |
removeExtra(String key)
Optional.
|
ByteplusSaasRetail.WriteDataRequest.Builder |
setData(int index,
String value)
Required
Array of json strings.
|
ByteplusSaasRetail.WriteDataRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ByteplusSaasRetail.WriteDataRequest.Builder |
setProjectId(String value)
Required
Id of the recommendation project.
|
ByteplusSaasRetail.WriteDataRequest.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
Required
Id of the recommendation project.
|
ByteplusSaasRetail.WriteDataRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ByteplusSaasRetail.WriteDataRequest.Builder |
setStage(String value)
Required
The stage of importing data,Corresponding to the three synchronization stages of the recommendation platform
Possible type values:
"trial":Test data/pre-synchronization stage
"historical":Historical data synchronization stage
"incremental":Incremental real-time data synchronization stage
string stage = 2; |
ByteplusSaasRetail.WriteDataRequest.Builder |
setStageBytes(com.google.protobuf.ByteString value)
Required
The stage of importing data,Corresponding to the three synchronization stages of the recommendation platform
Possible type values:
"trial":Test data/pre-synchronization stage
"historical":Historical data synchronization stage
"incremental":Incremental real-time data synchronization stage
string stage = 2; |
ByteplusSaasRetail.WriteDataRequest.Builder |
setTopic(String value)
Optional.
|
ByteplusSaasRetail.WriteDataRequest.Builder |
setTopicBytes(com.google.protobuf.ByteString value)
Optional.
|
ByteplusSaasRetail.WriteDataRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, 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<ByteplusSaasRetail.WriteDataRequest.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.WriteDataRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.WriteDataRequest.Builder>public ByteplusSaasRetail.WriteDataRequest.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.WriteDataRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.WriteDataRequest.Builder>public ByteplusSaasRetail.WriteDataRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic ByteplusSaasRetail.WriteDataRequest build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic ByteplusSaasRetail.WriteDataRequest buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic ByteplusSaasRetail.WriteDataRequest.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.WriteDataRequest.Builder>public ByteplusSaasRetail.WriteDataRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.WriteDataRequest.Builder>public ByteplusSaasRetail.WriteDataRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.WriteDataRequest.Builder>public ByteplusSaasRetail.WriteDataRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.WriteDataRequest.Builder>public ByteplusSaasRetail.WriteDataRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.WriteDataRequest.Builder>public ByteplusSaasRetail.WriteDataRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.WriteDataRequest.Builder>public ByteplusSaasRetail.WriteDataRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<ByteplusSaasRetail.WriteDataRequest.Builder>public ByteplusSaasRetail.WriteDataRequest.Builder mergeFrom(ByteplusSaasRetail.WriteDataRequest other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.WriteDataRequest.Builder>public ByteplusSaasRetail.WriteDataRequest.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<ByteplusSaasRetail.WriteDataRequest.Builder>IOExceptionpublic String getProjectId()
Required Id of the recommendation project.
string project_id = 1;getProjectId 在接口中 ByteplusSaasRetail.WriteDataRequestOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
Required Id of the recommendation project.
string project_id = 1;getProjectIdBytes 在接口中 ByteplusSaasRetail.WriteDataRequestOrBuilderpublic ByteplusSaasRetail.WriteDataRequest.Builder setProjectId(String value)
Required Id of the recommendation project.
string project_id = 1;value - The projectId to set.public ByteplusSaasRetail.WriteDataRequest.Builder clearProjectId()
Required Id of the recommendation project.
string project_id = 1;public ByteplusSaasRetail.WriteDataRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
Required Id of the recommendation project.
string project_id = 1;value - The bytes for projectId to set.public String getStage()
Required The stage of importing data,Corresponding to the three synchronization stages of the recommendation platform Possible type values: "trial":Test data/pre-synchronization stage "historical":Historical data synchronization stage "incremental":Incremental real-time data synchronization stage
string stage = 2;getStage 在接口中 ByteplusSaasRetail.WriteDataRequestOrBuilderpublic com.google.protobuf.ByteString getStageBytes()
Required The stage of importing data,Corresponding to the three synchronization stages of the recommendation platform Possible type values: "trial":Test data/pre-synchronization stage "historical":Historical data synchronization stage "incremental":Incremental real-time data synchronization stage
string stage = 2;getStageBytes 在接口中 ByteplusSaasRetail.WriteDataRequestOrBuilderpublic ByteplusSaasRetail.WriteDataRequest.Builder setStage(String value)
Required The stage of importing data,Corresponding to the three synchronization stages of the recommendation platform Possible type values: "trial":Test data/pre-synchronization stage "historical":Historical data synchronization stage "incremental":Incremental real-time data synchronization stage
string stage = 2;value - The stage to set.public ByteplusSaasRetail.WriteDataRequest.Builder clearStage()
Required The stage of importing data,Corresponding to the three synchronization stages of the recommendation platform Possible type values: "trial":Test data/pre-synchronization stage "historical":Historical data synchronization stage "incremental":Incremental real-time data synchronization stage
string stage = 2;public ByteplusSaasRetail.WriteDataRequest.Builder setStageBytes(com.google.protobuf.ByteString value)
Required The stage of importing data,Corresponding to the three synchronization stages of the recommendation platform Possible type values: "trial":Test data/pre-synchronization stage "historical":Historical data synchronization stage "incremental":Incremental real-time data synchronization stage
string stage = 2;value - The bytes for stage to set.public String getTopic()
Optional. topic is datatype, which specify the type of data users are going to write. in WriteOthers, topic should not be missing in request, In other cases, the topic can be omitted. The acceptable values are "user", "goods", "behavior", and "others" user: user data goods: product data behavior: user event data others: It is temporarily set to "others", the specific value depends on your need.
string topic = 3;getTopic 在接口中 ByteplusSaasRetail.WriteDataRequestOrBuilderpublic com.google.protobuf.ByteString getTopicBytes()
Optional. topic is datatype, which specify the type of data users are going to write. in WriteOthers, topic should not be missing in request, In other cases, the topic can be omitted. The acceptable values are "user", "goods", "behavior", and "others" user: user data goods: product data behavior: user event data others: It is temporarily set to "others", the specific value depends on your need.
string topic = 3;getTopicBytes 在接口中 ByteplusSaasRetail.WriteDataRequestOrBuilderpublic ByteplusSaasRetail.WriteDataRequest.Builder setTopic(String value)
Optional. topic is datatype, which specify the type of data users are going to write. in WriteOthers, topic should not be missing in request, In other cases, the topic can be omitted. The acceptable values are "user", "goods", "behavior", and "others" user: user data goods: product data behavior: user event data others: It is temporarily set to "others", the specific value depends on your need.
string topic = 3;value - The topic to set.public ByteplusSaasRetail.WriteDataRequest.Builder clearTopic()
Optional. topic is datatype, which specify the type of data users are going to write. in WriteOthers, topic should not be missing in request, In other cases, the topic can be omitted. The acceptable values are "user", "goods", "behavior", and "others" user: user data goods: product data behavior: user event data others: It is temporarily set to "others", the specific value depends on your need.
string topic = 3;public ByteplusSaasRetail.WriteDataRequest.Builder setTopicBytes(com.google.protobuf.ByteString value)
Optional. topic is datatype, which specify the type of data users are going to write. in WriteOthers, topic should not be missing in request, In other cases, the topic can be omitted. The acceptable values are "user", "goods", "behavior", and "others" user: user data goods: product data behavior: user event data others: It is temporarily set to "others", the specific value depends on your need.
string topic = 3;value - The bytes for topic to set.public com.google.protobuf.ProtocolStringList getDataList()
Required Array of json strings. The array size is max to 2000. Each element of the array is a json serialized string of customer data.
repeated string data = 10;getDataList 在接口中 ByteplusSaasRetail.WriteDataRequestOrBuilderpublic int getDataCount()
Required Array of json strings. The array size is max to 2000. Each element of the array is a json serialized string of customer data.
repeated string data = 10;getDataCount 在接口中 ByteplusSaasRetail.WriteDataRequestOrBuilderpublic String getData(int index)
Required Array of json strings. The array size is max to 2000. Each element of the array is a json serialized string of customer data.
repeated string data = 10;getData 在接口中 ByteplusSaasRetail.WriteDataRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getDataBytes(int index)
Required Array of json strings. The array size is max to 2000. Each element of the array is a json serialized string of customer data.
repeated string data = 10;getDataBytes 在接口中 ByteplusSaasRetail.WriteDataRequestOrBuilderindex - The index of the value to return.public ByteplusSaasRetail.WriteDataRequest.Builder setData(int index, String value)
Required Array of json strings. The array size is max to 2000. Each element of the array is a json serialized string of customer data.
repeated string data = 10;index - The index to set the value at.value - The data to set.public ByteplusSaasRetail.WriteDataRequest.Builder addData(String value)
Required Array of json strings. The array size is max to 2000. Each element of the array is a json serialized string of customer data.
repeated string data = 10;value - The data to add.public ByteplusSaasRetail.WriteDataRequest.Builder addAllData(Iterable<String> values)
Required Array of json strings. The array size is max to 2000. Each element of the array is a json serialized string of customer data.
repeated string data = 10;values - The data to add.public ByteplusSaasRetail.WriteDataRequest.Builder clearData()
Required Array of json strings. The array size is max to 2000. Each element of the array is a json serialized string of customer data.
repeated string data = 10;public ByteplusSaasRetail.WriteDataRequest.Builder addDataBytes(com.google.protobuf.ByteString value)
Required Array of json strings. The array size is max to 2000. Each element of the array is a json serialized string of customer data.
repeated string data = 10;value - The bytes of the data to add.public int getExtraCount()
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 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.public 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 ByteplusSaasRetail.WriteDataRequest.Builder clearExtra()
public ByteplusSaasRetail.WriteDataRequest.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 ByteplusSaasRetail.WriteDataRequest.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 ByteplusSaasRetail.WriteDataRequest.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 ByteplusSaasRetail.WriteDataRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.WriteDataRequest.Builder>public final ByteplusSaasRetail.WriteDataRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.WriteDataRequest.Builder>Copyright © 2022. All rights reserved.