Class Listing.CommercialInfo.GoogleCloudMarketplaceInfo (0.61.0)

public static final class Listing.CommercialInfo.GoogleCloudMarketplaceInfo extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Listing.CommercialInfo.GoogleCloudMarketplaceInfo

Static Fields

COMMERCIAL_STATE_FIELD_NUMBER

public static final int COMMERCIAL_STATE_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_FIELD_NUMBER

public static final int SERVICE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Listing.CommercialInfo.GoogleCloudMarketplaceInfo getDefaultInstance()
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo

getDescriptor()

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

newBuilder()

public static Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder newBuilder()
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder

newBuilder(Listing.CommercialInfo.GoogleCloudMarketplaceInfo prototype)

public static Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder newBuilder(Listing.CommercialInfo.GoogleCloudMarketplaceInfo prototype)
Parameter
Name Description
prototype Listing.CommercialInfo.GoogleCloudMarketplaceInfo
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder

parseDelimitedFrom(InputStream input)

public static Listing.CommercialInfo.GoogleCloudMarketplaceInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Listing.CommercialInfo.GoogleCloudMarketplaceInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Listing.CommercialInfo.GoogleCloudMarketplaceInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Listing.CommercialInfo.GoogleCloudMarketplaceInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Listing.CommercialInfo.GoogleCloudMarketplaceInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Listing.CommercialInfo.GoogleCloudMarketplaceInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Listing.CommercialInfo.GoogleCloudMarketplaceInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Listing.CommercialInfo.GoogleCloudMarketplaceInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Listing.CommercialInfo.GoogleCloudMarketplaceInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Listing.CommercialInfo.GoogleCloudMarketplaceInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Listing.CommercialInfo.GoogleCloudMarketplaceInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Listing.CommercialInfo.GoogleCloudMarketplaceInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Listing.CommercialInfo.GoogleCloudMarketplaceInfo> parser()
Returns
Type Description
Parser<GoogleCloudMarketplaceInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<Listing.CommercialInfo.GoogleCloudMarketplaceInfo> getParserForType()
Returns
Type Description
Parser<GoogleCloudMarketplaceInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder newBuilderForType()
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder toBuilder()
Returns
Type Description
Listing.CommercialInfo.GoogleCloudMarketplaceInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException