Class DestinationDatasetReference.Builder

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

public static final class DestinationDatasetReference.Builder extends com.google.protobuf.GeneratedMessage.Builder<DestinationDatasetReference.Builder> implements DestinationDatasetReferenceOrBuilder
Protobuf type google.cloud.bigquery.analyticshub.v1.DestinationDatasetReference
  • 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<DestinationDatasetReference.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<DestinationDatasetReference.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<DestinationDatasetReference.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

      public String getDatasetId()
       Required. A unique ID for this dataset, without the project name. The ID
       must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
       The maximum length is 1,024 characters.
       
      string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDatasetId in interface DestinationDatasetReferenceOrBuilder
      Returns:
      The datasetId.
    • getDatasetIdBytes

      public com.google.protobuf.ByteString getDatasetIdBytes()
       Required. A unique ID for this dataset, without the project name. The ID
       must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
       The maximum length is 1,024 characters.
       
      string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDatasetIdBytes in interface DestinationDatasetReferenceOrBuilder
      Returns:
      The bytes for datasetId.
    • setDatasetId

      public DestinationDatasetReference.Builder setDatasetId(String value)
       Required. A unique ID for this dataset, without the project name. The ID
       must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
       The maximum length is 1,024 characters.
       
      string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The datasetId to set.
      Returns:
      This builder for chaining.
    • clearDatasetId

      public DestinationDatasetReference.Builder clearDatasetId()
       Required. A unique ID for this dataset, without the project name. The ID
       must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
       The maximum length is 1,024 characters.
       
      string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDatasetIdBytes

      public DestinationDatasetReference.Builder setDatasetIdBytes(com.google.protobuf.ByteString value)
       Required. A unique ID for this dataset, without the project name. The ID
       must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
       The maximum length is 1,024 characters.
       
      string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for datasetId to set.
      Returns:
      This builder for chaining.
    • getProjectId

      public String getProjectId()
       Required. The ID of the project containing this dataset.
       
      string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProjectId in interface DestinationDatasetReferenceOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       Required. The ID of the project containing this dataset.
       
      string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProjectIdBytes in interface DestinationDatasetReferenceOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      public DestinationDatasetReference.Builder setProjectId(String value)
       Required. The ID of the project containing this dataset.
       
      string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The projectId to set.
      Returns:
      This builder for chaining.
    • clearProjectId

      public DestinationDatasetReference.Builder clearProjectId()
       Required. The ID of the project containing this dataset.
       
      string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      public DestinationDatasetReference.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
       Required. The ID of the project containing this dataset.
       
      string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for projectId to set.
      Returns:
      This builder for chaining.