Class DeployedIndexRef.Builder (3.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeployedIndexRef.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeployedIndexRef.Builder
Overrides

build()

public DeployedIndexRef build()
Returns
TypeDescription
DeployedIndexRef

buildPartial()

public DeployedIndexRef buildPartial()
Returns
TypeDescription
DeployedIndexRef

clear()

public DeployedIndexRef.Builder clear()
Returns
TypeDescription
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
TypeDescription
DeployedIndexRef.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DeployedIndexRef.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DeployedIndexRef.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeployedIndexRef.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeployedIndexRef.Builder
Overrides

clone()

public DeployedIndexRef.Builder clone()
Returns
TypeDescription
DeployedIndexRef.Builder
Overrides

getDefaultInstanceForType()

public DeployedIndexRef getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for deployedIndexId.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
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
TypeDescription
ByteString

The bytes for indexEndpoint.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeployedIndexRef other)

public DeployedIndexRef.Builder mergeFrom(DeployedIndexRef other)
Parameter
NameDescription
otherDeployedIndexRef
Returns
TypeDescription
DeployedIndexRef.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeployedIndexRef.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployedIndexRef.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeployedIndexRef.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeployedIndexRef.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeployedIndexRef.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The deployedIndexId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for deployedIndexId to set.

Returns
TypeDescription
DeployedIndexRef.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DeployedIndexRef.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The indexEndpoint to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for indexEndpoint to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeployedIndexRef.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeployedIndexRef.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeployedIndexRef.Builder
Overrides