Class RefreshSubscriptionResponse (0.30.0)

public final class RefreshSubscriptionResponse extends GeneratedMessageV3 implements RefreshSubscriptionResponseOrBuilder

Message for response when you refresh a subscription.

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

Static Fields

SUBSCRIPTION_FIELD_NUMBER

public static final int SUBSCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RefreshSubscriptionResponse getDefaultInstance()
Returns
TypeDescription
RefreshSubscriptionResponse

getDescriptor()

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

newBuilder()

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

newBuilder(RefreshSubscriptionResponse prototype)

public static RefreshSubscriptionResponse.Builder newBuilder(RefreshSubscriptionResponse prototype)
Parameter
NameDescription
prototypeRefreshSubscriptionResponse
Returns
TypeDescription
RefreshSubscriptionResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RefreshSubscriptionResponse getDefaultInstanceForType()
Returns
TypeDescription
RefreshSubscriptionResponse

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubscription()

public Subscription getSubscription()

The refreshed subscription resource.

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

Returns
TypeDescription
Subscription

The subscription.

getSubscriptionOrBuilder()

public SubscriptionOrBuilder getSubscriptionOrBuilder()

The refreshed subscription resource.

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

Returns
TypeDescription
SubscriptionOrBuilder

hasSubscription()

public boolean hasSubscription()

The refreshed subscription resource.

.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 RefreshSubscriptionResponse.Builder newBuilderForType()
Returns
TypeDescription
RefreshSubscriptionResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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