Class Listing.CommercialInfo.Builder (0.61.0)

public static final class Listing.CommercialInfo.Builder extends GeneratedMessageV3.Builder<Listing.CommercialInfo.Builder> implements Listing.CommercialInfoOrBuilder

Commercial info contains the information about the commercial data products associated with the listing.

Protobuf type google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Listing.CommercialInfo build()
Returns
Type Description
Listing.CommercialInfo

buildPartial()

public Listing.CommercialInfo buildPartial()
Returns
Type Description
Listing.CommercialInfo

clear()

public Listing.CommercialInfo.Builder clear()
Returns
Type Description
Listing.CommercialInfo.Builder
Overrides

clearCloudMarketplace()

public Listing.CommercialInfo.Builder clearCloudMarketplace()

Output only. Details of the Marketplace Data Product associated with the Listing.

optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo cloud_marketplace = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Listing.CommercialInfo.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Listing.CommercialInfo.Builder clone()
Returns
Type Description
Listing.CommercialInfo.Builder
Overrides

getCloudMarketplace()

public Listing.CommercialInfo.GoogleCloudMarketplaceInfo getCloudMarketplace()

Output only. Details of the Marketplace Data Product associated with the Listing.

optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo cloud_marketplace = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo

The cloudMarketplace.

getCloudMarketplaceBuilder()

public Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder getCloudMarketplaceBuilder()

Output only. Details of the Marketplace Data Product associated with the Listing.

optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo cloud_marketplace = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder

getCloudMarketplaceOrBuilder()

public Listing.CommercialInfo.GoogleCloudMarketplaceInfoOrBuilder getCloudMarketplaceOrBuilder()

Output only. Details of the Marketplace Data Product associated with the Listing.

optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo cloud_marketplace = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfoOrBuilder

getDefaultInstanceForType()

public Listing.CommercialInfo getDefaultInstanceForType()
Returns
Type Description
Listing.CommercialInfo

getDescriptorForType()

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

hasCloudMarketplace()

public boolean hasCloudMarketplace()

Output only. Details of the Marketplace Data Product associated with the Listing.

optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo cloud_marketplace = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the cloudMarketplace field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCloudMarketplace(Listing.CommercialInfo.GoogleCloudMarketplaceInfo value)

public Listing.CommercialInfo.Builder mergeCloudMarketplace(Listing.CommercialInfo.GoogleCloudMarketplaceInfo value)

Output only. Details of the Marketplace Data Product associated with the Listing.

optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo cloud_marketplace = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Listing.CommercialInfo.GoogleCloudMarketplaceInfo
Returns
Type Description
Listing.CommercialInfo.Builder

mergeFrom(Listing.CommercialInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCloudMarketplace(Listing.CommercialInfo.GoogleCloudMarketplaceInfo value)

public Listing.CommercialInfo.Builder setCloudMarketplace(Listing.CommercialInfo.GoogleCloudMarketplaceInfo value)

Output only. Details of the Marketplace Data Product associated with the Listing.

optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo cloud_marketplace = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Listing.CommercialInfo.GoogleCloudMarketplaceInfo
Returns
Type Description
Listing.CommercialInfo.Builder

setCloudMarketplace(Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder builderForValue)

public Listing.CommercialInfo.Builder setCloudMarketplace(Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder builderForValue)

Output only. Details of the Marketplace Data Product associated with the Listing.

optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo cloud_marketplace = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder
Returns
Type Description
Listing.CommercialInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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