Class NotificationConfig.Builder (0.1.0)

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

NotificationConfig defines the mechanisms to notify instance agent.

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

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NotificationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

build()

public NotificationConfig build()
Returns
TypeDescription
NotificationConfig

buildPartial()

public NotificationConfig buildPartial()
Returns
TypeDescription
NotificationConfig

clear()

public NotificationConfig.Builder clear()
Returns Overrides

clearConfig()

public NotificationConfig.Builder clearConfig()
Returns

clearField(Descriptors.FieldDescriptor field)

public NotificationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NotificationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns Overrides

clearPubsubNotification()

public NotificationConfig.Builder clearPubsubNotification()

Cloud Pub/Sub Configuration to receive notifications.

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

Returns

clone()

public NotificationConfig.Builder clone()
Returns Overrides

getConfigCase()

public NotificationConfig.ConfigCase getConfigCase()
Returns

getDefaultInstanceForType()

public NotificationConfig getDefaultInstanceForType()
Returns
TypeDescription
NotificationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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

getPubsubNotificationOrBuilder()

public NotificationConfig.CloudPubSubNotificationConfigOrBuilder getPubsubNotificationOrBuilder()

Cloud Pub/Sub Configuration to receive notifications.

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

Returns

hasPubsubNotification()

public boolean hasPubsubNotification()

Cloud Pub/Sub Configuration to receive notifications.

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

Returns
TypeDescription
boolean

Whether the pubsubNotification field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NotificationConfig other)

public NotificationConfig.Builder mergeFrom(NotificationConfig other)
Parameter
NameDescription
otherNotificationConfig
Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NotificationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NotificationConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns 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 Returns

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NotificationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NotificationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

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 Returns

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 Returns

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NotificationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NotificationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides