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
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 NotificationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NotificationConfig build()
buildPartial()
public NotificationConfig buildPartial()
clear()
public NotificationConfig.Builder clear()
Overrides
clearConfig()
public NotificationConfig.Builder clearConfig()
clearField(Descriptors.FieldDescriptor field)
public NotificationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NotificationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPubsubNotification()
public NotificationConfig.Builder clearPubsubNotification()
Cloud Pub/Sub Configuration to receive notifications.
.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig.CloudPubSubNotificationConfig pubsub_notification = 1;
clone()
public NotificationConfig.Builder clone()
Overrides
getConfigCase()
public NotificationConfig.ConfigCase getConfigCase()
getDefaultInstanceForType()
public NotificationConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPubsubNotification()
public NotificationConfig.CloudPubSubNotificationConfig getPubsubNotification()
Cloud Pub/Sub Configuration to receive notifications.
.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig.CloudPubSubNotificationConfig pubsub_notification = 1;
getPubsubNotificationBuilder()
public NotificationConfig.CloudPubSubNotificationConfig.Builder getPubsubNotificationBuilder()
Cloud Pub/Sub Configuration to receive notifications.
.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig.CloudPubSubNotificationConfig pubsub_notification = 1;
getPubsubNotificationOrBuilder()
public NotificationConfig.CloudPubSubNotificationConfigOrBuilder getPubsubNotificationOrBuilder()
Cloud Pub/Sub Configuration to receive notifications.
.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig.CloudPubSubNotificationConfig pubsub_notification = 1;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NotificationConfig other)
public NotificationConfig.Builder mergeFrom(NotificationConfig other)
public NotificationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NotificationConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NotificationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NotificationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NotificationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NotificationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides