Class IndexEndpoint.Builder (3.29.0)

public static final class IndexEndpoint.Builder extends GeneratedMessageV3.Builder<IndexEndpoint.Builder> implements IndexEndpointOrBuilder

Indexes are deployed into it. An IndexEndpoint can have multiple DeployedIndexes.

Protobuf type google.cloud.aiplatform.v1beta1.IndexEndpoint

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllDeployedIndexes(Iterable<? extends DeployedIndex> values)

public IndexEndpoint.Builder addAllDeployedIndexes(Iterable<? extends DeployedIndex> values)

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.DeployedIndex>
Returns
TypeDescription
IndexEndpoint.Builder

addDeployedIndexes(DeployedIndex value)

public IndexEndpoint.Builder addDeployedIndexes(DeployedIndex value)

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueDeployedIndex
Returns
TypeDescription
IndexEndpoint.Builder

addDeployedIndexes(DeployedIndex.Builder builderForValue)

public IndexEndpoint.Builder addDeployedIndexes(DeployedIndex.Builder builderForValue)

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueDeployedIndex.Builder
Returns
TypeDescription
IndexEndpoint.Builder

addDeployedIndexes(int index, DeployedIndex value)

public IndexEndpoint.Builder addDeployedIndexes(int index, DeployedIndex value)

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueDeployedIndex
Returns
TypeDescription
IndexEndpoint.Builder

addDeployedIndexes(int index, DeployedIndex.Builder builderForValue)

public IndexEndpoint.Builder addDeployedIndexes(int index, DeployedIndex.Builder builderForValue)

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueDeployedIndex.Builder
Returns
TypeDescription
IndexEndpoint.Builder

addDeployedIndexesBuilder()

public DeployedIndex.Builder addDeployedIndexesBuilder()

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
DeployedIndex.Builder

addDeployedIndexesBuilder(int index)

public DeployedIndex.Builder addDeployedIndexesBuilder(int index)

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
DeployedIndex.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IndexEndpoint build()
Returns
TypeDescription
IndexEndpoint

buildPartial()

public IndexEndpoint buildPartial()
Returns
TypeDescription
IndexEndpoint

clear()

public IndexEndpoint.Builder clear()
Returns
TypeDescription
IndexEndpoint.Builder
Overrides

clearCreateTime()

public IndexEndpoint.Builder clearCreateTime()

Output only. Timestamp when this IndexEndpoint was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
IndexEndpoint.Builder

clearDeployedIndexes()

public IndexEndpoint.Builder clearDeployedIndexes()

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
IndexEndpoint.Builder

clearDescription()

public IndexEndpoint.Builder clearDescription()

The description of the IndexEndpoint.

string description = 3;

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

clearDisplayName()

public IndexEndpoint.Builder clearDisplayName()

Required. The display name of the IndexEndpoint. The name can be up to 128 characters long and can consist of any UTF-8 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

clearEnablePrivateServiceConnect() (deprecated)

public IndexEndpoint.Builder clearEnablePrivateServiceConnect()

Deprecated. google.cloud.aiplatform.v1beta1.IndexEndpoint.enable_private_service_connect is deprecated. See google/cloud/aiplatform/v1beta1/index_endpoint.proto;l=104

Optional. Deprecated: If true, expose the IndexEndpoint via private service connect.

Only one of the fields, network or enable_private_service_connect, can be set.

bool enable_private_service_connect = 10 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

clearEncryptionSpec()

public IndexEndpoint.Builder clearEncryptionSpec()

Immutable. Customer-managed encryption key spec for an IndexEndpoint. If set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 15 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
IndexEndpoint.Builder

clearEtag()

public IndexEndpoint.Builder clearEtag()

Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 5;

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IndexEndpoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IndexEndpoint.Builder
Overrides

clearLabels()

public IndexEndpoint.Builder clearLabels()
Returns
TypeDescription
IndexEndpoint.Builder

clearName()

public IndexEndpoint.Builder clearName()

Output only. The resource name of the IndexEndpoint.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

clearNetwork()

public IndexEndpoint.Builder clearNetwork()

Optional. The full name of the Google Compute Engine network to which the IndexEndpoint should be peered.

