Class DeployedIndexRef.Builder (3.43.0)

public static final class DeployedIndexRef.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeployedIndexRef.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeployedIndexRef.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public DeployedIndexRef.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeployedIndexRef.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeployedIndexRef.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeployedIndexRef.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeployedIndexRef.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public DeployedIndexRef.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeployedIndexRef.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeployedIndexRef.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeployedIndexRef.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeployedIndexRef.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeployedIndexRef.Builder
Overrides