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
@Generated
public interface StreamingPredictRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.getInputs(int index) The prediction input.intThe prediction input.The prediction input.getInputsOrBuilder(int index) The prediction input.List<? extends TensorOrBuilder>The prediction input.The parameters that govern the prediction.The parameters that govern the prediction.booleanThe parameters that govern the prediction.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
The prediction input.
repeated .google.cloud.aiplatform.v1.Tensor inputs = 2; -
getInputs
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
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;
-