Private services access must already be configured for the network. If left unspecified, the Endpoint is not peered with any network.

network and private_service_connect_config are mutually exclusive.

Format: projects/{project}/global/networks/{network}. Where {project} is a project number, as in '12345', and {network} is network name.

string network = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrivateServiceConnectConfig()

public IndexEndpoint.Builder clearPrivateServiceConnectConfig()

Optional. Configuration for private service connect.

network and private_service_connect_config are mutually exclusive.

.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
IndexEndpoint.Builder

clearPublicEndpointDomainName()

public IndexEndpoint.Builder clearPublicEndpointDomainName()

Output only. If public_endpoint_enabled is true, this field will be populated with the domain name to use for this index endpoint.

string public_endpoint_domain_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

clearPublicEndpointEnabled()

public IndexEndpoint.Builder clearPublicEndpointEnabled()

Optional. If true, the deployed index will be accessible through public endpoint.

bool public_endpoint_enabled = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

clearUpdateTime()

public IndexEndpoint.Builder clearUpdateTime()

Output only. Timestamp when this IndexEndpoint was last updated. This timestamp is not updated when the endpoint's DeployedIndexes are updated, e.g. due to updates of the original Indexes they are the deployments of.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
IndexEndpoint.Builder

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

The labels with user-defined metadata to organize your IndexEndpoints.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

map<string, string> labels = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when this IndexEndpoint was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp when this IndexEndpoint was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this IndexEndpoint was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public IndexEndpoint getDefaultInstanceForType()
Returns
TypeDescription
IndexEndpoint

getDeployedIndexes(int index)

public DeployedIndex getDeployedIndexes(int index)

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
DeployedIndex

getDeployedIndexesBuilder(int index)

public DeployedIndex.Builder getDeployedIndexesBuilder(int index)

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
DeployedIndex.Builder

getDeployedIndexesBuilderList()

public List<DeployedIndex.Builder> getDeployedIndexesBuilderList()

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Builder>

getDeployedIndexesCount()

public int getDeployedIndexesCount()

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getDeployedIndexesList()

public List<DeployedIndex> getDeployedIndexesList()

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<DeployedIndex>

getDeployedIndexesOrBuilder(int index)

public DeployedIndexOrBuilder getDeployedIndexesOrBuilder(int index)

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
DeployedIndexOrBuilder

getDeployedIndexesOrBuilderList()

public List<? extends DeployedIndexOrBuilder> getDeployedIndexesOrBuilderList()

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.DeployedIndexOrBuilder>

getDescription()

public String getDescription()

The description of the IndexEndpoint.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the IndexEndpoint.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. The display name of the IndexEndpoint. The name can be up to 128 characters long and can consist of any UTF-8 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The display name of the IndexEndpoint. The name can be up to 128 characters long and can consist of any UTF-8 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for displayName.

getEnablePrivateServiceConnect() (deprecated)

public boolean getEnablePrivateServiceConnect()

Deprecated. google.cloud.aiplatform.v1beta1.IndexEndpoint.enable_private_service_connect is deprecated. See google/cloud/aiplatform/v1beta1/index_endpoint.proto;l=104

Optional. Deprecated: If true, expose the IndexEndpoint via private service connect.

Only one of the fields, network or enable_private_service_connect, can be set.

bool enable_private_service_connect = 10 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The enablePrivateServiceConnect.

getEncryptionSpec()

public EncryptionSpec getEncryptionSpec()

Immutable. Customer-managed encryption key spec for an IndexEndpoint. If set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 15 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
EncryptionSpec

The encryptionSpec.

getEncryptionSpecBuilder()

public EncryptionSpec.Builder getEncryptionSpecBuilder()

Immutable. Customer-managed encryption key spec for an IndexEndpoint. If set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 15 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
EncryptionSpec.Builder

getEncryptionSpecOrBuilder()

public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()

Immutable. Customer-managed encryption key spec for an IndexEndpoint. If set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 15 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
EncryptionSpecOrBuilder

getEtag()

public String getEtag()

Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 5;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 5;

Returns
TypeDescription
ByteString

The bytes for etag.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

The labels with user-defined metadata to organize your IndexEndpoints.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

map<string, string> labels = 6;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

The labels with user-defined metadata to organize your IndexEndpoints.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

map<string, string> labels = 6;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

The labels with user-defined metadata to organize your IndexEndpoints.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

map<string, string> labels = 6;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

The labels with user-defined metadata to organize your IndexEndpoints.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

map<string, string> labels = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Output only. The resource name of the IndexEndpoint.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the IndexEndpoint.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getNetwork()

public String getNetwork()

Optional. The full name of the Google Compute Engine network to which the IndexEndpoint should be peered.

Private services access must already be configured for the network. If left unspecified, the Endpoint is not peered with any network.

network and private_service_connect_config are mutually exclusive.

Format: projects/{project}/global/networks/{network}. Where {project} is a project number, as in '12345', and {network} is network name.

string network = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

Optional. The full name of the Google Compute Engine network to which the IndexEndpoint should be peered.

Private services access must already be configured for the network. If left unspecified, the Endpoint is not peered with any network.

network and private_service_connect_config are mutually exclusive.

Format: projects/{project}/global/networks/{network}. Where {project} is a project number, as in '12345', and {network} is network name.

string network = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for network.

getPrivateServiceConnectConfig()

public PrivateServiceConnectConfig getPrivateServiceConnectConfig()

Optional. Configuration for private service connect.

network and private_service_connect_config are mutually exclusive.

.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PrivateServiceConnectConfig

The privateServiceConnectConfig.

getPrivateServiceConnectConfigBuilder()

public PrivateServiceConnectConfig.Builder getPrivateServiceConnectConfigBuilder()

Optional. Configuration for private service connect.

network and private_service_connect_config are mutually exclusive.

.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PrivateServiceConnectConfig.Builder

getPrivateServiceConnectConfigOrBuilder()

public PrivateServiceConnectConfigOrBuilder getPrivateServiceConnectConfigOrBuilder()

Optional. Configuration for private service connect.

network and private_service_connect_config are mutually exclusive.

.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PrivateServiceConnectConfigOrBuilder

getPublicEndpointDomainName()

public String getPublicEndpointDomainName()

Output only. If public_endpoint_enabled is true, this field will be populated with the domain name to use for this index endpoint.

string public_endpoint_domain_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The publicEndpointDomainName.

getPublicEndpointDomainNameBytes()

public ByteString getPublicEndpointDomainNameBytes()

Output only. If public_endpoint_enabled is true, this field will be populated with the domain name to use for this index endpoint.

string public_endpoint_domain_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for publicEndpointDomainName.

getPublicEndpointEnabled()

public boolean getPublicEndpointEnabled()

Optional. If true, the deployed index will be accessible through public endpoint.

bool public_endpoint_enabled = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The publicEndpointEnabled.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Timestamp when this IndexEndpoint was last updated. This timestamp is not updated when the endpoint's DeployedIndexes are updated, e.g. due to updates of the original Indexes they are the deployments of.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Timestamp when this IndexEndpoint was last updated. This timestamp is not updated when the endpoint's DeployedIndexes are updated, e.g. due to updates of the original Indexes they are the deployments of.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when this IndexEndpoint was last updated. This timestamp is not updated when the endpoint's DeployedIndexes are updated, e.g. due to updates of the original Indexes they are the deployments of.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when this IndexEndpoint was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasEncryptionSpec()

public boolean hasEncryptionSpec()

Immutable. Customer-managed encryption key spec for an IndexEndpoint. If set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 15 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

Whether the encryptionSpec field is set.

hasPrivateServiceConnectConfig()

public boolean hasPrivateServiceConnectConfig()

Optional. Configuration for private service connect.

network and private_service_connect_config are mutually exclusive.

.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the privateServiceConnectConfig field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Timestamp when this IndexEndpoint was last updated. This timestamp is not updated when the endpoint's DeployedIndexes are updated, e.g. due to updates of the original Indexes they are the deployments of.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public IndexEndpoint.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp when this IndexEndpoint was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
IndexEndpoint.Builder

mergeEncryptionSpec(EncryptionSpec value)

public IndexEndpoint.Builder mergeEncryptionSpec(EncryptionSpec value)

Immutable. Customer-managed encryption key spec for an IndexEndpoint. If set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 15 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueEncryptionSpec
Returns
TypeDescription
IndexEndpoint.Builder

