Class StreamingPullResponse.SubscriptionProperties (1.126.6)

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
TypeDescription
int

MESSAGE_ORDERING_ENABLED_FIELD_NUMBER

public static final int MESSAGE_ORDERING_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StreamingPullResponse.SubscriptionProperties getDefaultInstance()
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties

getDescriptor()

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

newBuilder()

public static StreamingPullResponse.SubscriptionProperties.Builder newBuilder()
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder

newBuilder(StreamingPullResponse.SubscriptionProperties prototype)

public static StreamingPullResponse.SubscriptionProperties.Builder newBuilder(StreamingPullResponse.SubscriptionProperties prototype)
Parameter
NameDescription
prototypeStreamingPullResponse.SubscriptionProperties
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder

parseDelimitedFrom(InputStream input)

public static StreamingPullResponse.SubscriptionProperties parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static StreamingPullResponse.SubscriptionProperties parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static StreamingPullResponse.SubscriptionProperties parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static StreamingPullResponse.SubscriptionProperties parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static StreamingPullResponse.SubscriptionProperties parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public StreamingPullResponse.SubscriptionProperties getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The messageOrderingEnabled.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public StreamingPullResponse.SubscriptionProperties.Builder toBuilder()
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder

writeTo(CodedOutputStream output)

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