Interface DirectPredictRequestOrBuilder (1.36.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface DirectPredictRequestOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getEndpoint()
publicabstractStringgetEndpoint() 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 | |
|---|---|
| Type | Description |
String |
The endpoint. |
getEndpointBytes()
publicabstractByteStringgetEndpointBytes() 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for endpoint. |
getInputs(int index)
publicabstractTensorgetInputs(intindex)The prediction input.
repeated .google.cloud.vertexai.v1.Tensor inputs = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Tensor |
|
getInputsCount()
publicabstractintgetInputsCount()The prediction input.
repeated .google.cloud.vertexai.v1.Tensor inputs = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getInputsList()
publicabstractList<Tensor>getInputsList()The prediction input.
repeated .google.cloud.vertexai.v1.Tensor inputs = 2;
| Returns | |
|---|---|
| Type | Description |
List<Tensor> |
|
getInputsOrBuilder(int index)
publicabstractTensorOrBuildergetInputsOrBuilder(intindex)The prediction input.
repeated .google.cloud.vertexai.v1.Tensor inputs = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
TensorOrBuilder |
|
getInputsOrBuilderList()
publicabstractList<?extendsTensorOrBuilder>getInputsOrBuilderList()The prediction input.
repeated .google.cloud.vertexai.v1.Tensor inputs = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.vertexai.api.TensorOrBuilder> |
|
getParameters()
publicabstractTensorgetParameters()The parameters that govern the prediction.
.google.cloud.vertexai.v1.Tensor parameters = 3;
| Returns | |
|---|---|
| Type | Description |
Tensor |
The parameters. |
getParametersOrBuilder()
publicabstractTensorOrBuildergetParametersOrBuilder()The parameters that govern the prediction.
.google.cloud.vertexai.v1.Tensor parameters = 3;
| Returns | |
|---|---|
| Type | Description |
TensorOrBuilder |
|
hasParameters()
publicabstractbooleanhasParameters()The parameters that govern the prediction.
.google.cloud.vertexai.v1.Tensor parameters = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the parameters field is set. |