Class CreateTableRequest.Builder

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

public static final class CreateTableRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateTableRequest.Builder> implements CreateTableRequestOrBuilder
 Request message for the CreateTable method.
 
Protobuf type google.cloud.bigquery.biglake.v1.CreateTableRequest
  • 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<CreateTableRequest.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<CreateTableRequest.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<CreateTableRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

      public CreateTableRequest.Builder setParent(String value)
       Required. The parent resource where this table will be created.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/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 CreateTableRequest.Builder clearParent()
       Required. The parent resource where this table will be created.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/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 CreateTableRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource where this table will be created.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/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.
    • hasTable

      public boolean hasTable()
       Required. The table to create. The `name` field does not need to be
       provided for the table creation.
       
      .google.cloud.bigquery.biglake.v1.Table table = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasTable in interface CreateTableRequestOrBuilder
      Returns:
      Whether the table field is set.
    • getTable

      public Table getTable()
       Required. The table to create. The `name` field does not need to be
       provided for the table creation.
       
      .google.cloud.bigquery.biglake.v1.Table table = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTable in interface CreateTableRequestOrBuilder
      Returns:
      The table.
    • setTable

      public CreateTableRequest.Builder setTable(Table value)
       Required. The table to create. The `name` field does not need to be
       provided for the table creation.
       
      .google.cloud.bigquery.biglake.v1.Table table = 2 [(.google.api.field_behavior) = REQUIRED];
    • setTable

      public CreateTableRequest.Builder setTable(Table.Builder builderForValue)
       Required. The table to create. The `name` field does not need to be
       provided for the table creation.
       
      .google.cloud.bigquery.biglake.v1.Table table = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeTable

      public CreateTableRequest.Builder mergeTable(Table value)
       Required. The table to create. The `name` field does not need to be
       provided for the table creation.
       
      .google.cloud.bigquery.biglake.v1.Table table = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearTable

      public CreateTableRequest.Builder clearTable()
       Required. The table to create. The `name` field does not need to be
       provided for the table creation.
       
      .google.cloud.bigquery.biglake.v1.Table table = 2 [(.google.api.field_behavior) = REQUIRED];
    • getTableBuilder

      public Table.Builder getTableBuilder()
       Required. The table to create. The `name` field does not need to be
       provided for the table creation.
       
      .google.cloud.bigquery.biglake.v1.Table table = 2 [(.google.api.field_behavior) = REQUIRED];
    • getTableOrBuilder

      public TableOrBuilder getTableOrBuilder()
       Required. The table to create. The `name` field does not need to be
       provided for the table creation.
       
      .google.cloud.bigquery.biglake.v1.Table table = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableOrBuilder in interface CreateTableRequestOrBuilder
    • getTableId

      public String getTableId()
       Required. The ID to use for the table, which will become the final
       component of the table's resource name.
       
      string table_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableId in interface CreateTableRequestOrBuilder
      Returns:
      The tableId.
    • getTableIdBytes

      public com.google.protobuf.ByteString getTableIdBytes()
       Required. The ID to use for the table, which will become the final
       component of the table's resource name.
       
      string table_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableIdBytes in interface CreateTableRequestOrBuilder
      Returns:
      The bytes for tableId.
    • setTableId

      public CreateTableRequest.Builder setTableId(String value)
       Required. The ID to use for the table, which will become the final
       component of the table's resource name.
       
      string table_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The tableId to set.
      Returns:
      This builder for chaining.
    • clearTableId

      public CreateTableRequest.Builder clearTableId()
       Required. The ID to use for the table, which will become the final
       component of the table's resource name.
       
      string table_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setTableIdBytes

      public CreateTableRequest.Builder setTableIdBytes(com.google.protobuf.ByteString value)
       Required. The ID to use for the table, which will become the final
       component of the table's resource name.
       
      string table_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for tableId to set.
      Returns:
      This builder for chaining.