Class CreateListingRequest.Builder (0.28.0)

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

Message for creating a listing.

Protobuf type google.cloud.bigquery.analyticshub.v1.CreateListingRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateListingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateListingRequest.Builder
Overrides

build()

public CreateListingRequest build()
Returns
TypeDescription
CreateListingRequest

buildPartial()

public CreateListingRequest buildPartial()
Returns
TypeDescription
CreateListingRequest

clear()

public CreateListingRequest.Builder clear()
Returns
TypeDescription
CreateListingRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateListingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateListingRequest.Builder
Overrides

clearListing()

public CreateListingRequest.Builder clearListing()

Required. The listing to create.

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

Returns
TypeDescription
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
TypeDescription
CreateListingRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateListingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateListingRequest.Builder

This builder for chaining.

clone()

public CreateListingRequest.Builder clone()
Returns
TypeDescription
CreateListingRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateListingRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateListingRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getListing()

public Listing getListing()

Required. The listing to create.

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

Returns
TypeDescription
Listing

The listing.

getListingBuilder()

public Listing.Builder getListingBuilder()

Required. The listing to create.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for listingId.

getListingOrBuilder()

public ListingOrBuilder getListingOrBuilder()

Required. The listing to create.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

hasListing()

public boolean hasListing()

Required. The listing to create.

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

Returns
TypeDescription
boolean

Whether the listing field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateListingRequest other)

public CreateListingRequest.Builder mergeFrom(CreateListingRequest other)
Parameter
NameDescription
otherCreateListingRequest
Returns
TypeDescription
CreateListingRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateListingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateListingRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateListingRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateListingRequest.Builder
Overrides

mergeListing(Listing value)

public CreateListingRequest.Builder mergeListing(Listing value)

Required. The listing to create.

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

Parameter
NameDescription
valueListing
Returns
TypeDescription
CreateListingRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateListingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateListingRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateListingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateListingRequest.Builder
Overrides

setListing(Listing value)

public CreateListingRequest.Builder setListing(Listing value)

Required. The listing to create.

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

Parameter
NameDescription
valueListing
Returns
TypeDescription
CreateListingRequest.Builder

setListing(Listing.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueListing.Builder
Returns
TypeDescription
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
NameDescription
valueString

The listingId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for listingId to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateListingRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateListingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateListingRequest.Builder
Overrides