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
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NotificationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NotificationConfig build()
buildPartial()
public NotificationConfig buildPartial()
clear()
public NotificationConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public NotificationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NotificationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPubsub()
public NotificationConfig.Builder clearPubsub()
Notification config for Pub/Sub.
.google.container.v1.NotificationConfig.PubSub pubsub = 1;
clone()
public NotificationConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public NotificationConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPubsub()
public NotificationConfig.PubSub getPubsub()
Notification config for Pub/Sub.
.google.container.v1.NotificationConfig.PubSub pubsub = 1;
getPubsubBuilder()
public NotificationConfig.PubSub.Builder getPubsubBuilder()
Notification config for Pub/Sub.
.google.container.v1.NotificationConfig.PubSub pubsub = 1;
getPubsubOrBuilder()
public NotificationConfig.PubSubOrBuilder getPubsubOrBuilder()
Notification config for Pub/Sub.
.google.container.v1.NotificationConfig.PubSub pubsub = 1;
hasPubsub()
public boolean hasPubsub()
Notification config for Pub/Sub.
.google.container.v1.NotificationConfig.PubSub pubsub = 1;
Returns |
---|
Type | Description |
boolean | Whether the pubsub field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NotificationConfig other)
public NotificationConfig.Builder mergeFrom(NotificationConfig other)
public NotificationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NotificationConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergePubsub(NotificationConfig.PubSub value)
public NotificationConfig.Builder mergePubsub(NotificationConfig.PubSub value)
Notification config for Pub/Sub.
.google.container.v1.NotificationConfig.PubSub pubsub = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NotificationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NotificationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPubsub(NotificationConfig.PubSub value)
public NotificationConfig.Builder setPubsub(NotificationConfig.PubSub value)
Notification config for Pub/Sub.
.google.container.v1.NotificationConfig.PubSub pubsub = 1;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NotificationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NotificationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides