public static final class DeleteNotificationChannelRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeleteNotificationChannelRequest.Builder> implements DeleteNotificationChannelRequestOrBuilder
The `DeleteNotificationChannel` request.Protobuf type
google.monitoring.v3.DeleteNotificationChannelRequest| Modifier and Type | Method and Description |
|---|---|
DeleteNotificationChannelRequest |
build() |
DeleteNotificationChannelRequest |
buildPartial() |
DeleteNotificationChannelRequest.Builder |
clear() |
DeleteNotificationChannelRequest.Builder |
clearForce()
If true, the notification channel will be deleted regardless of its
use in alert policies (the policies will be updated to remove the
channel).
|
DeleteNotificationChannelRequest.Builder |
clearName()
Required.
|
DeleteNotificationChannelRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getForce()
If true, the notification channel will be deleted regardless of its
use in alert policies (the policies will be updated to remove the
channel).
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DeleteNotificationChannelRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DeleteNotificationChannelRequest.Builder |
mergeFrom(DeleteNotificationChannelRequest other) |
DeleteNotificationChannelRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
DeleteNotificationChannelRequest.Builder |
setForce(boolean value)
If true, the notification channel will be deleted regardless of its
use in alert policies (the policies will be updated to remove the
channel).
|
DeleteNotificationChannelRequest.Builder |
setName(String value)
Required.
|
DeleteNotificationChannelRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DeleteNotificationChannelRequest.Builder>public DeleteNotificationChannelRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<DeleteNotificationChannelRequest.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.GeneratedMessage.Builder<DeleteNotificationChannelRequest.Builder>public DeleteNotificationChannelRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DeleteNotificationChannelRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DeleteNotificationChannelRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DeleteNotificationChannelRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeleteNotificationChannelRequest.Builder>public DeleteNotificationChannelRequest.Builder mergeFrom(DeleteNotificationChannelRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<DeleteNotificationChannelRequest.Builder>public DeleteNotificationChannelRequest.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<DeleteNotificationChannelRequest.Builder>IOExceptionpublic String getName()
Required. The channel for which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface DeleteNotificationChannelRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The channel for which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface DeleteNotificationChannelRequestOrBuilderpublic DeleteNotificationChannelRequest.Builder setName(String value)
Required. The channel for which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public DeleteNotificationChannelRequest.Builder clearName()
Required. The channel for which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public DeleteNotificationChannelRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The channel for which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public boolean getForce()
If true, the notification channel will be deleted regardless of its use in alert policies (the policies will be updated to remove the channel). If false, this operation will fail if the notification channel is referenced by existing alerting policies.
bool force = 5;getForce in interface DeleteNotificationChannelRequestOrBuilderpublic DeleteNotificationChannelRequest.Builder setForce(boolean value)
If true, the notification channel will be deleted regardless of its use in alert policies (the policies will be updated to remove the channel). If false, this operation will fail if the notification channel is referenced by existing alerting policies.
bool force = 5;value - The force to set.public DeleteNotificationChannelRequest.Builder clearForce()
If true, the notification channel will be deleted regardless of its use in alert policies (the policies will be updated to remove the channel). If false, this operation will fail if the notification channel is referenced by existing alerting policies.
bool force = 5;Copyright © 2026 Google LLC. All rights reserved.