public static final class ModifyPushConfigRequest.Builder extends GeneratedMessageV3.Builder<ModifyPushConfigRequest.Builder> implements ModifyPushConfigRequestOrBuilder
Request for the ModifyPushConfig method.
Protobuf type google.pubsub.v1.ModifyPushConfigRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 ModifyPushConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ModifyPushConfigRequest build()
buildPartial()
public ModifyPushConfigRequest buildPartial()
clear()
public ModifyPushConfigRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ModifyPushConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ModifyPushConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPushConfig()
public ModifyPushConfigRequest.Builder clearPushConfig()
Required. The push configuration for future deliveries.
An empty pushConfig
indicates that the Pub/Sub system should
stop pushing messages from the given subscription and allow
messages to be pulled and acknowledged - effectively pausing
the subscription if Pull
or StreamingPull
is not called.
.google.pubsub.v1.PushConfig push_config = 2 [(.google.api.field_behavior) = REQUIRED];
clearSubscription()
public ModifyPushConfigRequest.Builder clearSubscription()
Required. The name of the subscription.
Format is projects/{project}/subscriptions/{sub}
.
string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public ModifyPushConfigRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public ModifyPushConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPushConfig()
public PushConfig getPushConfig()
Required. The push configuration for future deliveries.
An empty pushConfig
indicates that the Pub/Sub system should
stop pushing messages from the given subscription and allow
messages to be pulled and acknowledged - effectively pausing
the subscription if Pull
or StreamingPull
is not called.
.google.pubsub.v1.PushConfig push_config = 2 [(.google.api.field_behavior) = REQUIRED];
getPushConfigBuilder()
public PushConfig.Builder getPushConfigBuilder()
Required. The push configuration for future deliveries.
An empty pushConfig
indicates that the Pub/Sub system should
stop pushing messages from the given subscription and allow
messages to be pulled and acknowledged - effectively pausing
the subscription if Pull
or StreamingPull
is not called.
.google.pubsub.v1.PushConfig push_config = 2 [(.google.api.field_behavior) = REQUIRED];
getPushConfigOrBuilder()
public PushConfigOrBuilder getPushConfigOrBuilder()
Required. The push configuration for future deliveries.
An empty pushConfig
indicates that the Pub/Sub system should
stop pushing messages from the given subscription and allow
messages to be pulled and acknowledged - effectively pausing
the subscription if Pull
or StreamingPull
is not called.
.google.pubsub.v1.PushConfig push_config = 2 [(.google.api.field_behavior) = REQUIRED];
getSubscription()
public String getSubscription()
Required. The name of the subscription.
Format is projects/{project}/subscriptions/{sub}
.
string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The subscription.
|
getSubscriptionBytes()
public ByteString getSubscriptionBytes()
Required. The name of the subscription.
Format is projects/{project}/subscriptions/{sub}
.
string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for subscription.
|
hasPushConfig()
public boolean hasPushConfig()
Required. The push configuration for future deliveries.
An empty pushConfig
indicates that the Pub/Sub system should
stop pushing messages from the given subscription and allow
messages to be pulled and acknowledged - effectively pausing
the subscription if Pull
or StreamingPull
is not called.
.google.pubsub.v1.PushConfig push_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the pushConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public ModifyPushConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ModifyPushConfigRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(ModifyPushConfigRequest other)
public ModifyPushConfigRequest.Builder mergeFrom(ModifyPushConfigRequest other)
mergePushConfig(PushConfig value)
public ModifyPushConfigRequest.Builder mergePushConfig(PushConfig value)
Required. The push configuration for future deliveries.
An empty pushConfig
indicates that the Pub/Sub system should
stop pushing messages from the given subscription and allow
messages to be pulled and acknowledged - effectively pausing
the subscription if Pull
or StreamingPull
is not called.
.google.pubsub.v1.PushConfig push_config = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ModifyPushConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ModifyPushConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPushConfig(PushConfig value)
public ModifyPushConfigRequest.Builder setPushConfig(PushConfig value)
Required. The push configuration for future deliveries.
An empty pushConfig
indicates that the Pub/Sub system should
stop pushing messages from the given subscription and allow
messages to be pulled and acknowledged - effectively pausing
the subscription if Pull
or StreamingPull
is not called.
.google.pubsub.v1.PushConfig push_config = 2 [(.google.api.field_behavior) = REQUIRED];
setPushConfig(PushConfig.Builder builderForValue)
public ModifyPushConfigRequest.Builder setPushConfig(PushConfig.Builder builderForValue)
Required. The push configuration for future deliveries.
An empty pushConfig
indicates that the Pub/Sub system should
stop pushing messages from the given subscription and allow
messages to be pulled and acknowledged - effectively pausing
the subscription if Pull
or StreamingPull
is not called.
.google.pubsub.v1.PushConfig push_config = 2 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ModifyPushConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSubscription(String value)
public ModifyPushConfigRequest.Builder setSubscription(String value)
Required. The name of the subscription.
Format is projects/{project}/subscriptions/{sub}
.
string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The subscription to set.
|
setSubscriptionBytes(ByteString value)
public ModifyPushConfigRequest.Builder setSubscriptionBytes(ByteString value)
Required. The name of the subscription.
Format is projects/{project}/subscriptions/{sub}
.
string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for subscription to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ModifyPushConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides