public static final class CreateNotificationConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder> implements CreateNotificationConfigRequestOrBuilder
Request message for creating a notification config.Protobuf type
google.cloud.securitycenter.v1.CreateNotificationConfigRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>
public CreateNotificationConfigRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>
public CreateNotificationConfigRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public CreateNotificationConfigRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public CreateNotificationConfigRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public CreateNotificationConfigRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>
public CreateNotificationConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>
public CreateNotificationConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>
public CreateNotificationConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>
public CreateNotificationConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>
public CreateNotificationConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>
public CreateNotificationConfigRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<CreateNotificationConfigRequest.Builder>
public CreateNotificationConfigRequest.Builder mergeFrom(CreateNotificationConfigRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>
public CreateNotificationConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<CreateNotificationConfigRequest.Builder>
IOException
public String getParent()
Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent
in interface CreateNotificationConfigRequestOrBuilder
public ByteString getParentBytes()
Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes
in interface CreateNotificationConfigRequestOrBuilder
public CreateNotificationConfigRequest.Builder setParent(String value)
Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_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]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CreateNotificationConfigRequest.Builder setParentBytes(ByteString value)
Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_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 contains alphanumeric characters, underscores or hyphens only.
string config_id = 2 [(.google.api.field_behavior) = REQUIRED];
getConfigId
in interface CreateNotificationConfigRequestOrBuilder
public ByteString getConfigIdBytes()
Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters, and contains alphanumeric characters, underscores or hyphens only.
string config_id = 2 [(.google.api.field_behavior) = REQUIRED];
getConfigIdBytes
in interface CreateNotificationConfigRequestOrBuilder
public 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 contains 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 contains alphanumeric characters, underscores or hyphens only.
string config_id = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateNotificationConfigRequest.Builder setConfigIdBytes(ByteString value)
Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters, and contains 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 CreateNotificationConfigRequestOrBuilder
public 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 CreateNotificationConfigRequestOrBuilder
public 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 CreateNotificationConfigRequestOrBuilder
public final CreateNotificationConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>
public final CreateNotificationConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<CreateNotificationConfigRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.