Class NotificationConfig.Builder (0.83.0)

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

NotificationConfig defines the mechanisms to notify instance agent.

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

Static Methods

getDescriptor()

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

Methods

build()

public NotificationConfig build()
Returns
Type Description
NotificationConfig

buildPartial()

public NotificationConfig buildPartial()
Returns
Type Description
NotificationConfig

clear()

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

clearConfig()

public NotificationConfig.Builder clearConfig()
Returns
Type Description
NotificationConfig.Builder

clearPubsubNotification()

public NotificationConfig.Builder clearPubsubNotification()

Cloud Pub/Sub Configuration to receive notifications.

.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig.CloudPubSubNotificationConfig pubsub_notification = 1;

Returns
Type Description
NotificationConfig.Builder

getConfigCase()

public NotificationConfig.ConfigCase getConfigCase()
Returns
Type Description
NotificationConfig.ConfigCase

getDefaultInstanceForType()

public NotificationConfig getDefaultInstanceForType()
Returns
Type Description
NotificationConfig

getDescriptorForType()

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

getPubsubNotification()

public NotificationConfig.CloudPubSubNotificationConfig getPubsubNotification()

Cloud Pub/Sub Configuration to receive notifications.

.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig.CloudPubSubNotificationConfig pubsub_notification = 1;

Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig

The pubsubNotification.

getPubsubNotificationBuilder()

public NotificationConfig.CloudPubSubNotificationConfig.Builder getPubsubNotificationBuilder()

Cloud Pub/Sub Configuration to receive notifications.

.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig.CloudPubSubNotificationConfig pubsub_notification = 1;

Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig.Builder

getPubsubNotificationOrBuilder()

public NotificationConfig.CloudPubSubNotificationConfigOrBuilder getPubsubNotificationOrBuilder()

Cloud Pub/Sub Configuration to receive notifications.

.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig.CloudPubSubNotificationConfig pubsub_notification = 1;

Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfigOrBuilder

hasPubsubNotification()

public boolean hasPubsubNotification()

Cloud Pub/Sub Configuration to receive notifications.

.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig.CloudPubSubNotificationConfig pubsub_notification = 1;

Returns
Type Description
boolean

Whether the pubsubNotification field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NotificationConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePubsubNotification(NotificationConfig.CloudPubSubNotificationConfig value)

public NotificationConfig.Builder mergePubsubNotification(NotificationConfig.CloudPubSubNotificationConfig value)

Cloud Pub/Sub Configuration to receive notifications.

.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig.CloudPubSubNotificationConfig pubsub_notification = 1;

Parameter
Name Description
value NotificationConfig.CloudPubSubNotificationConfig
Returns
Type Description
NotificationConfig.Builder

setPubsubNotification(NotificationConfig.CloudPubSubNotificationConfig value)

public NotificationConfig.Builder setPubsubNotification(NotificationConfig.CloudPubSubNotificationConfig value)

Cloud Pub/Sub Configuration to receive notifications.

.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig.CloudPubSubNotificationConfig pubsub_notification = 1;

Parameter
Name Description
value NotificationConfig.CloudPubSubNotificationConfig
Returns
Type Description
NotificationConfig.Builder

setPubsubNotification(NotificationConfig.CloudPubSubNotificationConfig.Builder builderForValue)

public NotificationConfig.Builder setPubsubNotification(NotificationConfig.CloudPubSubNotificationConfig.Builder builderForValue)

Cloud Pub/Sub Configuration to receive notifications.

.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig.CloudPubSubNotificationConfig pubsub_notification = 1;

Parameter
Name Description
builderForValue NotificationConfig.CloudPubSubNotificationConfig.Builder
Returns
Type Description
NotificationConfig.Builder