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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateListingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateListingRequest build()
buildPartial()
public CreateListingRequest buildPartial()
clear()
public CreateListingRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateListingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearListing()
public CreateListingRequest.Builder clearListing()
Required. The listing to create.
.google.cloud.bigquery.dataexchange.v1beta1.Listing listing = 3 [(.google.api.field_behavior) = REQUIRED];
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateListingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public CreateListingRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateListingRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateListingRequest other)
public CreateListingRequest.Builder mergeFrom(CreateListingRequest other)
public CreateListingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateListingRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateListingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateListingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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];
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.
|
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateListingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateListingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides