public static final class MutateDeployedIndexRequest.Builder extends GeneratedMessageV3.Builder<MutateDeployedIndexRequest.Builder> implements MutateDeployedIndexRequestOrBuilder
Request message for IndexEndpointService.MutateDeployedIndex.
Protobuf type google.cloud.aiplatform.v1beta1.MutateDeployedIndexRequest
Methods
public MutateDeployedIndexRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public MutateDeployedIndexRequest build()
Returns
public MutateDeployedIndexRequest buildPartial()
Returns
public MutateDeployedIndexRequest.Builder clear()
Returns
Overrides
public MutateDeployedIndexRequest.Builder clearDeployedIndex()
Required. The DeployedIndex to be updated within the IndexEndpoint.
Currently, the updatable fields are DeployedIndex
and DeployedIndex
.google.cloud.aiplatform.v1beta1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public MutateDeployedIndexRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public MutateDeployedIndexRequest.Builder clearIndexEndpoint()
Required. The name of the IndexEndpoint resource into which to deploy an Index.
Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public MutateDeployedIndexRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public MutateDeployedIndexRequest.Builder clone()
Returns
Overrides
public MutateDeployedIndexRequest getDefaultInstanceForType()
Returns
public DeployedIndex getDeployedIndex()
Required. The DeployedIndex to be updated within the IndexEndpoint.
Currently, the updatable fields are DeployedIndex
and DeployedIndex
.google.cloud.aiplatform.v1beta1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public DeployedIndex.Builder getDeployedIndexBuilder()
Required. The DeployedIndex to be updated within the IndexEndpoint.
Currently, the updatable fields are DeployedIndex
and DeployedIndex
.google.cloud.aiplatform.v1beta1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public DeployedIndexOrBuilder getDeployedIndexOrBuilder()
Required. The DeployedIndex to be updated within the IndexEndpoint.
Currently, the updatable fields are DeployedIndex
and DeployedIndex
.google.cloud.aiplatform.v1beta1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getIndexEndpoint()
Required. The name of the IndexEndpoint resource into which to deploy an Index.
Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The indexEndpoint.
|
public ByteString getIndexEndpointBytes()
Required. The name of the IndexEndpoint resource into which to deploy an Index.
Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
ByteString | The bytes for indexEndpoint.
|
public boolean hasDeployedIndex()
Required. The DeployedIndex to be updated within the IndexEndpoint.
Currently, the updatable fields are DeployedIndex
and DeployedIndex
.google.cloud.aiplatform.v1beta1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the deployedIndex field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public MutateDeployedIndexRequest.Builder mergeDeployedIndex(DeployedIndex value)
Required. The DeployedIndex to be updated within the IndexEndpoint.
Currently, the updatable fields are DeployedIndex
and DeployedIndex
.google.cloud.aiplatform.v1beta1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public MutateDeployedIndexRequest.Builder mergeFrom(MutateDeployedIndexRequest other)
Parameter
Returns
public MutateDeployedIndexRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public MutateDeployedIndexRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final MutateDeployedIndexRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public MutateDeployedIndexRequest.Builder setDeployedIndex(DeployedIndex value)
Required. The DeployedIndex to be updated within the IndexEndpoint.
Currently, the updatable fields are DeployedIndex
and DeployedIndex
.google.cloud.aiplatform.v1beta1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public MutateDeployedIndexRequest.Builder setDeployedIndex(DeployedIndex.Builder builderForValue)
Required. The DeployedIndex to be updated within the IndexEndpoint.
Currently, the updatable fields are DeployedIndex
and DeployedIndex
.google.cloud.aiplatform.v1beta1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public MutateDeployedIndexRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public MutateDeployedIndexRequest.Builder setIndexEndpoint(String value)
Required. The name of the IndexEndpoint resource into which to deploy an Index.
Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The indexEndpoint to set.
|
Returns
public MutateDeployedIndexRequest.Builder setIndexEndpointBytes(ByteString value)
Required. The name of the IndexEndpoint resource into which to deploy an Index.
Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for indexEndpoint to set.
|
Returns
public MutateDeployedIndexRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final MutateDeployedIndexRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides