Class MutateDeployedIndexRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MutateDeployedIndexRequest.Builder>
com.google.cloud.aiplatform.v1.MutateDeployedIndexRequest.Builder
All Implemented Interfaces:
MutateDeployedIndexRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MutateDeployedIndexRequest

public static final class MutateDeployedIndexRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<MutateDeployedIndexRequest.Builder> implements MutateDeployedIndexRequestOrBuilder
 Request message for
 [IndexEndpointService.MutateDeployedIndex][google.cloud.aiplatform.v1.IndexEndpointService.MutateDeployedIndex].
 
Protobuf type google.cloud.aiplatform.v1.MutateDeployedIndexRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MutateDeployedIndexRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<MutateDeployedIndexRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MutateDeployedIndexRequest.Builder>
    • getDefaultInstanceForType

      public MutateDeployedIndexRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MutateDeployedIndexRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public MutateDeployedIndexRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MutateDeployedIndexRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<MutateDeployedIndexRequest.Builder>
    • mergeFrom

      public MutateDeployedIndexRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MutateDeployedIndexRequest.Builder>
      Throws:
      IOException
    • getIndexEndpoint

      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) = { ... }
      Specified by:
      getIndexEndpoint in interface MutateDeployedIndexRequestOrBuilder
      Returns:
      The indexEndpoint.
    • getIndexEndpointBytes

      public com.google.protobuf.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) = { ... }
      Specified by:
      getIndexEndpointBytes in interface MutateDeployedIndexRequestOrBuilder
      Returns:
      The bytes for indexEndpoint.
    • setIndexEndpoint

      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) = { ... }
      Parameters:
      value - The indexEndpoint to set.
      Returns:
      This builder for chaining.
    • clearIndexEndpoint

      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:
      This builder for chaining.
    • setIndexEndpointBytes

      public MutateDeployedIndexRequest.Builder setIndexEndpointBytes(com.google.protobuf.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) = { ... }
      Parameters:
      value - The bytes for indexEndpoint to set.
      Returns:
      This builder for chaining.
    • hasDeployedIndex

      public boolean hasDeployedIndex()
       Required. The DeployedIndex to be updated within the IndexEndpoint.
       Currently, the updatable fields are
       [DeployedIndex.automatic_resources][google.cloud.aiplatform.v1.DeployedIndex.automatic_resources]
       and
       [DeployedIndex.dedicated_resources][google.cloud.aiplatform.v1.DeployedIndex.dedicated_resources]
       
      .google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDeployedIndex in interface MutateDeployedIndexRequestOrBuilder
      Returns:
      Whether the deployedIndex field is set.
    • getDeployedIndex

      public DeployedIndex getDeployedIndex()
       Required. The DeployedIndex to be updated within the IndexEndpoint.
       Currently, the updatable fields are
       [DeployedIndex.automatic_resources][google.cloud.aiplatform.v1.DeployedIndex.automatic_resources]
       and
       [DeployedIndex.dedicated_resources][google.cloud.aiplatform.v1.DeployedIndex.dedicated_resources]
       
      .google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDeployedIndex in interface MutateDeployedIndexRequestOrBuilder
      Returns:
      The deployedIndex.
    • setDeployedIndex

      public MutateDeployedIndexRequest.Builder setDeployedIndex(DeployedIndex value)
       Required. The DeployedIndex to be updated within the IndexEndpoint.
       Currently, the updatable fields are
       [DeployedIndex.automatic_resources][google.cloud.aiplatform.v1.DeployedIndex.automatic_resources]
       and
       [DeployedIndex.dedicated_resources][google.cloud.aiplatform.v1.DeployedIndex.dedicated_resources]
       
      .google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];
    • setDeployedIndex

      public MutateDeployedIndexRequest.Builder setDeployedIndex(DeployedIndex.Builder builderForValue)
       Required. The DeployedIndex to be updated within the IndexEndpoint.
       Currently, the updatable fields are
       [DeployedIndex.automatic_resources][google.cloud.aiplatform.v1.DeployedIndex.automatic_resources]
       and
       [DeployedIndex.dedicated_resources][google.cloud.aiplatform.v1.DeployedIndex.dedicated_resources]
       
      .google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeDeployedIndex

      public MutateDeployedIndexRequest.Builder mergeDeployedIndex(DeployedIndex value)
       Required. The DeployedIndex to be updated within the IndexEndpoint.
       Currently, the updatable fields are
       [DeployedIndex.automatic_resources][google.cloud.aiplatform.v1.DeployedIndex.automatic_resources]
       and
       [DeployedIndex.dedicated_resources][google.cloud.aiplatform.v1.DeployedIndex.dedicated_resources]
       
      .google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearDeployedIndex

      public MutateDeployedIndexRequest.Builder clearDeployedIndex()
       Required. The DeployedIndex to be updated within the IndexEndpoint.
       Currently, the updatable fields are
       [DeployedIndex.automatic_resources][google.cloud.aiplatform.v1.DeployedIndex.automatic_resources]
       and
       [DeployedIndex.dedicated_resources][google.cloud.aiplatform.v1.DeployedIndex.dedicated_resources]
       
      .google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];
    • getDeployedIndexBuilder

      public DeployedIndex.Builder getDeployedIndexBuilder()
       Required. The DeployedIndex to be updated within the IndexEndpoint.
       Currently, the updatable fields are
       [DeployedIndex.automatic_resources][google.cloud.aiplatform.v1.DeployedIndex.automatic_resources]
       and
       [DeployedIndex.dedicated_resources][google.cloud.aiplatform.v1.DeployedIndex.dedicated_resources]
       
      .google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];
    • getDeployedIndexOrBuilder

      public DeployedIndexOrBuilder getDeployedIndexOrBuilder()
       Required. The DeployedIndex to be updated within the IndexEndpoint.
       Currently, the updatable fields are
       [DeployedIndex.automatic_resources][google.cloud.aiplatform.v1.DeployedIndex.automatic_resources]
       and
       [DeployedIndex.dedicated_resources][google.cloud.aiplatform.v1.DeployedIndex.dedicated_resources]
       
      .google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDeployedIndexOrBuilder in interface MutateDeployedIndexRequestOrBuilder