public static final class DirectRawPredictResponse.Builder extends GeneratedMessageV3.Builder<DirectRawPredictResponse.Builder> implements DirectRawPredictResponseOrBuilder
Response message for PredictionService.DirectRawPredict.
Protobuf type google.cloud.vertexai.v1.DirectRawPredictResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DirectRawPredictResponse.BuilderImplements
DirectRawPredictResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DirectRawPredictResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse.Builder |
build()
public DirectRawPredictResponse build()
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse |
buildPartial()
public DirectRawPredictResponse buildPartial()
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse |
clear()
public DirectRawPredictResponse.Builder clear()
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public DirectRawPredictResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DirectRawPredictResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse.Builder |
clearOutput()
public DirectRawPredictResponse.Builder clearOutput()
The prediction output.
bytes output = 1;
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse.Builder |
This builder for chaining. |
clone()
public DirectRawPredictResponse.Builder clone()
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse.Builder |
getDefaultInstanceForType()
public DirectRawPredictResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getOutput()
public ByteString getOutput()
The prediction output.
bytes output = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The output. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DirectRawPredictResponse other)
public DirectRawPredictResponse.Builder mergeFrom(DirectRawPredictResponse other)
Parameter | |
---|---|
Name | Description |
other |
DirectRawPredictResponse |
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DirectRawPredictResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DirectRawPredictResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DirectRawPredictResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DirectRawPredictResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse.Builder |
setOutput(ByteString value)
public DirectRawPredictResponse.Builder setOutput(ByteString value)
The prediction output.
bytes output = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The output to set. |
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DirectRawPredictResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DirectRawPredictResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DirectRawPredictResponse.Builder |