Package com.google.cloud.aiplatform.v1
Interface StreamDirectPredictRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StreamDirectPredictRequest,StreamDirectPredictRequest.Builder
@Generated
public interface StreamDirectPredictRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.getInputs(int index) Optional.intOptional.Optional.getInputsOrBuilder(int index) Optional.List<? extends TensorOrBuilder>Optional.Optional.Optional.booleanOptional.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
Optional. The prediction input.
repeated .google.cloud.aiplatform.v1.Tensor inputs = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getInputs
Optional. The prediction input.
repeated .google.cloud.aiplatform.v1.Tensor inputs = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getInputsCount
int getInputsCount()Optional. The prediction input.
repeated .google.cloud.aiplatform.v1.Tensor inputs = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getInputsOrBuilderList
List<? extends TensorOrBuilder> getInputsOrBuilderList()Optional. The prediction input.
repeated .google.cloud.aiplatform.v1.Tensor inputs = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getInputsOrBuilder
Optional. The prediction input.
repeated .google.cloud.aiplatform.v1.Tensor inputs = 2 [(.google.api.field_behavior) = OPTIONAL]; -
hasParameters
boolean hasParameters()Optional. The parameters that govern the prediction.
.google.cloud.aiplatform.v1.Tensor parameters = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the parameters field is set.
-
getParameters
Tensor getParameters()Optional. The parameters that govern the prediction.
.google.cloud.aiplatform.v1.Tensor parameters = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The parameters.
-
getParametersOrBuilder
TensorOrBuilder getParametersOrBuilder()Optional. The parameters that govern the prediction.
.google.cloud.aiplatform.v1.Tensor parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
-