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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateListingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateListingRequest build()
Returns
buildPartial()
public CreateListingRequest buildPartial()
Returns
clear()
public CreateListingRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateListingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
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
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateListingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public CreateListingRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateListingRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getListing()
public Listing getListing()
Required. The listing to create.
.google.cloud.bigquery.dataexchange.v1beta1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getListingBuilder()
public Listing.Builder getListingBuilder()
Required. The listing to create.
.google.cloud.bigquery.dataexchange.v1beta1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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
getListingOrBuilder()
public ListingOrBuilder getListingOrBuilder()
Required. The listing to create.
.google.cloud.bigquery.dataexchange.v1beta1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateListingRequest other)
public CreateListingRequest.Builder mergeFrom(CreateListingRequest other)
Parameter
Returns
public CreateListingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateListingRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateListingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateListingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateListingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateListingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides