Class NotificationConfig.CloudPubSubNotificationConfig.Builder (0.53.0)

public static final class NotificationConfig.CloudPubSubNotificationConfig.Builder extends GeneratedMessageV3.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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NotificationConfig.CloudPubSubNotificationConfig.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NotificationConfig.CloudPubSubNotificationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public NotificationConfig.CloudPubSubNotificationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NotificationConfig.CloudPubSubNotificationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NotificationConfig.CloudPubSubNotificationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NotificationConfig.CloudPubSubNotificationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

public NotificationConfig.CloudPubSubNotificationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NotificationConfig.CloudPubSubNotificationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NotificationConfig.CloudPubSubNotificationConfig.Builder
Overrides