Class CreateListingRequest.Builder (2.38.0)

public static final class CreateListingRequest.Builder extends GeneratedMessageV3.Builder<CreateListingRequest.Builder> implements CreateListingRequestOrBuilder

Message for creating a listing.

Protobuf type google.cloud.bigquery.dataexchange.v1beta1.CreateListingRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateListingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateListingRequest.Builder
Overrides

build()

public CreateListingRequest build()
Returns
Type Description
CreateListingRequest

buildPartial()

public CreateListingRequest buildPartial()
Returns
Type Description
CreateListingRequest

clear()

public CreateListingRequest.Builder clear()
Returns
Type Description
CreateListingRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateListingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateListingRequest.Builder
Overrides

clearListing()

public CreateListingRequest.Builder clearListing()

Required. The listing to create.

.google.cloud.bigquery.dataexchange.v1beta1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateListingRequest.Builder

clearListingId()

public CreateListingRequest.Builder clearListingId()

Required. The ID of the listing to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.

string listing_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateListingRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateListingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateListingRequest.Builder
Overrides

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
Type Description
CreateListingRequest.Builder

This builder for chaining.

clone()

public CreateListingRequest.Builder clone()
Returns
Type Description
CreateListingRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateListingRequest getDefaultInstanceForType()
Returns
Type Description
CreateListingRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getListing()

public Listing getListing()

Required. The listing to create.

.google.cloud.bigquery.dataexchange.v1beta1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Listing

The listing.

getListingBuilder()

public Listing.Builder getListingBuilder()

Required. The listing to create.

.google.cloud.bigquery.dataexchange.v1beta1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Listing.Builder

getListingId()

public String getListingId()

Required. The ID of the listing to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.

string listing_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The listingId.

getListingIdBytes()

public ByteString getListingIdBytes()

Required. The ID of the listing to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.

string listing_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for listingId.

getListingOrBuilder()

public ListingOrBuilder getListingOrBuilder()

Required. The listing to create.

.google.cloud.bigquery.dataexchange.v1beta1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ListingOrBuilder

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) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasListing()

public boolean hasListing()

Required. The listing to create.

.google.cloud.bigquery.dataexchange.v1beta1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the listing field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateListingRequest other)

public CreateListingRequest.Builder mergeFrom(CreateListingRequest other)
Parameter
Name Description
other CreateListingRequest
Returns
Type Description
CreateListingRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateListingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateListingRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateListingRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateListingRequest.Builder
Overrides

mergeListing(Listing value)

public CreateListingRequest.Builder mergeListing(Listing value)

Required. The listing to create.

.google.cloud.bigquery.dataexchange.v1beta1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Listing
Returns
Type Description
CreateListingRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateListingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateListingRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateListingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateListingRequest.Builder
Overrides

setListing(Listing value)

public CreateListingRequest.Builder setListing(Listing value)

Required. The listing to create.

.google.cloud.bigquery.dataexchange.v1beta1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Listing
Returns
Type Description
CreateListingRequest.Builder

setListing(Listing.Builder builderForValue)

public CreateListingRequest.Builder setListing(Listing.Builder builderForValue)

Required. The listing to create.

.google.cloud.bigquery.dataexchange.v1beta1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Listing.Builder
Returns
Type Description
CreateListingRequest.Builder

setListingId(String value)

public CreateListingRequest.Builder setListingId(String value)

Required. The ID of the listing to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.

string listing_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The listingId to set.

Returns
Type Description
CreateListingRequest.Builder

This builder for chaining.

setListingIdBytes(ByteString value)

public CreateListingRequest.Builder setListingIdBytes(ByteString value)

Required. The ID of the listing to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.

string listing_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for listingId to set.

Returns
Type Description
CreateListingRequest.Builder

This builder for chaining.

setParent(String value)

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) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateListingRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateListingRequest.Builder setParentBytes(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) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateListingRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateListingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateListingRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateListingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateListingRequest.Builder
Overrides