public static final class Subscription.DeliveryConfig.Builder extends GeneratedMessageV3.Builder<Subscription.DeliveryConfig.Builder> implements Subscription.DeliveryConfigOrBuilder
The settings for a subscription's message delivery.
Protobuf type google.cloud.pubsublite.v1.Subscription.DeliveryConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Subscription.DeliveryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Subscription.DeliveryConfig build()
buildPartial()
public Subscription.DeliveryConfig buildPartial()
clear()
public Subscription.DeliveryConfig.Builder clear()
Overrides
clearDeliveryRequirement()
public Subscription.DeliveryConfig.Builder clearDeliveryRequirement()
The DeliveryRequirement for this subscription.
.google.cloud.pubsublite.v1.Subscription.DeliveryConfig.DeliveryRequirement delivery_requirement = 3;
clearField(Descriptors.FieldDescriptor field)
public Subscription.DeliveryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Subscription.DeliveryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Subscription.DeliveryConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public Subscription.DeliveryConfig getDefaultInstanceForType()
getDeliveryRequirement()
public Subscription.DeliveryConfig.DeliveryRequirement getDeliveryRequirement()
The DeliveryRequirement for this subscription.
.google.cloud.pubsublite.v1.Subscription.DeliveryConfig.DeliveryRequirement delivery_requirement = 3;
getDeliveryRequirementValue()
public int getDeliveryRequirementValue()
The DeliveryRequirement for this subscription.
.google.cloud.pubsublite.v1.Subscription.DeliveryConfig.DeliveryRequirement delivery_requirement = 3;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for deliveryRequirement.
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Subscription.DeliveryConfig other)
public Subscription.DeliveryConfig.Builder mergeFrom(Subscription.DeliveryConfig other)
public Subscription.DeliveryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Subscription.DeliveryConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Subscription.DeliveryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDeliveryRequirement(Subscription.DeliveryConfig.DeliveryRequirement value)
public Subscription.DeliveryConfig.Builder setDeliveryRequirement(Subscription.DeliveryConfig.DeliveryRequirement value)
The DeliveryRequirement for this subscription.
.google.cloud.pubsublite.v1.Subscription.DeliveryConfig.DeliveryRequirement delivery_requirement = 3;
setDeliveryRequirementValue(int value)
public Subscription.DeliveryConfig.Builder setDeliveryRequirementValue(int value)
The DeliveryRequirement for this subscription.
.google.cloud.pubsublite.v1.Subscription.DeliveryConfig.DeliveryRequirement delivery_requirement = 3;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for deliveryRequirement to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Subscription.DeliveryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Subscription.DeliveryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Subscription.DeliveryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides