public static final class CreateNotificationConfigRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder> implements CreateNotificationConfigRequestOrBuilder
Request message for creating a notification config.Protobuf type
google.cloud.securitycenter.v1.CreateNotificationConfigRequestgetAllFields, 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<CreateNotificationConfigRequest.Builder>public CreateNotificationConfigRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationConfigRequest.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<CreateNotificationConfigRequest.Builder>public CreateNotificationConfigRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateNotificationConfigRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateNotificationConfigRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateNotificationConfigRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>public CreateNotificationConfigRequest.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<CreateNotificationConfigRequest.Builder>public CreateNotificationConfigRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>public CreateNotificationConfigRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>public CreateNotificationConfigRequest.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<CreateNotificationConfigRequest.Builder>public CreateNotificationConfigRequest.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<CreateNotificationConfigRequest.Builder>public CreateNotificationConfigRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateNotificationConfigRequest.Builder>public CreateNotificationConfigRequest.Builder mergeFrom(CreateNotificationConfigRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>public CreateNotificationConfigRequest.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<CreateNotificationConfigRequest.Builder>IOExceptionpublic String getParent()
Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface CreateNotificationConfigRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface CreateNotificationConfigRequestOrBuilderpublic CreateNotificationConfigRequest.Builder setParent(String value)
Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public CreateNotificationConfigRequest.Builder clearParent()
Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CreateNotificationConfigRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public String getConfigId()
Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.
string config_id = 2 [(.google.api.field_behavior) = REQUIRED];getConfigId in interface CreateNotificationConfigRequestOrBuilderpublic com.google.protobuf.ByteString getConfigIdBytes()
Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.
string config_id = 2 [(.google.api.field_behavior) = REQUIRED];getConfigIdBytes in interface CreateNotificationConfigRequestOrBuilderpublic CreateNotificationConfigRequest.Builder setConfigId(String value)
Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.
string config_id = 2 [(.google.api.field_behavior) = REQUIRED];value - The configId to set.public CreateNotificationConfigRequest.Builder clearConfigId()
Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.
string config_id = 2 [(.google.api.field_behavior) = REQUIRED];public CreateNotificationConfigRequest.Builder setConfigIdBytes(com.google.protobuf.ByteString value)
Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.
string config_id = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for configId to set.public boolean hasNotificationConfig()
Required. The notification config being created. The name and the service account will be ignored as they are both output only fields on this resource.
.google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
hasNotificationConfig in interface CreateNotificationConfigRequestOrBuilderpublic NotificationConfig getNotificationConfig()
Required. The notification config being created. The name and the service account will be ignored as they are both output only fields on this resource.
.google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
getNotificationConfig in interface CreateNotificationConfigRequestOrBuilderpublic CreateNotificationConfigRequest.Builder setNotificationConfig(NotificationConfig value)
Required. The notification config being created. The name and the service account will be ignored as they are both output only fields on this resource.
.google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateNotificationConfigRequest.Builder setNotificationConfig(NotificationConfig.Builder builderForValue)
Required. The notification config being created. The name and the service account will be ignored as they are both output only fields on this resource.
.google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateNotificationConfigRequest.Builder mergeNotificationConfig(NotificationConfig value)
Required. The notification config being created. The name and the service account will be ignored as they are both output only fields on this resource.
.google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateNotificationConfigRequest.Builder clearNotificationConfig()
Required. The notification config being created. The name and the service account will be ignored as they are both output only fields on this resource.
.google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
public NotificationConfig.Builder getNotificationConfigBuilder()
Required. The notification config being created. The name and the service account will be ignored as they are both output only fields on this resource.
.google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
public NotificationConfigOrBuilder getNotificationConfigOrBuilder()
Required. The notification config being created. The name and the service account will be ignored as they are both output only fields on this resource.
.google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
getNotificationConfigOrBuilder in interface CreateNotificationConfigRequestOrBuilderpublic final CreateNotificationConfigRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>public final CreateNotificationConfigRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.