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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Subscription.DeliveryConfig.BuilderImplements
Subscription.DeliveryConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Subscription.DeliveryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Subscription.DeliveryConfig.Builder |
build()
public Subscription.DeliveryConfig build()
Type | Description |
Subscription.DeliveryConfig |
buildPartial()
public Subscription.DeliveryConfig buildPartial()
Type | Description |
Subscription.DeliveryConfig |
clear()
public Subscription.DeliveryConfig.Builder clear()
Type | Description |
Subscription.DeliveryConfig.Builder |
clearDeliveryRequirement()
public Subscription.DeliveryConfig.Builder clearDeliveryRequirement()
The DeliveryRequirement for this subscription.
.google.cloud.pubsublite.v1.Subscription.DeliveryConfig.DeliveryRequirement delivery_requirement = 3;
Type | Description |
Subscription.DeliveryConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Subscription.DeliveryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Subscription.DeliveryConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Subscription.DeliveryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Subscription.DeliveryConfig.Builder |
clone()
public Subscription.DeliveryConfig.Builder clone()
Type | Description |
Subscription.DeliveryConfig.Builder |
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Subscription.DeliveryConfig other)
public Subscription.DeliveryConfig.Builder mergeFrom(Subscription.DeliveryConfig other)
Name | Description |
other | Subscription.DeliveryConfig |
Type | Description |
Subscription.DeliveryConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Subscription.DeliveryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Subscription.DeliveryConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Subscription.DeliveryConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Subscription.DeliveryConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Subscription.DeliveryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Subscription.DeliveryConfig.Builder |
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;
Name | Description |
value | Subscription.DeliveryConfig.DeliveryRequirement The deliveryRequirement to set. |
Type | Description |
Subscription.DeliveryConfig.Builder | This builder for chaining. |
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;
Name | Description |
value | int The enum numeric value on the wire for deliveryRequirement to set. |
Type | Description |
Subscription.DeliveryConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Subscription.DeliveryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Subscription.DeliveryConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Subscription.DeliveryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Subscription.DeliveryConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Subscription.DeliveryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Subscription.DeliveryConfig.Builder |