Class NotificationConfig.Builder (2.86.0)

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

NotificationConfig is the configuration of notifications.

Protobuf type google.container.v1beta1.NotificationConfig

Static Methods

getDescriptor()

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

Methods

build()

public NotificationConfig build()
Returns
Type Description
NotificationConfig

buildPartial()

public NotificationConfig buildPartial()
Returns
Type Description
NotificationConfig

clear()

public NotificationConfig.Builder clear()
Returns
Type Description
NotificationConfig.Builder
Overrides

clearPubsub()

public NotificationConfig.Builder clearPubsub()

Notification config for Pub/Sub.

.google.container.v1beta1.NotificationConfig.PubSub pubsub = 1;

Returns
Type Description
NotificationConfig.Builder

getDefaultInstanceForType()

public NotificationConfig getDefaultInstanceForType()
Returns
Type Description
NotificationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPubsub()

public NotificationConfig.PubSub getPubsub()

Notification config for Pub/Sub.

.google.container.v1beta1.NotificationConfig.PubSub pubsub = 1;

Returns
Type Description
NotificationConfig.PubSub

The pubsub.

getPubsubBuilder()

public NotificationConfig.PubSub.Builder getPubsubBuilder()

Notification config for Pub/Sub.

.google.container.v1beta1.NotificationConfig.PubSub pubsub = 1;

Returns
Type Description
NotificationConfig.PubSub.Builder

getPubsubOrBuilder()

public NotificationConfig.PubSubOrBuilder getPubsubOrBuilder()

Notification config for Pub/Sub.

.google.container.v1beta1.NotificationConfig.PubSub pubsub = 1;

Returns
Type Description
NotificationConfig.PubSubOrBuilder

hasPubsub()

public boolean hasPubsub()

Notification config for Pub/Sub.

.google.container.v1beta1.NotificationConfig.PubSub pubsub = 1;

Returns
Type Description
boolean

Whether the pubsub field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NotificationConfig other)

public NotificationConfig.Builder mergeFrom(NotificationConfig other)
Parameter
Name Description
other NotificationConfig
Returns
Type Description
NotificationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NotificationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotificationConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NotificationConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NotificationConfig.Builder
Overrides

mergePubsub(NotificationConfig.PubSub value)

public NotificationConfig.Builder mergePubsub(NotificationConfig.PubSub value)

Notification config for Pub/Sub.

.google.container.v1beta1.NotificationConfig.PubSub pubsub = 1;

Parameter
Name Description
value NotificationConfig.PubSub
Returns
Type Description
NotificationConfig.Builder

setPubsub(NotificationConfig.PubSub value)

public NotificationConfig.Builder setPubsub(NotificationConfig.PubSub value)

Notification config for Pub/Sub.

.google.container.v1beta1.NotificationConfig.PubSub pubsub = 1;

Parameter
Name Description
value NotificationConfig.PubSub
Returns
Type Description
NotificationConfig.Builder

setPubsub(NotificationConfig.PubSub.Builder builderForValue)

public NotificationConfig.Builder setPubsub(NotificationConfig.PubSub.Builder builderForValue)

Notification config for Pub/Sub.

.google.container.v1beta1.NotificationConfig.PubSub pubsub = 1;

Parameter
Name Description
builderForValue NotificationConfig.PubSub.Builder
Returns
Type Description
NotificationConfig.Builder