Send feedback
Class Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder (0.61.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
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
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 Listing . CommercialInfo . GoogleCloudMarketplaceInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Listing . CommercialInfo . GoogleCloudMarketplaceInfo build ()
buildPartial()
public Listing . CommercialInfo . GoogleCloudMarketplaceInfo buildPartial ()
clear()
public Listing . CommercialInfo . GoogleCloudMarketplaceInfo . Builder clear ()
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];
clearField(Descriptors.FieldDescriptor field)
public Listing . CommercialInfo . GoogleCloudMarketplaceInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Listing . CommercialInfo . GoogleCloudMarketplaceInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
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) = { ... }
clone()
public Listing . CommercialInfo . GoogleCloudMarketplaceInfo . Builder clone ()
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];
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 ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Listing.CommercialInfo.GoogleCloudMarketplaceInfo other)
public Listing . CommercialInfo . GoogleCloudMarketplaceInfo . Builder mergeFrom ( Listing . CommercialInfo . GoogleCloudMarketplaceInfo other )
public Listing . CommercialInfo . GoogleCloudMarketplaceInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Listing . CommercialInfo . GoogleCloudMarketplaceInfo . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Listing . CommercialInfo . GoogleCloudMarketplaceInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
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];
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.
setField(Descriptors.FieldDescriptor field, Object value)
public Listing . CommercialInfo . GoogleCloudMarketplaceInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Listing . CommercialInfo . GoogleCloudMarketplaceInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
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.
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.
setUnknownFields(UnknownFieldSet unknownFields)
public final Listing . CommercialInfo . GoogleCloudMarketplaceInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-16 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-16 UTC."],[],[]]