public static final class UndeployIndexRequest.Builder extends GeneratedMessageV3.Builder<UndeployIndexRequest.Builder> implements UndeployIndexRequestOrBuilder
Request message for
IndexEndpointService.UndeployIndex.
Protobuf type google.cloud.aiplatform.v1.UndeployIndexRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public UndeployIndexRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UndeployIndexRequest build()
Returns
public UndeployIndexRequest buildPartial()
Returns
public UndeployIndexRequest.Builder clear()
Returns
Overrides
public UndeployIndexRequest.Builder clearDeployedIndexId()
Required. The ID of the DeployedIndex to be undeployed from the
IndexEndpoint.
string deployed_index_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public UndeployIndexRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public UndeployIndexRequest.Builder clearIndexEndpoint()
Required. The name of the IndexEndpoint resource from which to undeploy 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 UndeployIndexRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public UndeployIndexRequest.Builder clone()
Returns
Overrides
public UndeployIndexRequest getDefaultInstanceForType()
Returns
public String getDeployedIndexId()
Required. The ID of the DeployedIndex to be undeployed from the
IndexEndpoint.
string deployed_index_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The deployedIndexId.
|
public ByteString getDeployedIndexIdBytes()
Required. The ID of the DeployedIndex to be undeployed from the
IndexEndpoint.
string deployed_index_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for deployedIndexId.
|
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getIndexEndpoint()
Required. The name of the IndexEndpoint resource from which to undeploy 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 from which to undeploy 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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UndeployIndexRequest.Builder mergeFrom(UndeployIndexRequest other)
Parameter
Returns
public UndeployIndexRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public UndeployIndexRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final UndeployIndexRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public UndeployIndexRequest.Builder setDeployedIndexId(String value)
Required. The ID of the DeployedIndex to be undeployed from the
IndexEndpoint.
string deployed_index_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The deployedIndexId to set.
|
Returns
public UndeployIndexRequest.Builder setDeployedIndexIdBytes(ByteString value)
Required. The ID of the DeployedIndex to be undeployed from the
IndexEndpoint.
string deployed_index_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for deployedIndexId to set.
|
Returns
public UndeployIndexRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UndeployIndexRequest.Builder setIndexEndpoint(String value)
Required. The name of the IndexEndpoint resource from which to undeploy 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 UndeployIndexRequest.Builder setIndexEndpointBytes(ByteString value)
Required. The name of the IndexEndpoint resource from which to undeploy 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 UndeployIndexRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final UndeployIndexRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides