Class UpdateIndexRequest.Builder

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

public static final class UpdateIndexRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateIndexRequest.Builder> implements UpdateIndexRequestOrBuilder
 Request message for UpdateIndex.
 
Protobuf type google.cloud.visionai.v1.UpdateIndexRequest
  • 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<UpdateIndexRequest.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<UpdateIndexRequest.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<UpdateIndexRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public UpdateIndexRequest.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<UpdateIndexRequest.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<UpdateIndexRequest.Builder>
    • mergeFrom

      public UpdateIndexRequest.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<UpdateIndexRequest.Builder>
      Throws:
      IOException
    • hasIndex

      public boolean hasIndex()
       Required. The resource being updated.
       
      .google.cloud.visionai.v1.Index index = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasIndex in interface UpdateIndexRequestOrBuilder
      Returns:
      Whether the index field is set.
    • getIndex

      public Index getIndex()
       Required. The resource being updated.
       
      .google.cloud.visionai.v1.Index index = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIndex in interface UpdateIndexRequestOrBuilder
      Returns:
      The index.
    • setIndex

      public UpdateIndexRequest.Builder setIndex(Index value)
       Required. The resource being updated.
       
      .google.cloud.visionai.v1.Index index = 1 [(.google.api.field_behavior) = REQUIRED];
    • setIndex

      public UpdateIndexRequest.Builder setIndex(Index.Builder builderForValue)
       Required. The resource being updated.
       
      .google.cloud.visionai.v1.Index index = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeIndex

      public UpdateIndexRequest.Builder mergeIndex(Index value)
       Required. The resource being updated.
       
      .google.cloud.visionai.v1.Index index = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearIndex

      public UpdateIndexRequest.Builder clearIndex()
       Required. The resource being updated.
       
      .google.cloud.visionai.v1.Index index = 1 [(.google.api.field_behavior) = REQUIRED];
    • getIndexBuilder

      public Index.Builder getIndexBuilder()
       Required. The resource being updated.
       
      .google.cloud.visionai.v1.Index index = 1 [(.google.api.field_behavior) = REQUIRED];
    • getIndexOrBuilder

      public IndexOrBuilder getIndexOrBuilder()
       Required. The resource being updated.
       
      .google.cloud.visionai.v1.Index index = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIndexOrBuilder in interface UpdateIndexRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Required. Field mask is used to specify the fields to be overwritten in the
       Index resource by the update. The fields specified in the update_mask are
       relative to the resource, not the full request. A field of the resource
       will be overwritten if it is in the mask. Empty field mask is not allowed.
       If the mask is "*", it triggers a full update of the index, and also a
       whole rebuild of index data.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUpdateMask in interface UpdateIndexRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Required. Field mask is used to specify the fields to be overwritten in the
       Index resource by the update. The fields specified in the update_mask are
       relative to the resource, not the full request. A field of the resource
       will be overwritten if it is in the mask. Empty field mask is not allowed.
       If the mask is "*", it triggers a full update of the index, and also a
       whole rebuild of index data.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMask in interface UpdateIndexRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateIndexRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. Field mask is used to specify the fields to be overwritten in the
       Index resource by the update. The fields specified in the update_mask are
       relative to the resource, not the full request. A field of the resource
       will be overwritten if it is in the mask. Empty field mask is not allowed.
       If the mask is "*", it triggers a full update of the index, and also a
       whole rebuild of index data.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • setUpdateMask

      public UpdateIndexRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. Field mask is used to specify the fields to be overwritten in the
       Index resource by the update. The fields specified in the update_mask are
       relative to the resource, not the full request. A field of the resource
       will be overwritten if it is in the mask. Empty field mask is not allowed.
       If the mask is "*", it triggers a full update of the index, and also a
       whole rebuild of index data.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeUpdateMask

      public UpdateIndexRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. Field mask is used to specify the fields to be overwritten in the
       Index resource by the update. The fields specified in the update_mask are
       relative to the resource, not the full request. A field of the resource
       will be overwritten if it is in the mask. Empty field mask is not allowed.
       If the mask is "*", it triggers a full update of the index, and also a
       whole rebuild of index data.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearUpdateMask

      public UpdateIndexRequest.Builder clearUpdateMask()
       Required. Field mask is used to specify the fields to be overwritten in the
       Index resource by the update. The fields specified in the update_mask are
       relative to the resource, not the full request. A field of the resource
       will be overwritten if it is in the mask. Empty field mask is not allowed.
       If the mask is "*", it triggers a full update of the index, and also a
       whole rebuild of index data.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Required. Field mask is used to specify the fields to be overwritten in the
       Index resource by the update. The fields specified in the update_mask are
       relative to the resource, not the full request. A field of the resource
       will be overwritten if it is in the mask. Empty field mask is not allowed.
       If the mask is "*", it triggers a full update of the index, and also a
       whole rebuild of index data.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Required. Field mask is used to specify the fields to be overwritten in the
       Index resource by the update. The fields specified in the update_mask are
       relative to the resource, not the full request. A field of the resource
       will be overwritten if it is in the mask. Empty field mask is not allowed.
       If the mask is "*", it triggers a full update of the index, and also a
       whole rebuild of index data.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateIndexRequestOrBuilder