public static final class NotificationConfig.Builder extends GeneratedMessageV3.Builder<NotificationConfig.Builder> implements NotificationConfigOrBuilder
NotificationConfig is the configuration of notifications.
Protobuf type google.container.v1beta1.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NotificationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NotificationConfig build()
Returns
buildPartial()
public NotificationConfig buildPartial()
Returns
clear()
public NotificationConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public NotificationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NotificationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPubsub()
public NotificationConfig.Builder clearPubsub()
Notification config for Pub/Sub.
.google.container.v1beta1.NotificationConfig.PubSub pubsub = 1;
Returns
clone()
public NotificationConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public NotificationConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPubsub()
public NotificationConfig.PubSub getPubsub()
Notification config for Pub/Sub.
.google.container.v1beta1.NotificationConfig.PubSub pubsub = 1;
Returns
getPubsubBuilder()
public NotificationConfig.PubSub.Builder getPubsubBuilder()
Notification config for Pub/Sub.
.google.container.v1beta1.NotificationConfig.PubSub pubsub = 1;
Returns
getPubsubOrBuilder()
public NotificationConfig.PubSubOrBuilder getPubsubOrBuilder()
Notification config for Pub/Sub.
.google.container.v1beta1.NotificationConfig.PubSub pubsub = 1;
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NotificationConfig other)
public NotificationConfig.Builder mergeFrom(NotificationConfig other)
Parameter
Returns
public NotificationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NotificationConfig.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NotificationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NotificationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPubsub(NotificationConfig.PubSub value)
public NotificationConfig.Builder setPubsub(NotificationConfig.PubSub value)
Notification config for Pub/Sub.
.google.container.v1beta1.NotificationConfig.PubSub pubsub = 1;
Parameter
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NotificationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NotificationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides