public interface StreamingPredictRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getEndpoint()
public abstract 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 | |
---|---|
Type | Description |
String |
The endpoint. |
getEndpointBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for endpoint. |
getInputs(int index)
public abstract Tensor getInputs(int index)
The prediction input.
repeated .google.cloud.vertexai.v1.Tensor inputs = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Tensor |
getInputsCount()
public abstract int getInputsCount()
The prediction input.
repeated .google.cloud.vertexai.v1.Tensor inputs = 2;
Returns | |
---|---|
Type | Description |
int |
getInputsList()
public abstract List<Tensor> getInputsList()
The prediction input.
repeated .google.cloud.vertexai.v1.Tensor inputs = 2;
Returns | |
---|---|
Type | Description |
List<Tensor> |
getInputsOrBuilder(int index)
public abstract TensorOrBuilder getInputsOrBuilder(int index)
The prediction input.
repeated .google.cloud.vertexai.v1.Tensor inputs = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TensorOrBuilder |
getInputsOrBuilderList()
public abstract List<? extends TensorOrBuilder> getInputsOrBuilderList()
The prediction input.
repeated .google.cloud.vertexai.v1.Tensor inputs = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.vertexai.api.TensorOrBuilder> |
getParameters()
public abstract Tensor getParameters()
The parameters that govern the prediction.
.google.cloud.vertexai.v1.Tensor parameters = 3;
Returns | |
---|---|
Type | Description |
Tensor |
The parameters. |
getParametersOrBuilder()
public abstract TensorOrBuilder getParametersOrBuilder()
The parameters that govern the prediction.
.google.cloud.vertexai.v1.Tensor parameters = 3;
Returns | |
---|---|
Type | Description |
TensorOrBuilder |
hasParameters()
public abstract boolean hasParameters()
The parameters that govern the prediction.
.google.cloud.vertexai.v1.Tensor parameters = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the parameters field is set. |