Class Catalog.Builder

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

public static final class Catalog.Builder extends com.google.protobuf.GeneratedMessage.Builder<Catalog.Builder> implements CatalogOrBuilder
 Catalog is the container of databases.
 
Protobuf type google.cloud.bigquery.biglake.v1.Catalog
  • 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<Catalog.Builder>
    • clear

      public Catalog.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<Catalog.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<Catalog.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Catalog.Builder mergeFrom(Catalog other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Catalog.Builder>
    • mergeFrom

      public Catalog.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<Catalog.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. The resource name.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface CatalogOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The resource name.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface CatalogOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Catalog.Builder setName(String value)
       Output only. The resource name.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Catalog.Builder clearName()
       Output only. The resource name.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public Catalog.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The resource name.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The creation time of the catalog.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface CatalogOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The creation time of the catalog.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface CatalogOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Catalog.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The creation time of the catalog.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Catalog.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The creation time of the catalog.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Catalog.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The creation time of the catalog.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Catalog.Builder clearCreateTime()
       Output only. The creation time of the catalog.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The creation time of the catalog.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The creation time of the catalog.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface CatalogOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The last modification time of the catalog.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface CatalogOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The last modification time of the catalog.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface CatalogOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Catalog.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The last modification time of the catalog.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Catalog.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The last modification time of the catalog.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Catalog.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The last modification time of the catalog.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Catalog.Builder clearUpdateTime()
       Output only. The last modification time of the catalog.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The last modification time of the catalog.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The last modification time of the catalog.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface CatalogOrBuilder
    • hasDeleteTime

      public boolean hasDeleteTime()
       Output only. The deletion time of the catalog. Only set after the catalog
       is deleted.
       
      .google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDeleteTime in interface CatalogOrBuilder
      Returns:
      Whether the deleteTime field is set.
    • getDeleteTime

      public com.google.protobuf.Timestamp getDeleteTime()
       Output only. The deletion time of the catalog. Only set after the catalog
       is deleted.
       
      .google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeleteTime in interface CatalogOrBuilder
      Returns:
      The deleteTime.
    • setDeleteTime

      public Catalog.Builder setDeleteTime(com.google.protobuf.Timestamp value)
       Output only. The deletion time of the catalog. Only set after the catalog
       is deleted.
       
      .google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setDeleteTime

      public Catalog.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The deletion time of the catalog. Only set after the catalog
       is deleted.
       
      .google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeDeleteTime

      public Catalog.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
       Output only. The deletion time of the catalog. Only set after the catalog
       is deleted.
       
      .google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearDeleteTime

      public Catalog.Builder clearDeleteTime()
       Output only. The deletion time of the catalog. Only set after the catalog
       is deleted.
       
      .google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDeleteTimeBuilder

      public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
       Output only. The deletion time of the catalog. Only set after the catalog
       is deleted.
       
      .google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDeleteTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
       Output only. The deletion time of the catalog. Only set after the catalog
       is deleted.
       
      .google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeleteTimeOrBuilder in interface CatalogOrBuilder
    • hasExpireTime

      public boolean hasExpireTime()
       Output only. The time when this catalog is considered expired. Only set
       after the catalog is deleted.
       
      .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasExpireTime in interface CatalogOrBuilder
      Returns:
      Whether the expireTime field is set.
    • getExpireTime

      public com.google.protobuf.Timestamp getExpireTime()
       Output only. The time when this catalog is considered expired. Only set
       after the catalog is deleted.
       
      .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpireTime in interface CatalogOrBuilder
      Returns:
      The expireTime.
    • setExpireTime

      public Catalog.Builder setExpireTime(com.google.protobuf.Timestamp value)
       Output only. The time when this catalog is considered expired. Only set
       after the catalog is deleted.
       
      .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setExpireTime

      public Catalog.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when this catalog is considered expired. Only set
       after the catalog is deleted.
       
      .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeExpireTime

      public Catalog.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
       Output only. The time when this catalog is considered expired. Only set
       after the catalog is deleted.
       
      .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearExpireTime

      public Catalog.Builder clearExpireTime()
       Output only. The time when this catalog is considered expired. Only set
       after the catalog is deleted.
       
      .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getExpireTimeBuilder

      public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
       Output only. The time when this catalog is considered expired. Only set
       after the catalog is deleted.
       
      .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getExpireTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
       Output only. The time when this catalog is considered expired. Only set
       after the catalog is deleted.
       
      .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpireTimeOrBuilder in interface CatalogOrBuilder