Class UpdateEntryRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataplex.v1.UpdateEntryRequest
All Implemented Interfaces:
UpdateEntryRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class UpdateEntryRequest extends com.google.protobuf.GeneratedMessage implements UpdateEntryRequestOrBuilder
 Update Entry request.
 
Protobuf type google.cloud.dataplex.v1.UpdateEntryRequest
See Also:
  • Field Details

    • ENTRY_FIELD_NUMBER

      public static final int ENTRY_FIELD_NUMBER
      See Also:
    • UPDATE_MASK_FIELD_NUMBER

      public static final int UPDATE_MASK_FIELD_NUMBER
      See Also:
    • ALLOW_MISSING_FIELD_NUMBER

      public static final int ALLOW_MISSING_FIELD_NUMBER
      See Also:
    • DELETE_MISSING_ASPECTS_FIELD_NUMBER

      public static final int DELETE_MISSING_ASPECTS_FIELD_NUMBER
      See Also:
    • ASPECT_KEYS_FIELD_NUMBER

      public static final int ASPECT_KEYS_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static UpdateEntryRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateEntryRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateEntryRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateEntryRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateEntryRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateEntryRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpdateEntryRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpdateEntryRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpdateEntryRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpdateEntryRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpdateEntryRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static UpdateEntryRequest.Builder newBuilder()
    • newBuilder

      public static UpdateEntryRequest.Builder newBuilder(UpdateEntryRequest prototype)
    • toBuilder

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

      protected UpdateEntryRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static UpdateEntryRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UpdateEntryRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<UpdateEntryRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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