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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Subscription.DeliveryConfigImplements
Subscription.DeliveryConfigOrBuilderStatic Fields
DELIVERY_REQUIREMENT_FIELD_NUMBER
public static final int DELIVERY_REQUIREMENT_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Subscription.DeliveryConfig getDefaultInstance()
Type | Description |
Subscription.DeliveryConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Subscription.DeliveryConfig.Builder newBuilder()
Type | Description |
Subscription.DeliveryConfig.Builder |
newBuilder(Subscription.DeliveryConfig prototype)
public static Subscription.DeliveryConfig.Builder newBuilder(Subscription.DeliveryConfig prototype)
Name | Description |
prototype | Subscription.DeliveryConfig |
Type | Description |
Subscription.DeliveryConfig.Builder |
parseDelimitedFrom(InputStream input)
public static Subscription.DeliveryConfig parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Subscription.DeliveryConfig |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Subscription.DeliveryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Subscription.DeliveryConfig |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Subscription.DeliveryConfig parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Subscription.DeliveryConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Subscription.DeliveryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Subscription.DeliveryConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Subscription.DeliveryConfig parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Subscription.DeliveryConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Subscription.DeliveryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Subscription.DeliveryConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Subscription.DeliveryConfig parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Subscription.DeliveryConfig |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Subscription.DeliveryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Subscription.DeliveryConfig |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Subscription.DeliveryConfig parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Subscription.DeliveryConfig |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Subscription.DeliveryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Subscription.DeliveryConfig |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Subscription.DeliveryConfig parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Subscription.DeliveryConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Subscription.DeliveryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Subscription.DeliveryConfig |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Subscription.DeliveryConfig> parser()
Type | Description |
Parser<DeliveryConfig> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public Subscription.DeliveryConfig getDefaultInstanceForType()
Type | Description |
Subscription.DeliveryConfig |
getDeliveryRequirement()
public Subscription.DeliveryConfig.DeliveryRequirement getDeliveryRequirement()
The DeliveryRequirement for this subscription.
.google.cloud.pubsublite.v1.Subscription.DeliveryConfig.DeliveryRequirement delivery_requirement = 3;
Type | Description |
Subscription.DeliveryConfig.DeliveryRequirement | The deliveryRequirement. |
getDeliveryRequirementValue()
public int getDeliveryRequirementValue()
The DeliveryRequirement for this subscription.
.google.cloud.pubsublite.v1.Subscription.DeliveryConfig.DeliveryRequirement delivery_requirement = 3;
Type | Description |
int | The enum numeric value on the wire for deliveryRequirement. |
getParserForType()
public Parser<Subscription.DeliveryConfig> getParserForType()
Type | Description |
Parser<DeliveryConfig> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Subscription.DeliveryConfig.Builder newBuilderForType()
Type | Description |
Subscription.DeliveryConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Subscription.DeliveryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Subscription.DeliveryConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Subscription.DeliveryConfig.Builder toBuilder()
Type | Description |
Subscription.DeliveryConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |