Class NotificationConfig.Builder (2.12.0)

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

NotificationConfig is the configuration of notifications.

Protobuf type google.container.v1.NotificationConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NotificationConfig build()
Returns
TypeDescription
NotificationConfig

buildPartial()

public NotificationConfig buildPartial()
Returns
TypeDescription
NotificationConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public NotificationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NotificationConfig.Builder
Overrides

clearPubsub()

public NotificationConfig.Builder clearPubsub()

Notification config for Pub/Sub.

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

Returns
TypeDescription
NotificationConfig.Builder

clone()

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

getDefaultInstanceForType()

public NotificationConfig getDefaultInstanceForType()
Returns
TypeDescription
NotificationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPubsub()

public NotificationConfig.PubSub getPubsub()

Notification config for Pub/Sub.

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

Returns
TypeDescription
NotificationConfig.PubSub

The pubsub.

getPubsubBuilder()

public NotificationConfig.PubSub.Builder getPubsubBuilder()

Notification config for Pub/Sub.

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

Returns
TypeDescription
NotificationConfig.PubSub.Builder

getPubsubOrBuilder()

public NotificationConfig.PubSubOrBuilder getPubsubOrBuilder()

Notification config for Pub/Sub.

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

Returns
TypeDescription
NotificationConfig.PubSubOrBuilder

hasPubsub()

public boolean hasPubsub()

Notification config for Pub/Sub.

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

Returns
TypeDescription
boolean

Whether the pubsub field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NotificationConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePubsub(NotificationConfig.PubSub value)

public NotificationConfig.Builder mergePubsub(NotificationConfig.PubSub value)

Notification config for Pub/Sub.

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

Parameter
NameDescription
valueNotificationConfig.PubSub
Returns
TypeDescription
NotificationConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPubsub(NotificationConfig.PubSub value)

public NotificationConfig.Builder setPubsub(NotificationConfig.PubSub value)

Notification config for Pub/Sub.

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

Parameter
NameDescription
valueNotificationConfig.PubSub
Returns
TypeDescription
NotificationConfig.Builder

setPubsub(NotificationConfig.PubSub.Builder builderForValue)

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

Notification config for Pub/Sub.

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

Parameter
NameDescription
builderForValueNotificationConfig.PubSub.Builder
Returns
TypeDescription
NotificationConfig.Builder

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

public NotificationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NotificationConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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