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.v1p1beta1.CreateNotificationConfigRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateNotificationConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateNotificationConfigRequest build()
buildPartial()
public CreateNotificationConfigRequest buildPartial()
clear()
public CreateNotificationConfigRequest.Builder clear()
Overrides
clearConfigId()
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];
clearField(Descriptors.FieldDescriptor field)
public CreateNotificationConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNotificationConfig()
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.v1p1beta1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateNotificationConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
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) = { ... }
clone()
public CreateNotificationConfigRequest.Builder clone()
Overrides
getConfigId()
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];
Returns |
---|
Type | Description |
String | The configId.
|
getConfigIdBytes()
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];
Returns |
---|
Type | Description |
ByteString | The bytes for configId.
|
getDefaultInstanceForType()
public CreateNotificationConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNotificationConfig()
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.v1p1beta1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
getNotificationConfigBuilder()
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.v1p1beta1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
getNotificationConfigOrBuilder()
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.v1p1beta1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
getParent()
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) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
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) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
hasNotificationConfig()
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.v1p1beta1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the notificationConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateNotificationConfigRequest other)
public CreateNotificationConfigRequest.Builder mergeFrom(CreateNotificationConfigRequest other)
public CreateNotificationConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateNotificationConfigRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeNotificationConfig(NotificationConfig value)
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.v1p1beta1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateNotificationConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setConfigId(String value)
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];
Parameter |
---|
Name | Description |
value | String
The configId to set.
|
setConfigIdBytes(ByteString value)
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];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for configId to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateNotificationConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNotificationConfig(NotificationConfig value)
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.v1p1beta1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
setNotificationConfig(NotificationConfig.Builder builderForValue)
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.v1p1beta1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
setParent(String value)
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) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
setParentBytes(ByteString value)
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) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateNotificationConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateNotificationConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides