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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Subscription.DeliveryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Subscription.DeliveryConfig build()
Returns
buildPartial()
public Subscription.DeliveryConfig buildPartial()
Returns
clear()
public Subscription.DeliveryConfig.Builder clear()
Returns
Overrides
clearDeliveryRequirement()
public Subscription.DeliveryConfig.Builder clearDeliveryRequirement()
The DeliveryRequirement for this subscription.
.google.cloud.pubsublite.v1.Subscription.DeliveryConfig.DeliveryRequirement delivery_requirement = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public Subscription.DeliveryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Subscription.DeliveryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Subscription.DeliveryConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Subscription.DeliveryConfig getDefaultInstanceForType()
Returns
getDeliveryRequirement()
public Subscription.DeliveryConfig.DeliveryRequirement getDeliveryRequirement()
The DeliveryRequirement for this subscription.
.google.cloud.pubsublite.v1.Subscription.DeliveryConfig.DeliveryRequirement delivery_requirement = 3;
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Subscription.DeliveryConfig other)
public Subscription.DeliveryConfig.Builder mergeFrom(Subscription.DeliveryConfig other)
Parameter
Returns
public Subscription.DeliveryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Subscription.DeliveryConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Subscription.DeliveryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Subscription.DeliveryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Subscription.DeliveryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Subscription.DeliveryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides