public final class SetMuteRequest extends GeneratedMessageV3 implements SetMuteRequestOrBuilder
Request message for updating a finding's mute status.
Protobuf type google.cloud.securitycenter.v1.SetMuteRequest
Fields
MUTE_FIELD_NUMBER
public static final int MUTE_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static SetMuteRequest getDefaultInstance()
Returns
getDefaultInstanceForType()
public SetMuteRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getMute()
public Finding.Mute getMute()
Required. The desired state of the Mute.
.google.cloud.securitycenter.v1.Finding.Mute mute = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getMuteValue()
public int getMuteValue()
Required. The desired state of the Mute.
.google.cloud.securitycenter.v1.Finding.Mute mute = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The enum numeric value on the wire for mute.
|
getName()
Required. The relative resource name of the finding. See:
https://cloud.google.com/apis/design/resource_names#relative_resource_name
Example:
"organizations/{organization_id}/sources/{source_id}/finding/{finding_id}",
"folders/{folder_id}/sources/{source_id}/finding/{finding_id}",
"projects/{project_id}/sources/{source_id}/finding/{finding_id}".
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. The relative resource name of the finding. See:
https://cloud.google.com/apis/design/resource_names#relative_resource_name
Example:
"organizations/{organization_id}/sources/{source_id}/finding/{finding_id}",
"folders/{folder_id}/sources/{source_id}/finding/{finding_id}",
"projects/{project_id}/sources/{source_id}/finding/{finding_id}".
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getParserForType()
public Parser<SetMuteRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static SetMuteRequest.Builder newBuilder()
Returns
newBuilder(SetMuteRequest prototype)
public static SetMuteRequest.Builder newBuilder(SetMuteRequest prototype)
Parameter
Returns
newBuilderForType()
public SetMuteRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SetMuteRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static SetMuteRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SetMuteRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SetMuteRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SetMuteRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SetMuteRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SetMuteRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SetMuteRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SetMuteRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SetMuteRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SetMuteRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SetMuteRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SetMuteRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SetMuteRequest> parser()
Returns
toBuilder()
public SetMuteRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions