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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NotificationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NotificationConfig build()
Returns
buildPartial()
public NotificationConfig buildPartial()
Returns
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
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NotificationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPubsubNotification()
public NotificationConfig.CloudPubSubNotificationConfig getPubsubNotification()
Cloud Pub/Sub Configuration to receive notifications.
.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig.CloudPubSubNotificationConfig pubsub_notification = 1;
Returns
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
Type | Description |
boolean | Whether the pubsubNotification field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NotificationConfig other)
public NotificationConfig.Builder mergeFrom(NotificationConfig other)
Parameter
Returns
public NotificationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NotificationConfig.Builder mergeFrom(Message other)
Parameter
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
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NotificationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
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
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NotificationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides