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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ModifyPushConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ModifyPushConfigRequest build()
Returns
buildPartial()
public ModifyPushConfigRequest buildPartial()
Returns
clear()
public ModifyPushConfigRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ModifyPushConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ModifyPushConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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];
Returns
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) = { ... }
Returns
clone()
public ModifyPushConfigRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ModifyPushConfigRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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];
Returns
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];
Returns
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];
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public ModifyPushConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ModifyPushConfigRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(ModifyPushConfigRequest other)
public ModifyPushConfigRequest.Builder mergeFrom(ModifyPushConfigRequest other)
Parameter
Returns
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];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ModifyPushConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ModifyPushConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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];
Parameter
Returns
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];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ModifyPushConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ModifyPushConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides