public static final class GetMuteConfigRequest.Builder extends GeneratedMessageV3.Builder<GetMuteConfigRequest.Builder> implements GetMuteConfigRequestOrBuilder
Request message for retrieving a mute config.
Protobuf type google.cloud.securitycenter.v1.GetMuteConfigRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetMuteConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetMuteConfigRequest build()
Returns
buildPartial()
public GetMuteConfigRequest buildPartial()
Returns
clear()
public GetMuteConfigRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetMuteConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public GetMuteConfigRequest.Builder clearName()
Required. Name of the mute config to retrieve. Its format is
organizations/{organization}/muteConfigs/{config_id},
folders/{folder}/muteConfigs/{config_id}, or
projects/{project}/muteConfigs/{config_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GetMuteConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public GetMuteConfigRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetMuteConfigRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Required. Name of the mute config to retrieve. Its format is
organizations/{organization}/muteConfigs/{config_id},
folders/{folder}/muteConfigs/{config_id}, or
projects/{project}/muteConfigs/{config_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Name of the mute config to retrieve. Its format is
organizations/{organization}/muteConfigs/{config_id},
folders/{folder}/muteConfigs/{config_id}, or
projects/{project}/muteConfigs/{config_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetMuteConfigRequest other)
public GetMuteConfigRequest.Builder mergeFrom(GetMuteConfigRequest other)
Parameter
Returns
public GetMuteConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetMuteConfigRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetMuteConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetMuteConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public GetMuteConfigRequest.Builder setName(String value)
Required. Name of the mute config to retrieve. Its format is
organizations/{organization}/muteConfigs/{config_id},
folders/{folder}/muteConfigs/{config_id}, or
projects/{project}/muteConfigs/{config_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public GetMuteConfigRequest.Builder setNameBytes(ByteString value)
Required. Name of the mute config to retrieve. Its format is
organizations/{organization}/muteConfigs/{config_id},
folders/{folder}/muteConfigs/{config_id}, or
projects/{project}/muteConfigs/{config_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetMuteConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetMuteConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides