Class CreateListingRequest.Builder

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

public static final class CreateListingRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateListingRequest.Builder> implements CreateListingRequestOrBuilder
 Message for creating a listing.
 
Protobuf type google.cloud.bigquery.analyticshub.v1.CreateListingRequest
  • 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<CreateListingRequest.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<CreateListingRequest.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<CreateListingRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getParent()
       Required. The parent resource path of the listing.
       e.g. `projects/myproject/locations/us/dataExchanges/123`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateListingRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource path of the listing.
       e.g. `projects/myproject/locations/us/dataExchanges/123`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateListingRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateListingRequest.Builder setParent(String value)
       Required. The parent resource path of the listing.
       e.g. `projects/myproject/locations/us/dataExchanges/123`.
       
      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 CreateListingRequest.Builder clearParent()
       Required. The parent resource path of the listing.
       e.g. `projects/myproject/locations/us/dataExchanges/123`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateListingRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource path of the listing.
       e.g. `projects/myproject/locations/us/dataExchanges/123`.
       
      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.
    • getListingId

      public String getListingId()
       Required. The ID of the listing to create.
       Must contain only Unicode letters, numbers (0-9), underscores (_).
       Max length: 100 bytes.
       
      string listing_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getListingId in interface CreateListingRequestOrBuilder
      Returns:
      The listingId.
    • getListingIdBytes

      public com.google.protobuf.ByteString getListingIdBytes()
       Required. The ID of the listing to create.
       Must contain only Unicode letters, numbers (0-9), underscores (_).
       Max length: 100 bytes.
       
      string listing_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getListingIdBytes in interface CreateListingRequestOrBuilder
      Returns:
      The bytes for listingId.
    • setListingId

      public CreateListingRequest.Builder setListingId(String value)
       Required. The ID of the listing to create.
       Must contain only Unicode letters, numbers (0-9), underscores (_).
       Max length: 100 bytes.
       
      string listing_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The listingId to set.
      Returns:
      This builder for chaining.
    • clearListingId

      public CreateListingRequest.Builder clearListingId()
       Required. The ID of the listing to create.
       Must contain only Unicode letters, numbers (0-9), underscores (_).
       Max length: 100 bytes.
       
      string listing_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setListingIdBytes

      public CreateListingRequest.Builder setListingIdBytes(com.google.protobuf.ByteString value)
       Required. The ID of the listing to create.
       Must contain only Unicode letters, numbers (0-9), underscores (_).
       Max length: 100 bytes.
       
      string listing_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for listingId to set.
      Returns:
      This builder for chaining.
    • hasListing

      public boolean hasListing()
       Required. The listing to create.
       
      .google.cloud.bigquery.analyticshub.v1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasListing in interface CreateListingRequestOrBuilder
      Returns:
      Whether the listing field is set.
    • getListing

      public Listing getListing()
       Required. The listing to create.
       
      .google.cloud.bigquery.analyticshub.v1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getListing in interface CreateListingRequestOrBuilder
      Returns:
      The listing.
    • setListing

      public CreateListingRequest.Builder setListing(Listing value)
       Required. The listing to create.
       
      .google.cloud.bigquery.analyticshub.v1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];
    • setListing

      public CreateListingRequest.Builder setListing(Listing.Builder builderForValue)
       Required. The listing to create.
       
      .google.cloud.bigquery.analyticshub.v1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeListing

      public CreateListingRequest.Builder mergeListing(Listing value)
       Required. The listing to create.
       
      .google.cloud.bigquery.analyticshub.v1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearListing

      public CreateListingRequest.Builder clearListing()
       Required. The listing to create.
       
      .google.cloud.bigquery.analyticshub.v1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];
    • getListingBuilder

      public Listing.Builder getListingBuilder()
       Required. The listing to create.
       
      .google.cloud.bigquery.analyticshub.v1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];
    • getListingOrBuilder

      public ListingOrBuilder getListingOrBuilder()
       Required. The listing to create.
       
      .google.cloud.bigquery.analyticshub.v1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getListingOrBuilder in interface CreateListingRequestOrBuilder