public static final class DeleteNotificationChannelRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeleteNotificationChannelRequest.Builder> implements DeleteNotificationChannelRequestOrBuilder
The `DeleteNotificationChannel` request.Protobuf type
google.monitoring.v3.DeleteNotificationChannelRequest| Modifier and Type | Method and Description |
|---|---|
DeleteNotificationChannelRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DeleteNotificationChannelRequest |
build() |
DeleteNotificationChannelRequest |
buildPartial() |
DeleteNotificationChannelRequest.Builder |
clear() |
DeleteNotificationChannelRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DeleteNotificationChannelRequest.Builder |
clone() |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DeleteNotificationChannelRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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.
|
DeleteNotificationChannelRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DeleteNotificationChannelRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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<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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteNotificationChannelRequest.Builder>public DeleteNotificationChannelRequest.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<DeleteNotificationChannelRequest.Builder>public DeleteNotificationChannelRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteNotificationChannelRequest.Builder>public DeleteNotificationChannelRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteNotificationChannelRequest.Builder>public DeleteNotificationChannelRequest.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<DeleteNotificationChannelRequest.Builder>public DeleteNotificationChannelRequest.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<DeleteNotificationChannelRequest.Builder>public 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.GeneratedMessageV3.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, channels that are still referenced by an existing alerting policy will fail to be deleted in a delete operation.
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, channels that are still referenced by an existing alerting policy will fail to be deleted in a delete operation.
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, channels that are still referenced by an existing alerting policy will fail to be deleted in a delete operation.
bool force = 5;public final DeleteNotificationChannelRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteNotificationChannelRequest.Builder>public final DeleteNotificationChannelRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteNotificationChannelRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.