mergeFrom(IndexEndpoint other)

public IndexEndpoint.Builder mergeFrom(IndexEndpoint other)
Parameter
NameDescription
otherIndexEndpoint
Returns
TypeDescription
IndexEndpoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePrivateServiceConnectConfig(PrivateServiceConnectConfig value)

public IndexEndpoint.Builder mergePrivateServiceConnectConfig(PrivateServiceConnectConfig value)

Optional. Configuration for private service connect.

network and private_service_connect_config are mutually exclusive.

.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuePrivateServiceConnectConfig
Returns
TypeDescription
IndexEndpoint.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IndexEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IndexEndpoint.Builder
Overrides

mergeUpdateTime(Timestamp value)

public IndexEndpoint.Builder mergeUpdateTime(Timestamp value)

Output only. Timestamp when this IndexEndpoint was last updated. This timestamp is not updated when the endpoint's DeployedIndexes are updated, e.g. due to updates of the original Indexes they are the deployments of.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
IndexEndpoint.Builder

putAllLabels(Map<String,String> values)

public IndexEndpoint.Builder putAllLabels(Map<String,String> values)

The labels with user-defined metadata to organize your IndexEndpoints.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

map<string, string> labels = 6;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
IndexEndpoint.Builder

putLabels(String key, String value)

public IndexEndpoint.Builder putLabels(String key, String value)

The labels with user-defined metadata to organize your IndexEndpoints.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

map<string, string> labels = 6;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
IndexEndpoint.Builder

removeDeployedIndexes(int index)

public IndexEndpoint.Builder removeDeployedIndexes(int index)

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
IndexEndpoint.Builder

removeLabels(String key)

public IndexEndpoint.Builder removeLabels(String key)

The labels with user-defined metadata to organize your IndexEndpoints.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

map<string, string> labels = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
IndexEndpoint.Builder

setCreateTime(Timestamp value)

public IndexEndpoint.Builder setCreateTime(Timestamp value)

Output only. Timestamp when this IndexEndpoint was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
IndexEndpoint.Builder

setCreateTime(Timestamp.Builder builderForValue)

public IndexEndpoint.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this IndexEndpoint was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
IndexEndpoint.Builder

setDeployedIndexes(int index, DeployedIndex value)

public IndexEndpoint.Builder setDeployedIndexes(int index, DeployedIndex value)

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueDeployedIndex
Returns
TypeDescription
IndexEndpoint.Builder

setDeployedIndexes(int index, DeployedIndex.Builder builderForValue)

public IndexEndpoint.Builder setDeployedIndexes(int index, DeployedIndex.Builder builderForValue)

Output only. The indexes deployed in this endpoint.

repeated .google.cloud.aiplatform.v1beta1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueDeployedIndex.Builder
Returns
TypeDescription
IndexEndpoint.Builder

setDescription(String value)

public IndexEndpoint.Builder setDescription(String value)

The description of the IndexEndpoint.

string description = 3;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public IndexEndpoint.Builder setDescriptionBytes(ByteString value)

The description of the IndexEndpoint.

string description = 3;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

setDisplayName(String value)

public IndexEndpoint.Builder setDisplayName(String value)

Required. The display name of the IndexEndpoint. The name can be up to 128 characters long and can consist of any UTF-8 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public IndexEndpoint.Builder setDisplayNameBytes(ByteString value)

Required. The display name of the IndexEndpoint. The name can be up to 128 characters long and can consist of any UTF-8 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

setEnablePrivateServiceConnect(boolean value) (deprecated)

public IndexEndpoint.Builder setEnablePrivateServiceConnect(boolean value)

Deprecated. google.cloud.aiplatform.v1beta1.IndexEndpoint.enable_private_service_connect is deprecated. See google/cloud/aiplatform/v1beta1/index_endpoint.proto;l=104

Optional. Deprecated: If true, expose the IndexEndpoint via private service connect.

Only one of the fields, network or enable_private_service_connect, can be set.

bool enable_private_service_connect = 10 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueboolean

The enablePrivateServiceConnect to set.

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

setEncryptionSpec(EncryptionSpec value)

public IndexEndpoint.Builder setEncryptionSpec(EncryptionSpec value)

