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