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.v1.CreateMuteConfigRequest
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<CreateMuteConfigRequest.Builder>
public CreateMuteConfigRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<CreateMuteConfigRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<CreateMuteConfigRequest.Builder>
public CreateMuteConfigRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public CreateMuteConfigRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public CreateMuteConfigRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public CreateMuteConfigRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<CreateMuteConfigRequest.Builder>
public CreateMuteConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<CreateMuteConfigRequest.Builder>
public CreateMuteConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<CreateMuteConfigRequest.Builder>
public CreateMuteConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<CreateMuteConfigRequest.Builder>
public CreateMuteConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<CreateMuteConfigRequest.Builder>
public CreateMuteConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<CreateMuteConfigRequest.Builder>
public CreateMuteConfigRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<CreateMuteConfigRequest.Builder>
public CreateMuteConfigRequest.Builder mergeFrom(CreateMuteConfigRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<CreateMuteConfigRequest.Builder>
public CreateMuteConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<CreateMuteConfigRequest.Builder>
IOException
public String getParent()
Required. Resource name of the new mute configs'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 CreateMuteConfigRequestOrBuilder
public ByteString getParentBytes()
Required. Resource name of the new mute configs'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 CreateMuteConfigRequestOrBuilder
public CreateMuteConfigRequest.Builder setParent(String value)
Required. Resource name of the new mute configs'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 CreateMuteConfigRequest.Builder clearParent()
Required. Resource name of the new mute configs'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 CreateMuteConfigRequest.Builder setParentBytes(ByteString value)
Required. Resource name of the new mute configs'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 boolean hasMuteConfig()
Required. The mute config being created.
.google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED];
hasMuteConfig
in interface CreateMuteConfigRequestOrBuilder
public MuteConfig getMuteConfig()
Required. The mute config being created.
.google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED];
getMuteConfig
in interface CreateMuteConfigRequestOrBuilder
public CreateMuteConfigRequest.Builder setMuteConfig(MuteConfig value)
Required. The mute config being created.
.google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateMuteConfigRequest.Builder setMuteConfig(MuteConfig.Builder builderForValue)
Required. The mute config being created.
.google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateMuteConfigRequest.Builder mergeMuteConfig(MuteConfig value)
Required. The mute config being created.
.google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateMuteConfigRequest.Builder clearMuteConfig()
Required. The mute config being created.
.google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED];
public MuteConfig.Builder getMuteConfigBuilder()
Required. The mute config being created.
.google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED];
public MuteConfigOrBuilder getMuteConfigOrBuilder()
Required. The mute config being created.
.google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED];
getMuteConfigOrBuilder
in interface CreateMuteConfigRequestOrBuilder
public String getMuteConfigId()
Required. Unique identifier provided by the client within the parent scope. It must consist of lower case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED];
getMuteConfigId
in interface CreateMuteConfigRequestOrBuilder
public ByteString getMuteConfigIdBytes()
Required. Unique identifier provided by the client within the parent scope. It must consist of lower case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED];
getMuteConfigIdBytes
in interface CreateMuteConfigRequestOrBuilder
public CreateMuteConfigRequest.Builder setMuteConfigId(String value)
Required. Unique identifier provided by the client within the parent scope. It must consist of lower case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED];
value
- The muteConfigId to set.public CreateMuteConfigRequest.Builder clearMuteConfigId()
Required. Unique identifier provided by the client within the parent scope. It must consist of lower case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateMuteConfigRequest.Builder setMuteConfigIdBytes(ByteString value)
Required. Unique identifier provided by the client within the parent scope. It must consist of lower case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for muteConfigId to set.public final CreateMuteConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<CreateMuteConfigRequest.Builder>
public final CreateMuteConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<CreateMuteConfigRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.