Class SubscribeDataExchangeResponse (0.34.0)

public final class SubscribeDataExchangeResponse extends GeneratedMessageV3 implements SubscribeDataExchangeResponseOrBuilder

Message for response when you subscribe to a Data Exchange.

Protobuf type google.cloud.bigquery.analyticshub.v1.SubscribeDataExchangeResponse

Static Fields

SUBSCRIPTION_FIELD_NUMBER

public static final int SUBSCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SubscribeDataExchangeResponse getDefaultInstance()
Returns
TypeDescription
SubscribeDataExchangeResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SubscribeDataExchangeResponse.Builder newBuilder()
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder

newBuilder(SubscribeDataExchangeResponse prototype)

public static SubscribeDataExchangeResponse.Builder newBuilder(SubscribeDataExchangeResponse prototype)
Parameter
NameDescription
prototypeSubscribeDataExchangeResponse
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder

parseDelimitedFrom(InputStream input)

public static SubscribeDataExchangeResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SubscribeDataExchangeResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SubscribeDataExchangeResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubscribeDataExchangeResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SubscribeDataExchangeResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SubscribeDataExchangeResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SubscribeDataExchangeResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubscribeDataExchangeResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SubscribeDataExchangeResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SubscribeDataExchangeResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SubscribeDataExchangeResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubscribeDataExchangeResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SubscribeDataExchangeResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SubscribeDataExchangeResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SubscribeDataExchangeResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubscribeDataExchangeResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SubscribeDataExchangeResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SubscribeDataExchangeResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SubscribeDataExchangeResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubscribeDataExchangeResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SubscribeDataExchangeResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SubscribeDataExchangeResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SubscribeDataExchangeResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubscribeDataExchangeResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SubscribeDataExchangeResponse> parser()
Returns
TypeDescription
Parser<SubscribeDataExchangeResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SubscribeDataExchangeResponse getDefaultInstanceForType()
Returns
TypeDescription
SubscribeDataExchangeResponse

getParserForType()

public Parser<SubscribeDataExchangeResponse> getParserForType()
Returns
TypeDescription
Parser<SubscribeDataExchangeResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubscription()

public Subscription getSubscription()

Subscription object created from this subscribe action.

.google.cloud.bigquery.analyticshub.v1.Subscription subscription = 1;

Returns
TypeDescription
Subscription

The subscription.

getSubscriptionOrBuilder()

public SubscriptionOrBuilder getSubscriptionOrBuilder()

Subscription object created from this subscribe action.

.google.cloud.bigquery.analyticshub.v1.Subscription subscription = 1;

Returns
TypeDescription
SubscriptionOrBuilder

hasSubscription()

public boolean hasSubscription()

Subscription object created from this subscribe action.

.google.cloud.bigquery.analyticshub.v1.Subscription subscription = 1;

Returns
TypeDescription
boolean

Whether the subscription field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SubscribeDataExchangeResponse.Builder newBuilderForType()
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SubscribeDataExchangeResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SubscribeDataExchangeResponse.Builder toBuilder()
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException