Class NotificationConfig.CloudPubSubNotificationConfig.Builder (0.83.0)

public static final class NotificationConfig.CloudPubSubNotificationConfig.Builder extends GeneratedMessage.Builder<NotificationConfig.CloudPubSubNotificationConfig.Builder> implements NotificationConfig.CloudPubSubNotificationConfigOrBuilder

The configuration for Pub/Sub messaging for the AppConnector.

Protobuf type google.cloud.beyondcorp.appconnectors.v1.NotificationConfig.CloudPubSubNotificationConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public NotificationConfig.CloudPubSubNotificationConfig build()
Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig

buildPartial()

public NotificationConfig.CloudPubSubNotificationConfig buildPartial()
Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig

clear()

public NotificationConfig.CloudPubSubNotificationConfig.Builder clear()
Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig.Builder
Overrides

clearPubsubSubscription()

public NotificationConfig.CloudPubSubNotificationConfig.Builder clearPubsubSubscription()

The Pub/Sub subscription the AppConnector uses to receive notifications.

string pubsub_subscription = 1;

Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public NotificationConfig.CloudPubSubNotificationConfig getDefaultInstanceForType()
Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPubsubSubscription()

public String getPubsubSubscription()

The Pub/Sub subscription the AppConnector uses to receive notifications.

string pubsub_subscription = 1;

Returns
Type Description
String

The pubsubSubscription.

getPubsubSubscriptionBytes()

public ByteString getPubsubSubscriptionBytes()

The Pub/Sub subscription the AppConnector uses to receive notifications.

string pubsub_subscription = 1;

Returns
Type Description
ByteString

The bytes for pubsubSubscription.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NotificationConfig.CloudPubSubNotificationConfig other)

public NotificationConfig.CloudPubSubNotificationConfig.Builder mergeFrom(NotificationConfig.CloudPubSubNotificationConfig other)
Parameter
Name Description
other NotificationConfig.CloudPubSubNotificationConfig
Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NotificationConfig.CloudPubSubNotificationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NotificationConfig.CloudPubSubNotificationConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig.Builder
Overrides

setPubsubSubscription(String value)

public NotificationConfig.CloudPubSubNotificationConfig.Builder setPubsubSubscription(String value)

The Pub/Sub subscription the AppConnector uses to receive notifications.

string pubsub_subscription = 1;

Parameter
Name Description
value String

The pubsubSubscription to set.

Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig.Builder

This builder for chaining.

setPubsubSubscriptionBytes(ByteString value)

public NotificationConfig.CloudPubSubNotificationConfig.Builder setPubsubSubscriptionBytes(ByteString value)

The Pub/Sub subscription the AppConnector uses to receive notifications.

string pubsub_subscription = 1;

Parameter
Name Description
value ByteString

The bytes for pubsubSubscription to set.

Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig.Builder

This builder for chaining.