Class RegisterIcebergTableRequest.Builder

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

public static final class RegisterIcebergTableRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<RegisterIcebergTableRequest.Builder> implements RegisterIcebergTableRequestOrBuilder
 The request message for the `RegisterIcebergTable` API.
 
Protobuf type google.cloud.biglake.v1.RegisterIcebergTableRequest
  • 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<RegisterIcebergTableRequest.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<RegisterIcebergTableRequest.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<RegisterIcebergTableRequest.Builder>
    • getDefaultInstanceForType

      public RegisterIcebergTableRequest 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 RegisterIcebergTableRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public RegisterIcebergTableRequest.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<RegisterIcebergTableRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. Table to register in the format:
       `projects/{project_id}/catalogs/{catalog_id}/namespaces/{namespace}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface RegisterIcebergTableRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. Table to register in the format:
       `projects/{project_id}/catalogs/{catalog_id}/namespaces/{namespace}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface RegisterIcebergTableRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public RegisterIcebergTableRequest.Builder setParent(String value)
       Required. Table to register in the format:
       `projects/{project_id}/catalogs/{catalog_id}/namespaces/{namespace}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. Table to register in the format:
       `projects/{project_id}/catalogs/{catalog_id}/namespaces/{namespace}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public RegisterIcebergTableRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. Table to register in the format:
       `projects/{project_id}/catalogs/{catalog_id}/namespaces/{namespace}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getName

      public String getName()
       Required. The name of the table to register.
       
      string name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getName in interface RegisterIcebergTableRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The name of the table to register.
       
      string name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameBytes in interface RegisterIcebergTableRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       Required. The name of the table to register.
       
      string name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Required. The name of the table to register.
       
      string name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setNameBytes

      public RegisterIcebergTableRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the table to register.
       
      string name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getMetadataLocation

      public String getMetadataLocation()
       Required. The metadata location of the table.
       
      string metadata_location = 3 [json_name = "metadata-location", (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMetadataLocation in interface RegisterIcebergTableRequestOrBuilder
      Returns:
      The metadataLocation.
    • getMetadataLocationBytes

      public com.google.protobuf.ByteString getMetadataLocationBytes()
       Required. The metadata location of the table.
       
      string metadata_location = 3 [json_name = "metadata-location", (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMetadataLocationBytes in interface RegisterIcebergTableRequestOrBuilder
      Returns:
      The bytes for metadataLocation.
    • setMetadataLocation

      public RegisterIcebergTableRequest.Builder setMetadataLocation(String value)
       Required. The metadata location of the table.
       
      string metadata_location = 3 [json_name = "metadata-location", (.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The metadataLocation to set.
      Returns:
      This builder for chaining.
    • clearMetadataLocation

      public RegisterIcebergTableRequest.Builder clearMetadataLocation()
       Required. The metadata location of the table.
       
      string metadata_location = 3 [json_name = "metadata-location", (.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setMetadataLocationBytes

      public RegisterIcebergTableRequest.Builder setMetadataLocationBytes(com.google.protobuf.ByteString value)
       Required. The metadata location of the table.
       
      string metadata_location = 3 [json_name = "metadata-location", (.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for metadataLocation to set.
      Returns:
      This builder for chaining.
    • getOverwrite

      public String getOverwrite()
       Optional. Whether to overwrite the table if it already exists. Default is
       false. Currently this field is ignored and an error is returned if the
       table already exists.
       
      string overwrite = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOverwrite in interface RegisterIcebergTableRequestOrBuilder
      Returns:
      The overwrite.
    • getOverwriteBytes

      public com.google.protobuf.ByteString getOverwriteBytes()
       Optional. Whether to overwrite the table if it already exists. Default is
       false. Currently this field is ignored and an error is returned if the
       table already exists.
       
      string overwrite = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOverwriteBytes in interface RegisterIcebergTableRequestOrBuilder
      Returns:
      The bytes for overwrite.
    • setOverwrite

      public RegisterIcebergTableRequest.Builder setOverwrite(String value)
       Optional. Whether to overwrite the table if it already exists. Default is
       false. Currently this field is ignored and an error is returned if the
       table already exists.
       
      string overwrite = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The overwrite to set.
      Returns:
      This builder for chaining.
    • clearOverwrite

      public RegisterIcebergTableRequest.Builder clearOverwrite()
       Optional. Whether to overwrite the table if it already exists. Default is
       false. Currently this field is ignored and an error is returned if the
       table already exists.
       
      string overwrite = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setOverwriteBytes

      public RegisterIcebergTableRequest.Builder setOverwriteBytes(com.google.protobuf.ByteString value)
       Optional. Whether to overwrite the table if it already exists. Default is
       false. Currently this field is ignored and an error is returned if the
       table already exists.
       
      string overwrite = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for overwrite to set.
      Returns:
      This builder for chaining.