public static final class CreateNotificationChannelRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationChannelRequest.Builder> implements CreateNotificationChannelRequestOrBuilder
The `CreateNotificationChannel` request.Protobuf type
google.monitoring.v3.CreateNotificationChannelRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationChannelRequest.Builder>public CreateNotificationChannelRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationChannelRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationChannelRequest.Builder>public CreateNotificationChannelRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateNotificationChannelRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateNotificationChannelRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateNotificationChannelRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationChannelRequest.Builder>public CreateNotificationChannelRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationChannelRequest.Builder>public CreateNotificationChannelRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationChannelRequest.Builder>public CreateNotificationChannelRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationChannelRequest.Builder>public CreateNotificationChannelRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationChannelRequest.Builder>public CreateNotificationChannelRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationChannelRequest.Builder>public CreateNotificationChannelRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateNotificationChannelRequest.Builder>public CreateNotificationChannelRequest.Builder mergeFrom(CreateNotificationChannelRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationChannelRequest.Builder>public CreateNotificationChannelRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateNotificationChannelRequest.Builder>IOExceptionpublic String getName()
Required. The
[project](https://cloud.google.com/monitoring/api/v3#project_name) on which
to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
This names the container into which the channel will be
written, this does not name the newly created channel. The resulting
channel's name will have a normalized version of this field as a prefix,
but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface CreateNotificationChannelRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The
[project](https://cloud.google.com/monitoring/api/v3#project_name) on which
to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
This names the container into which the channel will be
written, this does not name the newly created channel. The resulting
channel's name will have a normalized version of this field as a prefix,
but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface CreateNotificationChannelRequestOrBuilderpublic CreateNotificationChannelRequest.Builder setName(String value)
Required. The
[project](https://cloud.google.com/monitoring/api/v3#project_name) on which
to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
This names the container into which the channel will be
written, this does not name the newly created channel. The resulting
channel's name will have a normalized version of this field as a prefix,
but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public CreateNotificationChannelRequest.Builder clearName()
Required. The
[project](https://cloud.google.com/monitoring/api/v3#project_name) on which
to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
This names the container into which the channel will be
written, this does not name the newly created channel. The resulting
channel's name will have a normalized version of this field as a prefix,
but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CreateNotificationChannelRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The
[project](https://cloud.google.com/monitoring/api/v3#project_name) on which
to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
This names the container into which the channel will be
written, this does not name the newly created channel. The resulting
channel's name will have a normalized version of this field as a prefix,
but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public boolean hasNotificationChannel()
Required. The definition of the `NotificationChannel` to create.
.google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED];
hasNotificationChannel in interface CreateNotificationChannelRequestOrBuilderpublic NotificationChannel getNotificationChannel()
Required. The definition of the `NotificationChannel` to create.
.google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED];
getNotificationChannel in interface CreateNotificationChannelRequestOrBuilderpublic CreateNotificationChannelRequest.Builder setNotificationChannel(NotificationChannel value)
Required. The definition of the `NotificationChannel` to create.
.google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateNotificationChannelRequest.Builder setNotificationChannel(NotificationChannel.Builder builderForValue)
Required. The definition of the `NotificationChannel` to create.
.google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateNotificationChannelRequest.Builder mergeNotificationChannel(NotificationChannel value)
Required. The definition of the `NotificationChannel` to create.
.google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateNotificationChannelRequest.Builder clearNotificationChannel()
Required. The definition of the `NotificationChannel` to create.
.google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED];
public NotificationChannel.Builder getNotificationChannelBuilder()
Required. The definition of the `NotificationChannel` to create.
.google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED];
public NotificationChannelOrBuilder getNotificationChannelOrBuilder()
Required. The definition of the `NotificationChannel` to create.
.google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED];
getNotificationChannelOrBuilder in interface CreateNotificationChannelRequestOrBuilderpublic final CreateNotificationChannelRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationChannelRequest.Builder>public final CreateNotificationChannelRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationChannelRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.