Class CreateCatalogRequest.Builder

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

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

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

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

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

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

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

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

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

      public CreateCatalogRequest.Builder setParent(String value)
       Required. The parent resource where this catalog will be created.
       Format: projects/{project_id_or_number}/locations/{location_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 CreateCatalogRequest.Builder clearParent()
       Required. The parent resource where this catalog will be created.
       Format: projects/{project_id_or_number}/locations/{location_id}
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateCatalogRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource where this catalog will be created.
       Format: projects/{project_id_or_number}/locations/{location_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.
    • hasCatalog

      public boolean hasCatalog()
       Required. The catalog to create.
       The `name` field does not need to be provided.
       
      .google.cloud.bigquery.biglake.v1.Catalog catalog = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasCatalog in interface CreateCatalogRequestOrBuilder
      Returns:
      Whether the catalog field is set.
    • getCatalog

      public Catalog getCatalog()
       Required. The catalog to create.
       The `name` field does not need to be provided.
       
      .google.cloud.bigquery.biglake.v1.Catalog catalog = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCatalog in interface CreateCatalogRequestOrBuilder
      Returns:
      The catalog.
    • setCatalog

      public CreateCatalogRequest.Builder setCatalog(Catalog value)
       Required. The catalog to create.
       The `name` field does not need to be provided.
       
      .google.cloud.bigquery.biglake.v1.Catalog catalog = 2 [(.google.api.field_behavior) = REQUIRED];
    • setCatalog

      public CreateCatalogRequest.Builder setCatalog(Catalog.Builder builderForValue)
       Required. The catalog to create.
       The `name` field does not need to be provided.
       
      .google.cloud.bigquery.biglake.v1.Catalog catalog = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeCatalog

      public CreateCatalogRequest.Builder mergeCatalog(Catalog value)
       Required. The catalog to create.
       The `name` field does not need to be provided.
       
      .google.cloud.bigquery.biglake.v1.Catalog catalog = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearCatalog

      public CreateCatalogRequest.Builder clearCatalog()
       Required. The catalog to create.
       The `name` field does not need to be provided.
       
      .google.cloud.bigquery.biglake.v1.Catalog catalog = 2 [(.google.api.field_behavior) = REQUIRED];
    • getCatalogBuilder

      public Catalog.Builder getCatalogBuilder()
       Required. The catalog to create.
       The `name` field does not need to be provided.
       
      .google.cloud.bigquery.biglake.v1.Catalog catalog = 2 [(.google.api.field_behavior) = REQUIRED];
    • getCatalogOrBuilder

      public CatalogOrBuilder getCatalogOrBuilder()
       Required. The catalog to create.
       The `name` field does not need to be provided.
       
      .google.cloud.bigquery.biglake.v1.Catalog catalog = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCatalogOrBuilder in interface CreateCatalogRequestOrBuilder
    • getCatalogId

      public String getCatalogId()
       Required. The ID to use for the catalog, which will become the final
       component of the catalog's resource name.
       
      string catalog_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCatalogId in interface CreateCatalogRequestOrBuilder
      Returns:
      The catalogId.
    • getCatalogIdBytes

      public com.google.protobuf.ByteString getCatalogIdBytes()
       Required. The ID to use for the catalog, which will become the final
       component of the catalog's resource name.
       
      string catalog_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCatalogIdBytes in interface CreateCatalogRequestOrBuilder
      Returns:
      The bytes for catalogId.
    • setCatalogId

      public CreateCatalogRequest.Builder setCatalogId(String value)
       Required. The ID to use for the catalog, which will become the final
       component of the catalog's resource name.
       
      string catalog_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The catalogId to set.
      Returns:
      This builder for chaining.
    • clearCatalogId

      public CreateCatalogRequest.Builder clearCatalogId()
       Required. The ID to use for the catalog, which will become the final
       component of the catalog's resource name.
       
      string catalog_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setCatalogIdBytes

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