Class Subscription.DeliveryConfig (1.4.12)

public static final class Subscription.DeliveryConfig extends GeneratedMessageV3 implements Subscription.DeliveryConfigOrBuilder

The settings for a subscription's message delivery.

Protobuf type google.cloud.pubsublite.v1.Subscription.DeliveryConfig

Static Fields

DELIVERY_REQUIREMENT_FIELD_NUMBER

public static final int DELIVERY_REQUIREMENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Subscription.DeliveryConfig getDefaultInstance()
Returns
TypeDescription
Subscription.DeliveryConfig

getDescriptor()

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

newBuilder()

public static Subscription.DeliveryConfig.Builder newBuilder()
Returns
TypeDescription
Subscription.DeliveryConfig.Builder

newBuilder(Subscription.DeliveryConfig prototype)

public static Subscription.DeliveryConfig.Builder newBuilder(Subscription.DeliveryConfig prototype)
Parameter
NameDescription
prototypeSubscription.DeliveryConfig
Returns
TypeDescription
Subscription.DeliveryConfig.Builder

parseDelimitedFrom(InputStream input)

public static Subscription.DeliveryConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Subscription.DeliveryConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Subscription.DeliveryConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Subscription.DeliveryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Subscription.DeliveryConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Subscription.DeliveryConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Subscription.DeliveryConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Subscription.DeliveryConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Subscription.DeliveryConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Subscription.DeliveryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Subscription.DeliveryConfig> parser()
Returns
TypeDescription
Parser<DeliveryConfig>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Subscription.DeliveryConfig getDefaultInstanceForType()
Returns
TypeDescription
Subscription.DeliveryConfig

getDeliveryRequirement()

public Subscription.DeliveryConfig.DeliveryRequirement getDeliveryRequirement()

The DeliveryRequirement for this subscription.

.google.cloud.pubsublite.v1.Subscription.DeliveryConfig.DeliveryRequirement delivery_requirement = 3;

Returns
TypeDescription
Subscription.DeliveryConfig.DeliveryRequirement

The deliveryRequirement.

getDeliveryRequirementValue()

public int getDeliveryRequirementValue()

The DeliveryRequirement for this subscription.

.google.cloud.pubsublite.v1.Subscription.DeliveryConfig.DeliveryRequirement delivery_requirement = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for deliveryRequirement.

getParserForType()

public Parser<Subscription.DeliveryConfig> getParserForType()
Returns
TypeDescription
Parser<DeliveryConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 Subscription.DeliveryConfig.Builder newBuilderForType()
Returns
TypeDescription
Subscription.DeliveryConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Subscription.DeliveryConfig.Builder toBuilder()
Returns
TypeDescription
Subscription.DeliveryConfig.Builder

writeTo(CodedOutputStream output)

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