Package com.google.cloud.aiplatform.v1
Interface StreamingPredictRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StreamingPredictRequest,StreamingPredictRequest.Builder
public interface StreamingPredictRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetEndpoint()Required.com.google.protobuf.ByteStringgetEndpointBytes()Required.TensorgetInputs(int index)The prediction input.intgetInputsCount()The prediction input.List<Tensor>getInputsList()The prediction input.TensorOrBuildergetInputsOrBuilder(int index)The prediction input.List<? extends TensorOrBuilder>getInputsOrBuilderList()The prediction input.TensorgetParameters()The parameters that govern the prediction.TensorOrBuildergetParametersOrBuilder()The parameters that govern the prediction.booleanhasParameters()The parameters that govern the prediction.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEndpoint
String getEndpoint()
Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The endpoint.
-
getEndpointBytes
com.google.protobuf.ByteString getEndpointBytes()
Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for endpoint.
-
getInputsList
List<Tensor> getInputsList()
The prediction input.
repeated .google.cloud.aiplatform.v1.Tensor inputs = 2;
-
getInputs
Tensor getInputs(int index)
The prediction input.
repeated .google.cloud.aiplatform.v1.Tensor inputs = 2;
-
getInputsCount
int getInputsCount()
The prediction input.
repeated .google.cloud.aiplatform.v1.Tensor inputs = 2;
-
getInputsOrBuilderList
List<? extends TensorOrBuilder> getInputsOrBuilderList()
The prediction input.
repeated .google.cloud.aiplatform.v1.Tensor inputs = 2;
-
getInputsOrBuilder
TensorOrBuilder getInputsOrBuilder(int index)
The prediction input.
repeated .google.cloud.aiplatform.v1.Tensor inputs = 2;
-
hasParameters
boolean hasParameters()
The parameters that govern the prediction.
.google.cloud.aiplatform.v1.Tensor parameters = 3;- Returns:
- Whether the parameters field is set.
-
getParameters
Tensor getParameters()
The parameters that govern the prediction.
.google.cloud.aiplatform.v1.Tensor parameters = 3;- Returns:
- The parameters.
-
getParametersOrBuilder
TensorOrBuilder getParametersOrBuilder()
The parameters that govern the prediction.
.google.cloud.aiplatform.v1.Tensor parameters = 3;
-
-