public static final class DeployedModelRef.Builder extends GeneratedMessage.Builder<DeployedModelRef.Builder> implements DeployedModelRefOrBuilderPoints to a DeployedModel.
Protobuf type google.cloud.aiplatform.v1.DeployedModelRef
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeployedModelRef.BuilderImplements
DeployedModelRefOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeployedModelRef build()| Returns | |
|---|---|
| Type | Description |
DeployedModelRef |
|
buildPartial()
public DeployedModelRef buildPartial()| Returns | |
|---|---|
| Type | Description |
DeployedModelRef |
|
clear()
public DeployedModelRef.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeployedModelRef.Builder |
|
clearDeployedModelId()
public DeployedModelRef.Builder clearDeployedModelId()Immutable. An ID of a DeployedModel in the above Endpoint.
string deployed_model_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
DeployedModelRef.Builder |
This builder for chaining. |
clearEndpoint()
public DeployedModelRef.Builder clearEndpoint()Immutable. A resource name of an Endpoint.
string endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeployedModelRef.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeployedModelRef getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeployedModelRef |
|
getDeployedModelId()
public String getDeployedModelId()Immutable. An ID of a DeployedModel in the above Endpoint.
string deployed_model_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The deployedModelId. |
getDeployedModelIdBytes()
public ByteString getDeployedModelIdBytes()Immutable. An ID of a DeployedModel in the above Endpoint.
string deployed_model_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deployedModelId. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndpoint()
public String getEndpoint()Immutable. A resource name of an Endpoint.
string endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The endpoint. |
getEndpointBytes()
public ByteString getEndpointBytes()Immutable. A resource name of an Endpoint.
string endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for endpoint. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeployedModelRef other)
public DeployedModelRef.Builder mergeFrom(DeployedModelRef other)| Parameter | |
|---|---|
| Name | Description |
other |
DeployedModelRef |
| Returns | |
|---|---|
| Type | Description |
DeployedModelRef.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeployedModelRef.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeployedModelRef.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeployedModelRef.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeployedModelRef.Builder |
|
setDeployedModelId(String value)
public DeployedModelRef.Builder setDeployedModelId(String value)Immutable. An ID of a DeployedModel in the above Endpoint.
string deployed_model_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deployedModelId to set. |
| Returns | |
|---|---|
| Type | Description |
DeployedModelRef.Builder |
This builder for chaining. |
setDeployedModelIdBytes(ByteString value)
public DeployedModelRef.Builder setDeployedModelIdBytes(ByteString value)Immutable. An ID of a DeployedModel in the above Endpoint.
string deployed_model_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for deployedModelId to set. |
| Returns | |
|---|---|
| Type | Description |
DeployedModelRef.Builder |
This builder for chaining. |
setEndpoint(String value)
public DeployedModelRef.Builder setEndpoint(String value)Immutable. A resource name of an Endpoint.
string endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe endpoint to set. |
| Returns | |
|---|---|
| Type | Description |
DeployedModelRef.Builder |
This builder for chaining. |
setEndpointBytes(ByteString value)
public DeployedModelRef.Builder setEndpointBytes(ByteString value)Immutable. A resource name of an Endpoint.
string endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for endpoint to set. |
| Returns | |
|---|---|
| Type | Description |
DeployedModelRef.Builder |
This builder for chaining. |