public static final class StreamingPredictResponse.Builder extends GeneratedMessageV3.Builder<StreamingPredictResponse.Builder> implements StreamingPredictResponseOrBuilder
Response message for
PredictionService.StreamingPredict.
Protobuf type google.cloud.aiplatform.v1.StreamingPredictResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public StreamingPredictResponse.Builder addAllOutputs(Iterable<? extends Tensor> values)
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1.Tensor>
|
public StreamingPredictResponse.Builder addOutputs(Tensor value)
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
Parameter |
Name |
Description |
value |
Tensor
|
public StreamingPredictResponse.Builder addOutputs(Tensor.Builder builderForValue)
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
public StreamingPredictResponse.Builder addOutputs(int index, Tensor value)
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Tensor
|
public StreamingPredictResponse.Builder addOutputs(int index, Tensor.Builder builderForValue)
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
public Tensor.Builder addOutputsBuilder()
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
public Tensor.Builder addOutputsBuilder(int index)
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
Parameter |
Name |
Description |
index |
int
|
public StreamingPredictResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public StreamingPredictResponse build()
public StreamingPredictResponse buildPartial()
public StreamingPredictResponse.Builder clear()
Overrides
public StreamingPredictResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public StreamingPredictResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public StreamingPredictResponse.Builder clearOutputs()
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
public StreamingPredictResponse.Builder clearParameters()
The parameters that govern the prediction.
.google.cloud.aiplatform.v1.Tensor parameters = 2;
public StreamingPredictResponse.Builder clone()
Overrides
public StreamingPredictResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Tensor getOutputs(int index)
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Tensor |
|
public Tensor.Builder getOutputsBuilder(int index)
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
Parameter |
Name |
Description |
index |
int
|
public List<Tensor.Builder> getOutputsBuilderList()
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
public int getOutputsCount()
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
Returns |
Type |
Description |
int |
|
public List<Tensor> getOutputsList()
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
public TensorOrBuilder getOutputsOrBuilder(int index)
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends TensorOrBuilder> getOutputsOrBuilderList()
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1.TensorOrBuilder> |
|
public Tensor getParameters()
The parameters that govern the prediction.
.google.cloud.aiplatform.v1.Tensor parameters = 2;
Returns |
Type |
Description |
Tensor |
The parameters.
|
public Tensor.Builder getParametersBuilder()
The parameters that govern the prediction.
.google.cloud.aiplatform.v1.Tensor parameters = 2;
public TensorOrBuilder getParametersOrBuilder()
The parameters that govern the prediction.
.google.cloud.aiplatform.v1.Tensor parameters = 2;
public boolean hasParameters()
The parameters that govern the prediction.
.google.cloud.aiplatform.v1.Tensor parameters = 2;
Returns |
Type |
Description |
boolean |
Whether the parameters field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public StreamingPredictResponse.Builder mergeFrom(StreamingPredictResponse other)
public StreamingPredictResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public StreamingPredictResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public StreamingPredictResponse.Builder mergeParameters(Tensor value)
The parameters that govern the prediction.
.google.cloud.aiplatform.v1.Tensor parameters = 2;
Parameter |
Name |
Description |
value |
Tensor
|
public final StreamingPredictResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public StreamingPredictResponse.Builder removeOutputs(int index)
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
Parameter |
Name |
Description |
index |
int
|
public StreamingPredictResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public StreamingPredictResponse.Builder setOutputs(int index, Tensor value)
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Tensor
|
public StreamingPredictResponse.Builder setOutputs(int index, Tensor.Builder builderForValue)
The prediction output.
repeated .google.cloud.aiplatform.v1.Tensor outputs = 1;
public StreamingPredictResponse.Builder setParameters(Tensor value)
The parameters that govern the prediction.
.google.cloud.aiplatform.v1.Tensor parameters = 2;
Parameter |
Name |
Description |
value |
Tensor
|
public StreamingPredictResponse.Builder setParameters(Tensor.Builder builderForValue)
The parameters that govern the prediction.
.google.cloud.aiplatform.v1.Tensor parameters = 2;
public StreamingPredictResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final StreamingPredictResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides