Class Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder (0.61.0)

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

Specifies the details of the Marketplace Data Product associated with the Listing.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearCommercialState()

public Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder clearCommercialState()

Output only. Commercial state of the Marketplace Data Product.

optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo.CommercialState commercial_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearService()

public Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder clearService()

Output only. Resource name of the commercial service associated with the Marketplace Data Product. e.g. example.com

optional string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder

This builder for chaining.

clone()

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

getCommercialState()

public Listing.CommercialInfo.GoogleCloudMarketplaceInfo.CommercialState getCommercialState()

Output only. Commercial state of the Marketplace Data Product.

optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo.CommercialState commercial_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo.CommercialState

The commercialState.

getCommercialStateValue()

public int getCommercialStateValue()

Output only. Commercial state of the Marketplace Data Product.

optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo.CommercialState commercial_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for commercialState.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getService()

public String getService()

Output only. Resource name of the commercial service associated with the Marketplace Data Product. e.g. example.com

optional string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

Output only. Resource name of the commercial service associated with the Marketplace Data Product. e.g. example.com

optional string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for service.

hasCommercialState()

public boolean hasCommercialState()

Output only. Commercial state of the Marketplace Data Product.

optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo.CommercialState commercial_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the commercialState field is set.

hasService()

public boolean hasService()

Output only. Resource name of the commercial service associated with the Marketplace Data Product. e.g. example.com

optional string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the service field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Listing.CommercialInfo.GoogleCloudMarketplaceInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommercialState(Listing.CommercialInfo.GoogleCloudMarketplaceInfo.CommercialState value)

public Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder setCommercialState(Listing.CommercialInfo.GoogleCloudMarketplaceInfo.CommercialState value)

Output only. Commercial state of the Marketplace Data Product.

optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo.CommercialState commercial_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Listing.CommercialInfo.GoogleCloudMarketplaceInfo.CommercialState

The commercialState to set.

Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder

This builder for chaining.

setCommercialStateValue(int value)

public Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder setCommercialStateValue(int value)

Output only. Commercial state of the Marketplace Data Product.

optional .google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo.CommercialState commercial_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for commercialState to set.

Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setService(String value)

public Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder setService(String value)

Output only. Resource name of the commercial service associated with the Marketplace Data Product. e.g. example.com

optional string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The service to set.

Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder

This builder for chaining.

setServiceBytes(ByteString value)

public Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder setServiceBytes(ByteString value)

Output only. Resource name of the commercial service associated with the Marketplace Data Product. e.g. example.com

optional string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for service to set.

Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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