Immutable. Customer-managed encryption key spec for an IndexEndpoint. If set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 15 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueEncryptionSpec
Returns
TypeDescription
IndexEndpoint.Builder

setEncryptionSpec(EncryptionSpec.Builder builderForValue)

public IndexEndpoint.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)

Immutable. Customer-managed encryption key spec for an IndexEndpoint. If set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 15 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
builderForValueEncryptionSpec.Builder
Returns
TypeDescription
IndexEndpoint.Builder

setEtag(String value)

public IndexEndpoint.Builder setEtag(String value)

Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 5;

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public IndexEndpoint.Builder setEtagBytes(ByteString value)

Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 5;

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public IndexEndpoint.Builder setName(String value)

Output only. The resource name of the IndexEndpoint.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

setNameBytes(ByteString value)

public IndexEndpoint.Builder setNameBytes(ByteString value)

Output only. The resource name of the IndexEndpoint.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

setNetwork(String value)

public IndexEndpoint.Builder setNetwork(String value)

Optional. The full name of the Google Compute Engine network to which the IndexEndpoint should be peered.

Private services access must already be configured for the network. If left unspecified, the Endpoint is not peered with any network.

network and private_service_connect_config are mutually exclusive.

Format: projects/{project}/global/networks/{network}. Where {project} is a project number, as in '12345', and {network} is network name.

string network = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The network to set.

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

setNetworkBytes(ByteString value)

public IndexEndpoint.Builder setNetworkBytes(ByteString value)

Optional. The full name of the Google Compute Engine network to which the IndexEndpoint should be peered.

Private services access must already be configured for the network. If left unspecified, the Endpoint is not peered with any network.

network and private_service_connect_config are mutually exclusive.

Format: projects/{project}/global/networks/{network}. Where {project} is a project number, as in '12345', and {network} is network name.

string network = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for network to set.

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

setPrivateServiceConnectConfig(PrivateServiceConnectConfig value)

public IndexEndpoint.Builder setPrivateServiceConnectConfig(PrivateServiceConnectConfig value)

Optional. Configuration for private service connect.

network and private_service_connect_config are mutually exclusive.

.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuePrivateServiceConnectConfig
Returns
TypeDescription
IndexEndpoint.Builder

setPrivateServiceConnectConfig(PrivateServiceConnectConfig.Builder builderForValue)

public IndexEndpoint.Builder setPrivateServiceConnectConfig(PrivateServiceConnectConfig.Builder builderForValue)

Optional. Configuration for private service connect.

network and private_service_connect_config are mutually exclusive.

.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValuePrivateServiceConnectConfig.Builder
Returns
TypeDescription
IndexEndpoint.Builder

setPublicEndpointDomainName(String value)

public IndexEndpoint.Builder setPublicEndpointDomainName(String value)

Output only. If public_endpoint_enabled is true, this field will be populated with the domain name to use for this index endpoint.

string public_endpoint_domain_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The publicEndpointDomainName to set.

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

setPublicEndpointDomainNameBytes(ByteString value)

public IndexEndpoint.Builder setPublicEndpointDomainNameBytes(ByteString value)

Output only. If public_endpoint_enabled is true, this field will be populated with the domain name to use for this index endpoint.

string public_endpoint_domain_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for publicEndpointDomainName to set.

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

setPublicEndpointEnabled(boolean value)

public IndexEndpoint.Builder setPublicEndpointEnabled(boolean value)

Optional. If true, the deployed index will be accessible through public endpoint.

bool public_endpoint_enabled = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueboolean

The publicEndpointEnabled to set.

Returns
TypeDescription
IndexEndpoint.Builder

This builder for chaining.

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

public IndexEndpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IndexEndpoint.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public IndexEndpoint.Builder setUpdateTime(Timestamp value)

Output only. Timestamp when this IndexEndpoint was last updated. This timestamp is not updated when the endpoint's DeployedIndexes are updated, e.g. due to updates of the original Indexes they are the deployments of.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
IndexEndpoint.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public IndexEndpoint.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this IndexEndpoint was last updated. This timestamp is not updated when the endpoint's DeployedIndexes are updated, e.g. due to updates of the original Indexes they are the deployments of.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
IndexEndpoint.Builder