Class BigQueryDataset.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDataset.Builder>
com.google.logging.v2.BigQueryDataset.Builder
All Implemented Interfaces:
BigQueryDatasetOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BigQueryDataset

public static final class BigQueryDataset.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDataset.Builder> implements BigQueryDatasetOrBuilder
 Describes a BigQuery dataset that was created by a link.
 
Protobuf type google.logging.v2.BigQueryDataset
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDataset.Builder>
    • clear

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

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

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

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

      public BigQueryDataset.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDataset.Builder>
    • setField

      public BigQueryDataset.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDataset.Builder>
    • clearField

      public BigQueryDataset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDataset.Builder>
    • clearOneof

      public BigQueryDataset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDataset.Builder>
    • setRepeatedField

      public BigQueryDataset.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDataset.Builder>
    • addRepeatedField

      public BigQueryDataset.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDataset.Builder>
    • mergeFrom

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

      public BigQueryDataset.Builder mergeFrom(BigQueryDataset other)
    • isInitialized

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

      public BigQueryDataset.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<BigQueryDataset.Builder>
      Throws:
      IOException
    • getDatasetId

      public String getDatasetId()
       Output only. The full resource name of the BigQuery dataset. The DATASET_ID
       will match the ID of the link, so the link must match the naming
       restrictions of BigQuery datasets (alphanumeric characters and underscores
       only).
      
       The dataset will have a resource path of
         "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
       
      string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDatasetId in interface BigQueryDatasetOrBuilder
      Returns:
      The datasetId.
    • getDatasetIdBytes

      public com.google.protobuf.ByteString getDatasetIdBytes()
       Output only. The full resource name of the BigQuery dataset. The DATASET_ID
       will match the ID of the link, so the link must match the naming
       restrictions of BigQuery datasets (alphanumeric characters and underscores
       only).
      
       The dataset will have a resource path of
         "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
       
      string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDatasetIdBytes in interface BigQueryDatasetOrBuilder
      Returns:
      The bytes for datasetId.
    • setDatasetId

      public BigQueryDataset.Builder setDatasetId(String value)
       Output only. The full resource name of the BigQuery dataset. The DATASET_ID
       will match the ID of the link, so the link must match the naming
       restrictions of BigQuery datasets (alphanumeric characters and underscores
       only).
      
       The dataset will have a resource path of
         "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
       
      string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The datasetId to set.
      Returns:
      This builder for chaining.
    • clearDatasetId

      public BigQueryDataset.Builder clearDatasetId()
       Output only. The full resource name of the BigQuery dataset. The DATASET_ID
       will match the ID of the link, so the link must match the naming
       restrictions of BigQuery datasets (alphanumeric characters and underscores
       only).
      
       The dataset will have a resource path of
         "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
       
      string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDatasetIdBytes

      public BigQueryDataset.Builder setDatasetIdBytes(com.google.protobuf.ByteString value)
       Output only. The full resource name of the BigQuery dataset. The DATASET_ID
       will match the ID of the link, so the link must match the naming
       restrictions of BigQuery datasets (alphanumeric characters and underscores
       only).
      
       The dataset will have a resource path of
         "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
       
      string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for datasetId to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final BigQueryDataset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDataset.Builder>
    • mergeUnknownFields

      public final BigQueryDataset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDataset.Builder>