Class NotificationConfig.CloudPubSubNotificationConfig.Builder (0.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NotificationConfig.CloudPubSubNotificationConfig build()
Returns
TypeDescription
NotificationConfig.CloudPubSubNotificationConfig

buildPartial()

public NotificationConfig.CloudPubSubNotificationConfig buildPartial()
Returns
TypeDescription
NotificationConfig.CloudPubSubNotificationConfig

clear()

public NotificationConfig.CloudPubSubNotificationConfig.Builder clear()
Returns
TypeDescription
NotificationConfig.CloudPubSubNotificationConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public NotificationConfig.CloudPubSubNotificationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
NotificationConfig.CloudPubSubNotificationConfig.Builder

This builder for chaining.

clone()

public NotificationConfig.CloudPubSubNotificationConfig.Builder clone()
Returns
TypeDescription
NotificationConfig.CloudPubSubNotificationConfig.Builder
Overrides

getDefaultInstanceForType()

public NotificationConfig.CloudPubSubNotificationConfig getDefaultInstanceForType()
Returns
TypeDescription
NotificationConfig.CloudPubSubNotificationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPubsubSubscription()

public String getPubsubSubscription()

The Pub/Sub subscription the AppConnector uses to receive notifications.

string pubsub_subscription = 1;

Returns
TypeDescription
String

The pubsubSubscription.

getPubsubSubscriptionBytes()

public ByteString getPubsubSubscriptionBytes()

The Pub/Sub subscription the AppConnector uses to receive notifications.

string pubsub_subscription = 1;

Returns
TypeDescription
ByteString

The bytes for pubsubSubscription.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NotificationConfig.CloudPubSubNotificationConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public NotificationConfig.CloudPubSubNotificationConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NotificationConfig.CloudPubSubNotificationConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public NotificationConfig.CloudPubSubNotificationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The pubsubSubscription to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pubsubSubscription to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NotificationConfig.CloudPubSubNotificationConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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