Class DeployedIndexRef.Builder (3.84.0)

public static final class DeployedIndexRef.Builder extends GeneratedMessage.Builder<DeployedIndexRef.Builder> implements DeployedIndexRefOrBuilder

Points to a DeployedIndex.

Protobuf type google.cloud.aiplatform.v1beta1.DeployedIndexRef

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DeployedIndexRef build()
Returns
Type Description
DeployedIndexRef

buildPartial()

public DeployedIndexRef buildPartial()
Returns
Type Description
DeployedIndexRef

clear()

public DeployedIndexRef.Builder clear()
Returns
Type Description
DeployedIndexRef.Builder
Overrides

clearDeployedIndexId()

public DeployedIndexRef.Builder clearDeployedIndexId()

Immutable. The ID of the DeployedIndex in the above IndexEndpoint.

string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
DeployedIndexRef.Builder

This builder for chaining.

clearDisplayName()

public DeployedIndexRef.Builder clearDisplayName()

Output only. The display name of the DeployedIndex.

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployedIndexRef.Builder

This builder for chaining.

clearIndexEndpoint()

public DeployedIndexRef.Builder clearIndexEndpoint()

Immutable. A resource name of the IndexEndpoint.

string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeployedIndexRef.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeployedIndexRef getDefaultInstanceForType()
Returns
Type Description
DeployedIndexRef

getDeployedIndexId()

public String getDeployedIndexId()

Immutable. The ID of the DeployedIndex in the above IndexEndpoint.

string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The deployedIndexId.

getDeployedIndexIdBytes()

public ByteString getDeployedIndexIdBytes()

Immutable. The ID of the DeployedIndex in the above IndexEndpoint.

string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for deployedIndexId.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Output only. The display name of the DeployedIndex.

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. The display name of the DeployedIndex.

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getIndexEndpoint()

public String getIndexEndpoint()

Immutable. A resource name of the IndexEndpoint.

string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The indexEndpoint.

getIndexEndpointBytes()

public ByteString getIndexEndpointBytes()

Immutable. A resource name of the IndexEndpoint.

string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for indexEndpoint.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeployedIndexRef other)

public DeployedIndexRef.Builder mergeFrom(DeployedIndexRef other)
Parameter
Name Description
other DeployedIndexRef
Returns
Type Description
DeployedIndexRef.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeployedIndexRef.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployedIndexRef.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeployedIndexRef.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeployedIndexRef.Builder
Overrides

setDeployedIndexId(String value)

public DeployedIndexRef.Builder setDeployedIndexId(String value)

Immutable. The ID of the DeployedIndex in the above IndexEndpoint.

string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The deployedIndexId to set.

Returns
Type Description
DeployedIndexRef.Builder

This builder for chaining.

setDeployedIndexIdBytes(ByteString value)

public DeployedIndexRef.Builder setDeployedIndexIdBytes(ByteString value)

Immutable. The ID of the DeployedIndex in the above IndexEndpoint.

string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for deployedIndexId to set.

Returns
Type Description
DeployedIndexRef.Builder

This builder for chaining.

setDisplayName(String value)

public DeployedIndexRef.Builder setDisplayName(String value)

Output only. The display name of the DeployedIndex.

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
DeployedIndexRef.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public DeployedIndexRef.Builder setDisplayNameBytes(ByteString value)

Output only. The display name of the DeployedIndex.

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
DeployedIndexRef.Builder

This builder for chaining.

setIndexEndpoint(String value)

public DeployedIndexRef.Builder setIndexEndpoint(String value)

Immutable. A resource name of the IndexEndpoint.

string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The indexEndpoint to set.

Returns
Type Description
DeployedIndexRef.Builder

This builder for chaining.

setIndexEndpointBytes(ByteString value)

public DeployedIndexRef.Builder setIndexEndpointBytes(ByteString value)

Immutable. A resource name of the IndexEndpoint.

string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for indexEndpoint to set.

Returns
Type Description
DeployedIndexRef.Builder

This builder for chaining.