Class StreamingPullResponse.SubscriptionProperties (1.131.0)

public static final class StreamingPullResponse.SubscriptionProperties extends GeneratedMessageV3 implements StreamingPullResponse.SubscriptionPropertiesOrBuilder

Subscription properties sent as part of the response.

Protobuf type google.pubsub.v1.StreamingPullResponse.SubscriptionProperties

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StreamingPullResponse.SubscriptionProperties

Static Fields

EXACTLY_ONCE_DELIVERY_ENABLED_FIELD_NUMBER

public static final int EXACTLY_ONCE_DELIVERY_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_ORDERING_ENABLED_FIELD_NUMBER

public static final int MESSAGE_ORDERING_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StreamingPullResponse.SubscriptionProperties getDefaultInstance()
Returns
Type Description
StreamingPullResponse.SubscriptionProperties

getDescriptor()

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

newBuilder()

public static StreamingPullResponse.SubscriptionProperties.Builder newBuilder()
Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder

newBuilder(StreamingPullResponse.SubscriptionProperties prototype)

public static StreamingPullResponse.SubscriptionProperties.Builder newBuilder(StreamingPullResponse.SubscriptionProperties prototype)
Parameter
Name Description
prototype StreamingPullResponse.SubscriptionProperties
Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder

parseDelimitedFrom(InputStream input)

public static StreamingPullResponse.SubscriptionProperties parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamingPullResponse.SubscriptionProperties
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.SubscriptionProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingPullResponse.SubscriptionProperties
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StreamingPullResponse.SubscriptionProperties parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StreamingPullResponse.SubscriptionProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static StreamingPullResponse.SubscriptionProperties parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StreamingPullResponse.SubscriptionProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.SubscriptionProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingPullResponse.SubscriptionProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StreamingPullResponse.SubscriptionProperties parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StreamingPullResponse.SubscriptionProperties
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.SubscriptionProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingPullResponse.SubscriptionProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StreamingPullResponse.SubscriptionProperties parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamingPullResponse.SubscriptionProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.SubscriptionProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingPullResponse.SubscriptionProperties
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StreamingPullResponse.SubscriptionProperties parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StreamingPullResponse.SubscriptionProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.SubscriptionProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingPullResponse.SubscriptionProperties
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StreamingPullResponse.SubscriptionProperties> parser()
Returns
Type Description
Parser<SubscriptionProperties>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StreamingPullResponse.SubscriptionProperties getDefaultInstanceForType()
Returns
Type Description
StreamingPullResponse.SubscriptionProperties

getExactlyOnceDeliveryEnabled()

public boolean getExactlyOnceDeliveryEnabled()

Optional. True iff exactly once delivery is enabled for this subscription.

bool exactly_once_delivery_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The exactlyOnceDeliveryEnabled.

getMessageOrderingEnabled()

public boolean getMessageOrderingEnabled()

Optional. True iff message ordering is enabled for this subscription.

bool message_ordering_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The messageOrderingEnabled.

getParserForType()

public Parser<StreamingPullResponse.SubscriptionProperties> getParserForType()
Returns
Type Description
Parser<SubscriptionProperties>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 StreamingPullResponse.SubscriptionProperties.Builder newBuilderForType()
Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamingPullResponse.SubscriptionProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public StreamingPullResponse.SubscriptionProperties.Builder toBuilder()
Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder

writeTo(CodedOutputStream output)

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