Class ListMuteConfigsRequest (2.60.0)

public final class ListMuteConfigsRequest extends GeneratedMessageV3 implements ListMuteConfigsRequestOrBuilder

Request message for listing mute configs at a given scope e.g. organization, folder or project. If no location is specified, default is global.

Protobuf type google.cloud.securitycenter.v2.ListMuteConfigsRequest

Static Fields

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
Type Description
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListMuteConfigsRequest getDefaultInstance()
Returns
Type Description
ListMuteConfigsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ListMuteConfigsRequest.Builder newBuilder()
Returns
Type Description
ListMuteConfigsRequest.Builder

newBuilder(ListMuteConfigsRequest prototype)

public static ListMuteConfigsRequest.Builder newBuilder(ListMuteConfigsRequest prototype)
Parameter
Name Description
prototype ListMuteConfigsRequest
Returns
Type Description
ListMuteConfigsRequest.Builder

parseDelimitedFrom(InputStream input)

public static ListMuteConfigsRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListMuteConfigsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListMuteConfigsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMuteConfigsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListMuteConfigsRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListMuteConfigsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListMuteConfigsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMuteConfigsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListMuteConfigsRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListMuteConfigsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListMuteConfigsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMuteConfigsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListMuteConfigsRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListMuteConfigsRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListMuteConfigsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMuteConfigsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListMuteConfigsRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListMuteConfigsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListMuteConfigsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMuteConfigsRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListMuteConfigsRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListMuteConfigsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListMuteConfigsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMuteConfigsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListMuteConfigsRequest> parser()
Returns
Type Description
Parser<ListMuteConfigsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListMuteConfigsRequest getDefaultInstanceForType()
Returns
Type Description
ListMuteConfigsRequest

getPageSize()

public int getPageSize()

The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

A page token, received from a previous ListMuteConfigs call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListMuteConfigs must match the call that provided the page token.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A page token, received from a previous ListMuteConfigs call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListMuteConfigs must match the call that provided the page token.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent, which owns the collection of mute configs. Its format is organizations/[organization_id]", "folders/[folder_id], projects/[project_id], organizations/[organization_id]/locations/[location_id], folders/[folder_id]/locations/[location_id], 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. The parent, which owns the collection of mute configs. Its format is organizations/[organization_id]", "folders/[folder_id], projects/[project_id], organizations/[organization_id]/locations/[location_id], folders/[folder_id]/locations/[location_id], 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.

getParserForType()

public Parser<ListMuteConfigsRequest> getParserForType()
Returns
Type Description
Parser<ListMuteConfigsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListMuteConfigsRequest.Builder newBuilderForType()
Returns
Type Description
ListMuteConfigsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListMuteConfigsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListMuteConfigsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListMuteConfigsRequest.Builder toBuilder()
Returns
Type Description
ListMuteConfigsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException