Class ListValuedResourcesResponse (2.45.0)

public final class ListValuedResourcesResponse extends GeneratedMessageV3 implements ListValuedResourcesResponseOrBuilder

Response message for listing the valued resources for a given simulation.

Protobuf type google.cloud.securitycenter.v2.ListValuedResourcesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_SIZE_FIELD_NUMBER

public static final int TOTAL_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

VALUED_RESOURCES_FIELD_NUMBER

public static final int VALUED_RESOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListValuedResourcesResponse getDefaultInstance()
Returns
TypeDescription
ListValuedResourcesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListValuedResourcesResponse.Builder newBuilder()
Returns
TypeDescription
ListValuedResourcesResponse.Builder

newBuilder(ListValuedResourcesResponse prototype)

public static ListValuedResourcesResponse.Builder newBuilder(ListValuedResourcesResponse prototype)
Parameter
NameDescription
prototypeListValuedResourcesResponse
Returns
TypeDescription
ListValuedResourcesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListValuedResourcesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListValuedResourcesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListValuedResourcesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListValuedResourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListValuedResourcesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListValuedResourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListValuedResourcesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListValuedResourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListValuedResourcesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListValuedResourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListValuedResourcesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListValuedResourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListValuedResourcesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListValuedResourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListValuedResourcesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListValuedResourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListValuedResourcesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListValuedResourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListValuedResourcesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListValuedResourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListValuedResourcesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListValuedResourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListValuedResourcesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListValuedResourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListValuedResourcesResponse> parser()
Returns
TypeDescription
Parser<ListValuedResourcesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListValuedResourcesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListValuedResourcesResponse

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListValuedResourcesResponse> getParserForType()
Returns
TypeDescription
Parser<ListValuedResourcesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTotalSize()

public int getTotalSize()

The estimated total number of results matching the query.

int32 total_size = 3;

Returns
TypeDescription
int

The totalSize.

getValuedResources(int index)

public ValuedResource getValuedResources(int index)

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ValuedResource

getValuedResourcesCount()

public int getValuedResourcesCount()

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;

Returns
TypeDescription
int

getValuedResourcesList()

public List<ValuedResource> getValuedResourcesList()

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;

Returns
TypeDescription
List<ValuedResource>

getValuedResourcesOrBuilder(int index)

public ValuedResourceOrBuilder getValuedResourcesOrBuilder(int index)

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ValuedResourceOrBuilder

getValuedResourcesOrBuilderList()

public List<? extends ValuedResourceOrBuilder> getValuedResourcesOrBuilderList()

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.ValuedResourceOrBuilder>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListValuedResourcesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListValuedResourcesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListValuedResourcesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListValuedResourcesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListValuedResourcesResponse.Builder toBuilder()
Returns
TypeDescription
ListValuedResourcesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException