public static final class ByteplusSaasContent.PredictResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.PredictResponse.Builder> implements ByteplusSaasContent.PredictResponseOrBuilder
The response proto the predict call.Protobuf type
bytedance.byteplus.rec.content.PredictResponsegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.PredictResponse.Builder>public ByteplusSaasContent.PredictResponse.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.PredictResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.PredictResponse.Builder>public ByteplusSaasContent.PredictResponse getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic ByteplusSaasContent.PredictResponse build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic ByteplusSaasContent.PredictResponse buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic ByteplusSaasContent.PredictResponse.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.PredictResponse.Builder>public ByteplusSaasContent.PredictResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.PredictResponse.Builder>public ByteplusSaasContent.PredictResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.PredictResponse.Builder>public ByteplusSaasContent.PredictResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.PredictResponse.Builder>public ByteplusSaasContent.PredictResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.PredictResponse.Builder>public ByteplusSaasContent.PredictResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.PredictResponse.Builder>public ByteplusSaasContent.PredictResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<ByteplusSaasContent.PredictResponse.Builder>public ByteplusSaasContent.PredictResponse.Builder mergeFrom(ByteplusSaasContent.PredictResponse other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.PredictResponse.Builder>public ByteplusSaasContent.PredictResponse.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.PredictResponse.Builder>IOExceptionpublic boolean hasStatus()
Output only. The status of the call.
.bytedance.byteplus.rec.content.Status status = 1;hasStatus 在接口中 ByteplusSaasContent.PredictResponseOrBuilderpublic ByteplusSaasContent.Status getStatus()
Output only. The status of the call.
.bytedance.byteplus.rec.content.Status status = 1;getStatus 在接口中 ByteplusSaasContent.PredictResponseOrBuilderpublic ByteplusSaasContent.PredictResponse.Builder setStatus(ByteplusSaasContent.Status value)
Output only. The status of the call.
.bytedance.byteplus.rec.content.Status status = 1;public ByteplusSaasContent.PredictResponse.Builder setStatus(ByteplusSaasContent.Status.Builder builderForValue)
Output only. The status of the call.
.bytedance.byteplus.rec.content.Status status = 1;public ByteplusSaasContent.PredictResponse.Builder mergeStatus(ByteplusSaasContent.Status value)
Output only. The status of the call.
.bytedance.byteplus.rec.content.Status status = 1;public ByteplusSaasContent.PredictResponse.Builder clearStatus()
Output only. The status of the call.
.bytedance.byteplus.rec.content.Status status = 1;public ByteplusSaasContent.Status.Builder getStatusBuilder()
Output only. The status of the call.
.bytedance.byteplus.rec.content.Status status = 1;public ByteplusSaasContent.StatusOrBuilder getStatusOrBuilder()
Output only. The status of the call.
.bytedance.byteplus.rec.content.Status status = 1;public String getRequestId()
Output only. This is same as `PredictRequest.request_id`.
string request_id = 2;getRequestId 在接口中 ByteplusSaasContent.PredictResponseOrBuilderpublic com.google.protobuf.ByteString getRequestIdBytes()
Output only. This is same as `PredictRequest.request_id`.
string request_id = 2;getRequestIdBytes 在接口中 ByteplusSaasContent.PredictResponseOrBuilderpublic ByteplusSaasContent.PredictResponse.Builder setRequestId(String value)
Output only. This is same as `PredictRequest.request_id`.
string request_id = 2;value - The requestId to set.public ByteplusSaasContent.PredictResponse.Builder clearRequestId()
Output only. This is same as `PredictRequest.request_id`.
string request_id = 2;public ByteplusSaasContent.PredictResponse.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
Output only. This is same as `PredictRequest.request_id`.
string request_id = 2;value - The bytes for requestId to set.public boolean hasContentValue()
Output only. This is only populated when `PredictResponse.status.code` is not 0.
.bytedance.byteplus.rec.content.PredictResult content_value = 4;hasContentValue 在接口中 ByteplusSaasContent.PredictResponseOrBuilderpublic ByteplusSaasContent.PredictResult getContentValue()
Output only. This is only populated when `PredictResponse.status.code` is not 0.
.bytedance.byteplus.rec.content.PredictResult content_value = 4;getContentValue 在接口中 ByteplusSaasContent.PredictResponseOrBuilderpublic ByteplusSaasContent.PredictResponse.Builder setContentValue(ByteplusSaasContent.PredictResult value)
Output only. This is only populated when `PredictResponse.status.code` is not 0.
.bytedance.byteplus.rec.content.PredictResult content_value = 4;public ByteplusSaasContent.PredictResponse.Builder setContentValue(ByteplusSaasContent.PredictResult.Builder builderForValue)
Output only. This is only populated when `PredictResponse.status.code` is not 0.
.bytedance.byteplus.rec.content.PredictResult content_value = 4;public ByteplusSaasContent.PredictResponse.Builder mergeContentValue(ByteplusSaasContent.PredictResult value)
Output only. This is only populated when `PredictResponse.status.code` is not 0.
.bytedance.byteplus.rec.content.PredictResult content_value = 4;public ByteplusSaasContent.PredictResponse.Builder clearContentValue()
Output only. This is only populated when `PredictResponse.status.code` is not 0.
.bytedance.byteplus.rec.content.PredictResult content_value = 4;public ByteplusSaasContent.PredictResult.Builder getContentValueBuilder()
Output only. This is only populated when `PredictResponse.status.code` is not 0.
.bytedance.byteplus.rec.content.PredictResult content_value = 4;public ByteplusSaasContent.PredictResultOrBuilder getContentValueOrBuilder()
Output only. This is only populated when `PredictResponse.status.code` is not 0.
.bytedance.byteplus.rec.content.PredictResult content_value = 4;public final ByteplusSaasContent.PredictResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.PredictResponse.Builder>public final ByteplusSaasContent.PredictResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasContent.PredictResponse.Builder>Copyright © 2024. All rights reserved.