public static final class CreateMuteConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateMuteConfigRequest.Builder> implements CreateMuteConfigRequestOrBuilder
Request message for creating a mute config.
Protobuf type google.cloud.securitycenter.v2.CreateMuteConfigRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 CreateMuteConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateMuteConfigRequest build()
buildPartial()
public CreateMuteConfigRequest buildPartial()
clear()
public CreateMuteConfigRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateMuteConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMuteConfig()
public CreateMuteConfigRequest.Builder clearMuteConfig()
Required. The mute config being created.
.google.cloud.securitycenter.v2.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED];
clearMuteConfigId()
public CreateMuteConfigRequest.Builder clearMuteConfigId()
Required. Unique identifier provided by the client within the parent scope.
It must consist of only lowercase letters, numbers, and hyphens, must start
with a letter, must end with either a letter or a number, and must be 63
characters or less.
string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateMuteConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateMuteConfigRequest.Builder clearParent()
Required. Resource name of the new mute configs's parent. Its format is
"organizations/[organization_id]/locations/[location_id]",
"folders/[folder_id]/locations/[location_id]", or
"projects/[project_id]/locations/[location_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateMuteConfigRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateMuteConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMuteConfig()
public MuteConfig getMuteConfig()
Required. The mute config being created.
.google.cloud.securitycenter.v2.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED];
getMuteConfigBuilder()
public MuteConfig.Builder getMuteConfigBuilder()
Required. The mute config being created.
.google.cloud.securitycenter.v2.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED];
getMuteConfigId()
public String getMuteConfigId()
Required. Unique identifier provided by the client within the parent scope.
It must consist of only lowercase letters, numbers, and hyphens, must start
with a letter, must end with either a letter or a number, and must be 63
characters or less.
string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The muteConfigId.
|
getMuteConfigIdBytes()
public ByteString getMuteConfigIdBytes()
Required. Unique identifier provided by the client within the parent scope.
It must consist of only lowercase letters, numbers, and hyphens, must start
with a letter, must end with either a letter or a number, and must be 63
characters or less.
string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for muteConfigId.
|
getMuteConfigOrBuilder()
public MuteConfigOrBuilder getMuteConfigOrBuilder()
Required. The mute config being created.
.google.cloud.securitycenter.v2.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED];
getParent()
public String getParent()
Required. Resource name of the new mute configs's parent. Its format is
"organizations/[organization_id]/locations/[location_id]",
"folders/[folder_id]/locations/[location_id]", or
"projects/[project_id]/locations/[location_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 mute configs's parent. Its format is
"organizations/[organization_id]/locations/[location_id]",
"folders/[folder_id]/locations/[location_id]", or
"projects/[project_id]/locations/[location_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
hasMuteConfig()
public boolean hasMuteConfig()
Required. The mute config being created.
.google.cloud.securitycenter.v2.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the muteConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateMuteConfigRequest other)
public CreateMuteConfigRequest.Builder mergeFrom(CreateMuteConfigRequest other)
public CreateMuteConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateMuteConfigRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeMuteConfig(MuteConfig value)
public CreateMuteConfigRequest.Builder mergeMuteConfig(MuteConfig value)
Required. The mute config being created.
.google.cloud.securitycenter.v2.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateMuteConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateMuteConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMuteConfig(MuteConfig value)
public CreateMuteConfigRequest.Builder setMuteConfig(MuteConfig value)
Required. The mute config being created.
.google.cloud.securitycenter.v2.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED];
setMuteConfig(MuteConfig.Builder builderForValue)
public CreateMuteConfigRequest.Builder setMuteConfig(MuteConfig.Builder builderForValue)
Required. The mute config being created.
.google.cloud.securitycenter.v2.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED];
setMuteConfigId(String value)
public CreateMuteConfigRequest.Builder setMuteConfigId(String value)
Required. Unique identifier provided by the client within the parent scope.
It must consist of only lowercase letters, numbers, and hyphens, must start
with a letter, must end with either a letter or a number, and must be 63
characters or less.
string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The muteConfigId to set.
|
setMuteConfigIdBytes(ByteString value)
public CreateMuteConfigRequest.Builder setMuteConfigIdBytes(ByteString value)
Required. Unique identifier provided by the client within the parent scope.
It must consist of only lowercase letters, numbers, and hyphens, must start
with a letter, must end with either a letter or a number, and must be 63
characters or less.
string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for muteConfigId to set.
|
setParent(String value)
public CreateMuteConfigRequest.Builder setParent(String value)
Required. Resource name of the new mute configs's parent. Its format is
"organizations/[organization_id]/locations/[location_id]",
"folders/[folder_id]/locations/[location_id]", or
"projects/[project_id]/locations/[location_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 CreateMuteConfigRequest.Builder setParentBytes(ByteString value)
Required. Resource name of the new mute configs's parent. Its format is
"organizations/[organization_id]/locations/[location_id]",
"folders/[folder_id]/locations/[location_id]", or
"projects/[project_id]/locations/[location_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 CreateMuteConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateMuteConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides