Class CreateHiveTableRequest.Builder

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

public static final class CreateHiveTableRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateHiveTableRequest.Builder> implements CreateHiveTableRequestOrBuilder
 Request message for the CreateHiveTable method.
 
Protobuf type google.cloud.biglake.hive.v1beta.CreateHiveTableRequest
  • 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<CreateHiveTableRequest.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<CreateHiveTableRequest.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<CreateHiveTableRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getParent()
       Required. The parent resource for the table to be created.
       Format:
       projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateHiveTableRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource for the table to be created.
       Format:
       projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateHiveTableRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateHiveTableRequest.Builder setParent(String value)
       Required. The parent resource for the table to be created.
       Format:
       projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public CreateHiveTableRequest.Builder clearParent()
       Required. The parent resource for the table to be created.
       Format:
       projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateHiveTableRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource for the table to be created.
       Format:
       projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}
       
      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.
    • hasHiveTable

      public boolean hasHiveTable()
       Required. The Hive Table to create.
       The `name` field does not need to be provided.
       
      .google.cloud.biglake.hive.v1beta.HiveTable hive_table = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasHiveTable in interface CreateHiveTableRequestOrBuilder
      Returns:
      Whether the hiveTable field is set.
    • getHiveTable

      public HiveTable getHiveTable()
       Required. The Hive Table to create.
       The `name` field does not need to be provided.
       
      .google.cloud.biglake.hive.v1beta.HiveTable hive_table = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHiveTable in interface CreateHiveTableRequestOrBuilder
      Returns:
      The hiveTable.
    • setHiveTable

      public CreateHiveTableRequest.Builder setHiveTable(HiveTable value)
       Required. The Hive Table to create.
       The `name` field does not need to be provided.
       
      .google.cloud.biglake.hive.v1beta.HiveTable hive_table = 2 [(.google.api.field_behavior) = REQUIRED];
    • setHiveTable

      public CreateHiveTableRequest.Builder setHiveTable(HiveTable.Builder builderForValue)
       Required. The Hive Table to create.
       The `name` field does not need to be provided.
       
      .google.cloud.biglake.hive.v1beta.HiveTable hive_table = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeHiveTable

      public CreateHiveTableRequest.Builder mergeHiveTable(HiveTable value)
       Required. The Hive Table to create.
       The `name` field does not need to be provided.
       
      .google.cloud.biglake.hive.v1beta.HiveTable hive_table = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearHiveTable

      public CreateHiveTableRequest.Builder clearHiveTable()
       Required. The Hive Table to create.
       The `name` field does not need to be provided.
       
      .google.cloud.biglake.hive.v1beta.HiveTable hive_table = 2 [(.google.api.field_behavior) = REQUIRED];
    • getHiveTableBuilder

      public HiveTable.Builder getHiveTableBuilder()
       Required. The Hive Table to create.
       The `name` field does not need to be provided.
       
      .google.cloud.biglake.hive.v1beta.HiveTable hive_table = 2 [(.google.api.field_behavior) = REQUIRED];
    • getHiveTableOrBuilder

      public HiveTableOrBuilder getHiveTableOrBuilder()
       Required. The Hive Table to create.
       The `name` field does not need to be provided.
       
      .google.cloud.biglake.hive.v1beta.HiveTable hive_table = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHiveTableOrBuilder in interface CreateHiveTableRequestOrBuilder
    • getHiveTableId

      public String getHiveTableId()
       Required. The Hive Table ID to use for the table that will become the final
       component of the table's resource name. The maximum length is 256
       characters.
       
      string hive_table_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHiveTableId in interface CreateHiveTableRequestOrBuilder
      Returns:
      The hiveTableId.
    • getHiveTableIdBytes

      public com.google.protobuf.ByteString getHiveTableIdBytes()
       Required. The Hive Table ID to use for the table that will become the final
       component of the table's resource name. The maximum length is 256
       characters.
       
      string hive_table_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHiveTableIdBytes in interface CreateHiveTableRequestOrBuilder
      Returns:
      The bytes for hiveTableId.
    • setHiveTableId

      public CreateHiveTableRequest.Builder setHiveTableId(String value)
       Required. The Hive Table ID to use for the table that will become the final
       component of the table's resource name. The maximum length is 256
       characters.
       
      string hive_table_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The hiveTableId to set.
      Returns:
      This builder for chaining.
    • clearHiveTableId

      public CreateHiveTableRequest.Builder clearHiveTableId()
       Required. The Hive Table ID to use for the table that will become the final
       component of the table's resource name. The maximum length is 256
       characters.
       
      string hive_table_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setHiveTableIdBytes

      public CreateHiveTableRequest.Builder setHiveTableIdBytes(com.google.protobuf.ByteString value)
       Required. The Hive Table ID to use for the table that will become the final
       component of the table's resource name. The maximum length is 256
       characters.
       
      string hive_table_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for hiveTableId to set.
      Returns:
      This builder for chaining.