public static final class Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder extends GeneratedMessage.Builder<Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder> implements Listing.CommercialInfo.GoogleCloudMarketplaceInfoOrBuilderSpecifies the details of the Marketplace Data Product associated with the Listing.
Protobuf type
google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Listing.CommercialInfo.GoogleCloudMarketplaceInfo.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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.CommercialStateThe 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 |
intThe enum numeric value on the wire for commercialState to set. |
| Returns | |
|---|---|
| Type | Description |
Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for service to set. |
| Returns | |
|---|---|
| Type | Description |
Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder |
This builder for chaining. |