Class Subscription.CommercialInfo.Builder (0.80.0)

public static final class Subscription.CommercialInfo.Builder extends GeneratedMessage.Builder<Subscription.CommercialInfo.Builder> implements Subscription.CommercialInfoOrBuilder

Commercial info metadata for this subscription.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearCloudMarketplace()

public Subscription.CommercialInfo.Builder clearCloudMarketplace()

Output only. This is set when the subscription is commercialised via Cloud Marketplace.

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

Returns
Type Description
Subscription.CommercialInfo.Builder

getCloudMarketplace()

public Subscription.CommercialInfo.GoogleCloudMarketplaceInfo getCloudMarketplace()

Output only. This is set when the subscription is commercialised via Cloud Marketplace.

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

Returns
Type Description
Subscription.CommercialInfo.GoogleCloudMarketplaceInfo

The cloudMarketplace.

getCloudMarketplaceBuilder()

public Subscription.CommercialInfo.GoogleCloudMarketplaceInfo.Builder getCloudMarketplaceBuilder()

Output only. This is set when the subscription is commercialised via Cloud Marketplace.

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

Returns
Type Description
Subscription.CommercialInfo.GoogleCloudMarketplaceInfo.Builder

getCloudMarketplaceOrBuilder()

public Subscription.CommercialInfo.GoogleCloudMarketplaceInfoOrBuilder getCloudMarketplaceOrBuilder()

Output only. This is set when the subscription is commercialised via Cloud Marketplace.

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

Returns
Type Description
Subscription.CommercialInfo.GoogleCloudMarketplaceInfoOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

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

hasCloudMarketplace()

public boolean hasCloudMarketplace()

Output only. This is set when the subscription is commercialised via Cloud Marketplace.

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

Returns
Type Description
boolean

Whether the cloudMarketplace field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCloudMarketplace(Subscription.CommercialInfo.GoogleCloudMarketplaceInfo value)

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

Output only. This is set when the subscription is commercialised via Cloud Marketplace.

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

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

mergeFrom(Subscription.CommercialInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCloudMarketplace(Subscription.CommercialInfo.GoogleCloudMarketplaceInfo value)

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

Output only. This is set when the subscription is commercialised via Cloud Marketplace.

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

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

setCloudMarketplace(Subscription.CommercialInfo.GoogleCloudMarketplaceInfo.Builder builderForValue)

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

Output only. This is set when the subscription is commercialised via Cloud Marketplace.

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

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