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