Class DirectRawPredictRequest.Builder (1.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass DirectRawPredictRequest.BuilderextendsGeneratedMessageV3.Builder<DirectRawPredictRequest.Builder>implementsDirectRawPredictRequestOrBuilderRequest message for PredictionService.DirectRawPredict.
Protobuf type google.cloud.vertexai.v1.DirectRawPredictRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DirectRawPredictRequest.BuilderImplements
DirectRawPredictRequestOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicDirectRawPredictRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
|
build()
publicDirectRawPredictRequestbuild()| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest |
|
buildPartial()
publicDirectRawPredictRequestbuildPartial()| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest |
|
clear()
publicDirectRawPredictRequest.Builderclear()| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
|
clearEndpoint()
publicDirectRawPredictRequest.BuilderclearEndpoint() 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 |
DirectRawPredictRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
publicDirectRawPredictRequest.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
|
clearInput()
publicDirectRawPredictRequest.BuilderclearInput()The prediction input.
bytes input = 3;
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
This builder for chaining. |
clearMethodName()
publicDirectRawPredictRequest.BuilderclearMethodName()Fully qualified name of the API method being invoked to perform predictions.
Format:
/namespace.Service/Method/
Example:
/tensorflow.serving.PredictionService/Predict
string method_name = 2;
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicDirectRawPredictRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
|
clone()
publicDirectRawPredictRequest.Builderclone()| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
|
getDefaultInstanceForType()
publicDirectRawPredictRequestgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndpoint()
publicStringgetEndpoint() 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()
publicByteStringgetEndpointBytes() 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. |
getInput()
publicByteStringgetInput()The prediction input.
bytes input = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The input. |
getMethodName()
publicStringgetMethodName()Fully qualified name of the API method being invoked to perform predictions.
Format:
/namespace.Service/Method/
Example:
/tensorflow.serving.PredictionService/Predict
string method_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The methodName. |
getMethodNameBytes()
publicByteStringgetMethodNameBytes()Fully qualified name of the API method being invoked to perform predictions.
Format:
/namespace.Service/Method/
Example:
/tensorflow.serving.PredictionService/Predict
string method_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for methodName. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DirectRawPredictRequest other)
publicDirectRawPredictRequest.BuildermergeFrom(DirectRawPredictRequestother)| Parameter | |
|---|---|
| Name | Description |
other |
DirectRawPredictRequest |
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicDirectRawPredictRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicDirectRawPredictRequest.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalDirectRawPredictRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
|
setEndpoint(String value)
publicDirectRawPredictRequest.BuildersetEndpoint(Stringvalue) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
String The endpoint to set. |
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
This builder for chaining. |
setEndpointBytes(ByteString value)
publicDirectRawPredictRequest.BuildersetEndpointBytes(ByteStringvalue) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for endpoint to set. |
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
publicDirectRawPredictRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
|
setInput(ByteString value)
publicDirectRawPredictRequest.BuildersetInput(ByteStringvalue)The prediction input.
bytes input = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The input to set. |
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
This builder for chaining. |
setMethodName(String value)
publicDirectRawPredictRequest.BuildersetMethodName(Stringvalue)Fully qualified name of the API method being invoked to perform predictions.
Format:
/namespace.Service/Method/
Example:
/tensorflow.serving.PredictionService/Predict
string method_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
String The methodName to set. |
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
This builder for chaining. |
setMethodNameBytes(ByteString value)
publicDirectRawPredictRequest.BuildersetMethodNameBytes(ByteStringvalue)Fully qualified name of the API method being invoked to perform predictions.
Format:
/namespace.Service/Method/
Example:
/tensorflow.serving.PredictionService/Predict
string method_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for methodName to set. |
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicDirectRawPredictRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalDirectRawPredictRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DirectRawPredictRequest.Builder |
|