Class UpdateEntryRequest.Builder

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

public static final class UpdateEntryRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateEntryRequest.Builder> implements UpdateEntryRequestOrBuilder
 Update Entry request.
 
Protobuf type google.cloud.dataplex.v1.UpdateEntryRequest
  • 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<UpdateEntryRequest.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<UpdateEntryRequest.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<UpdateEntryRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UpdateEntryRequest.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<UpdateEntryRequest.Builder>
      Throws:
      IOException
    • hasEntry

      public boolean hasEntry()
       Required. Entry resource.
       
      .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasEntry in interface UpdateEntryRequestOrBuilder
      Returns:
      Whether the entry field is set.
    • getEntry

      public Entry getEntry()
       Required. Entry resource.
       
      .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntry in interface UpdateEntryRequestOrBuilder
      Returns:
      The entry.
    • setEntry

      public UpdateEntryRequest.Builder setEntry(Entry value)
       Required. Entry resource.
       
      .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
    • setEntry

      public UpdateEntryRequest.Builder setEntry(Entry.Builder builderForValue)
       Required. Entry resource.
       
      .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeEntry

      public UpdateEntryRequest.Builder mergeEntry(Entry value)
       Required. Entry resource.
       
      .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearEntry

      public UpdateEntryRequest.Builder clearEntry()
       Required. Entry resource.
       
      .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
    • getEntryBuilder

      public Entry.Builder getEntryBuilder()
       Required. Entry resource.
       
      .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
    • getEntryOrBuilder

      public EntryOrBuilder getEntryOrBuilder()
       Required. Entry resource.
       
      .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntryOrBuilder in interface UpdateEntryRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. Mask of fields to update. To update Aspects, the update_mask must
       contain the value "aspects".
      
       If the update_mask is empty, the service will update all modifiable fields
       present in the request.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateEntryRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. Mask of fields to update. To update Aspects, the update_mask must
       contain the value "aspects".
      
       If the update_mask is empty, the service will update all modifiable fields
       present in the request.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateEntryRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateEntryRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Mask of fields to update. To update Aspects, the update_mask must
       contain the value "aspects".
      
       If the update_mask is empty, the service will update all modifiable fields
       present in the request.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateEntryRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. Mask of fields to update. To update Aspects, the update_mask must
       contain the value "aspects".
      
       If the update_mask is empty, the service will update all modifiable fields
       present in the request.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateEntryRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Mask of fields to update. To update Aspects, the update_mask must
       contain the value "aspects".
      
       If the update_mask is empty, the service will update all modifiable fields
       present in the request.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateEntryRequest.Builder clearUpdateMask()
       Optional. Mask of fields to update. To update Aspects, the update_mask must
       contain the value "aspects".
      
       If the update_mask is empty, the service will update all modifiable fields
       present in the request.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. Mask of fields to update. To update Aspects, the update_mask must
       contain the value "aspects".
      
       If the update_mask is empty, the service will update all modifiable fields
       present in the request.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. Mask of fields to update. To update Aspects, the update_mask must
       contain the value "aspects".
      
       If the update_mask is empty, the service will update all modifiable fields
       present in the request.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateEntryRequestOrBuilder
    • getAllowMissing

      public boolean getAllowMissing()
       Optional. If set to true and the entry doesn't exist, the service will
       create it.
       
      bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAllowMissing in interface UpdateEntryRequestOrBuilder
      Returns:
      The allowMissing.
    • setAllowMissing

      public UpdateEntryRequest.Builder setAllowMissing(boolean value)
       Optional. If set to true and the entry doesn't exist, the service will
       create it.
       
      bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The allowMissing to set.
      Returns:
      This builder for chaining.
    • clearAllowMissing

      public UpdateEntryRequest.Builder clearAllowMissing()
       Optional. If set to true and the entry doesn't exist, the service will
       create it.
       
      bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getDeleteMissingAspects

      public boolean getDeleteMissingAspects()
       Optional. If set to true and the aspect_keys specify aspect ranges, the
       service deletes any existing aspects from that range that weren't provided
       in the request.
       
      bool delete_missing_aspects = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeleteMissingAspects in interface UpdateEntryRequestOrBuilder
      Returns:
      The deleteMissingAspects.
    • setDeleteMissingAspects

      public UpdateEntryRequest.Builder setDeleteMissingAspects(boolean value)
       Optional. If set to true and the aspect_keys specify aspect ranges, the
       service deletes any existing aspects from that range that weren't provided
       in the request.
       
      bool delete_missing_aspects = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The deleteMissingAspects to set.
      Returns:
      This builder for chaining.
    • clearDeleteMissingAspects

      public UpdateEntryRequest.Builder clearDeleteMissingAspects()
       Optional. If set to true and the aspect_keys specify aspect ranges, the
       service deletes any existing aspects from that range that weren't provided
       in the request.
       
      bool delete_missing_aspects = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getAspectKeysList

      public com.google.protobuf.ProtocolStringList getAspectKeysList()
       Optional. The map keys of the Aspects which the service should modify. It
       supports the following syntaxes:
      
       * `<aspect_type_reference>` - matches an aspect of the given type and empty
       path.
       * `<aspect_type_reference>@path` - matches an aspect of the given type and
       specified path. For example, to attach an aspect to a field that is
       specified by the `schema` aspect, the path should have the format
       `Schema.<field_name>`.
       * `<aspect_type_reference>@*` - matches aspects of the given type for all
       paths.
       * `*@path` - matches aspects of all types on the given path.
      
       The service will not remove existing aspects matching the syntax unless
       `delete_missing_aspects` is set to true.
      
       If this field is left empty, the service treats it as specifying
       exactly those Aspects present in the request.
       
      repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAspectKeysList in interface UpdateEntryRequestOrBuilder
      Returns:
      A list containing the aspectKeys.
    • getAspectKeysCount

      public int getAspectKeysCount()
       Optional. The map keys of the Aspects which the service should modify. It
       supports the following syntaxes:
      
       * `<aspect_type_reference>` - matches an aspect of the given type and empty
       path.
       * `<aspect_type_reference>@path` - matches an aspect of the given type and
       specified path. For example, to attach an aspect to a field that is
       specified by the `schema` aspect, the path should have the format
       `Schema.<field_name>`.
       * `<aspect_type_reference>@*` - matches aspects of the given type for all
       paths.
       * `*@path` - matches aspects of all types on the given path.
      
       The service will not remove existing aspects matching the syntax unless
       `delete_missing_aspects` is set to true.
      
       If this field is left empty, the service treats it as specifying
       exactly those Aspects present in the request.
       
      repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAspectKeysCount in interface UpdateEntryRequestOrBuilder
      Returns:
      The count of aspectKeys.
    • getAspectKeys

      public String getAspectKeys(int index)
       Optional. The map keys of the Aspects which the service should modify. It
       supports the following syntaxes:
      
       * `<aspect_type_reference>` - matches an aspect of the given type and empty
       path.
       * `<aspect_type_reference>@path` - matches an aspect of the given type and
       specified path. For example, to attach an aspect to a field that is
       specified by the `schema` aspect, the path should have the format
       `Schema.<field_name>`.
       * `<aspect_type_reference>@*` - matches aspects of the given type for all
       paths.
       * `*@path` - matches aspects of all types on the given path.
      
       The service will not remove existing aspects matching the syntax unless
       `delete_missing_aspects` is set to true.
      
       If this field is left empty, the service treats it as specifying
       exactly those Aspects present in the request.
       
      repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAspectKeys in interface UpdateEntryRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The aspectKeys at the given index.
    • getAspectKeysBytes

      public com.google.protobuf.ByteString getAspectKeysBytes(int index)
       Optional. The map keys of the Aspects which the service should modify. It
       supports the following syntaxes:
      
       * `<aspect_type_reference>` - matches an aspect of the given type and empty
       path.
       * `<aspect_type_reference>@path` - matches an aspect of the given type and
       specified path. For example, to attach an aspect to a field that is
       specified by the `schema` aspect, the path should have the format
       `Schema.<field_name>`.
       * `<aspect_type_reference>@*` - matches aspects of the given type for all
       paths.
       * `*@path` - matches aspects of all types on the given path.
      
       The service will not remove existing aspects matching the syntax unless
       `delete_missing_aspects` is set to true.
      
       If this field is left empty, the service treats it as specifying
       exactly those Aspects present in the request.
       
      repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAspectKeysBytes in interface UpdateEntryRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the aspectKeys at the given index.
    • setAspectKeys

      public UpdateEntryRequest.Builder setAspectKeys(int index, String value)
       Optional. The map keys of the Aspects which the service should modify. It
       supports the following syntaxes:
      
       * `<aspect_type_reference>` - matches an aspect of the given type and empty
       path.
       * `<aspect_type_reference>@path` - matches an aspect of the given type and
       specified path. For example, to attach an aspect to a field that is
       specified by the `schema` aspect, the path should have the format
       `Schema.<field_name>`.
       * `<aspect_type_reference>@*` - matches aspects of the given type for all
       paths.
       * `*@path` - matches aspects of all types on the given path.
      
       The service will not remove existing aspects matching the syntax unless
       `delete_missing_aspects` is set to true.
      
       If this field is left empty, the service treats it as specifying
       exactly those Aspects present in the request.
       
      repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The aspectKeys to set.
      Returns:
      This builder for chaining.
    • addAspectKeys

      public UpdateEntryRequest.Builder addAspectKeys(String value)
       Optional. The map keys of the Aspects which the service should modify. It
       supports the following syntaxes:
      
       * `<aspect_type_reference>` - matches an aspect of the given type and empty
       path.
       * `<aspect_type_reference>@path` - matches an aspect of the given type and
       specified path. For example, to attach an aspect to a field that is
       specified by the `schema` aspect, the path should have the format
       `Schema.<field_name>`.
       * `<aspect_type_reference>@*` - matches aspects of the given type for all
       paths.
       * `*@path` - matches aspects of all types on the given path.
      
       The service will not remove existing aspects matching the syntax unless
       `delete_missing_aspects` is set to true.
      
       If this field is left empty, the service treats it as specifying
       exactly those Aspects present in the request.
       
      repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The aspectKeys to add.
      Returns:
      This builder for chaining.
    • addAllAspectKeys

      public UpdateEntryRequest.Builder addAllAspectKeys(Iterable<String> values)
       Optional. The map keys of the Aspects which the service should modify. It
       supports the following syntaxes:
      
       * `<aspect_type_reference>` - matches an aspect of the given type and empty
       path.
       * `<aspect_type_reference>@path` - matches an aspect of the given type and
       specified path. For example, to attach an aspect to a field that is
       specified by the `schema` aspect, the path should have the format
       `Schema.<field_name>`.
       * `<aspect_type_reference>@*` - matches aspects of the given type for all
       paths.
       * `*@path` - matches aspects of all types on the given path.
      
       The service will not remove existing aspects matching the syntax unless
       `delete_missing_aspects` is set to true.
      
       If this field is left empty, the service treats it as specifying
       exactly those Aspects present in the request.
       
      repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The aspectKeys to add.
      Returns:
      This builder for chaining.
    • clearAspectKeys

      public UpdateEntryRequest.Builder clearAspectKeys()
       Optional. The map keys of the Aspects which the service should modify. It
       supports the following syntaxes:
      
       * `<aspect_type_reference>` - matches an aspect of the given type and empty
       path.
       * `<aspect_type_reference>@path` - matches an aspect of the given type and
       specified path. For example, to attach an aspect to a field that is
       specified by the `schema` aspect, the path should have the format
       `Schema.<field_name>`.
       * `<aspect_type_reference>@*` - matches aspects of the given type for all
       paths.
       * `*@path` - matches aspects of all types on the given path.
      
       The service will not remove existing aspects matching the syntax unless
       `delete_missing_aspects` is set to true.
      
       If this field is left empty, the service treats it as specifying
       exactly those Aspects present in the request.
       
      repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addAspectKeysBytes

      public UpdateEntryRequest.Builder addAspectKeysBytes(com.google.protobuf.ByteString value)
       Optional. The map keys of the Aspects which the service should modify. It
       supports the following syntaxes:
      
       * `<aspect_type_reference>` - matches an aspect of the given type and empty
       path.
       * `<aspect_type_reference>@path` - matches an aspect of the given type and
       specified path. For example, to attach an aspect to a field that is
       specified by the `schema` aspect, the path should have the format
       `Schema.<field_name>`.
       * `<aspect_type_reference>@*` - matches aspects of the given type for all
       paths.
       * `*@path` - matches aspects of all types on the given path.
      
       The service will not remove existing aspects matching the syntax unless
       `delete_missing_aspects` is set to true.
      
       If this field is left empty, the service treats it as specifying
       exactly those Aspects present in the request.
       
      repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the aspectKeys to add.
      Returns:
      This builder for chaining.