public final class ListAttackPathsRequest extends GeneratedMessageV3 implements ListAttackPathsRequestOrBuilder
Request message for listing the attack paths for a given simulation or valued
resource.
Protobuf type google.cloud.securitycenter.v2.ListAttackPathsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
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 ListAttackPathsRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ListAttackPathsRequest.Builder newBuilder()
newBuilder(ListAttackPathsRequest prototype)
public static ListAttackPathsRequest.Builder newBuilder(ListAttackPathsRequest prototype)
public static ListAttackPathsRequest parseDelimitedFrom(InputStream input)
public static ListAttackPathsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ListAttackPathsRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListAttackPathsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ListAttackPathsRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListAttackPathsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListAttackPathsRequest parseFrom(CodedInputStream input)
public static ListAttackPathsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListAttackPathsRequest parseFrom(InputStream input)
public static ListAttackPathsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ListAttackPathsRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListAttackPathsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ListAttackPathsRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ListAttackPathsRequest getDefaultInstanceForType()
getFilter()
public String getFilter()
The filter expression that filters the attack path in the response.
Supported fields:
valued_resources
supports =
string filter = 2;
Returns |
Type |
Description |
String |
The filter.
|
getFilterBytes()
public ByteString getFilterBytes()
The filter expression that filters the attack path in the response.
Supported fields:
valued_resources
supports =
string filter = 2;
Returns |
Type |
Description |
ByteString |
The bytes for filter.
|
getPageSize()
The maximum number of results to return in a single response. Default is
10, minimum is 1, maximum is 1000.
int32 page_size = 4;
Returns |
Type |
Description |
int |
The pageSize.
|
getPageToken()
public String getPageToken()
The value returned by the last ListAttackPathsResponse
; indicates
that this is a continuation of a prior ListAttackPaths
call, and
that the system should return the next page of data.
string page_token = 3;
Returns |
Type |
Description |
String |
The pageToken.
|
getPageTokenBytes()
public ByteString getPageTokenBytes()
The value returned by the last ListAttackPathsResponse
; indicates
that this is a continuation of a prior ListAttackPaths
call, and
that the system should return the next page of data.
string page_token = 3;
Returns |
Type |
Description |
ByteString |
The bytes for pageToken.
|
getParent()
public String getParent()
Required. Name of parent to list attack paths.
Valid formats:
organizations/{organization}
,
organizations/{organization}/simulations/{simulation}
organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}
organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Name of parent to list attack paths.
Valid formats:
organizations/{organization}
,
organizations/{organization}/simulations/{simulation}
organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}
organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
getParserForType()
public Parser<ListAttackPathsRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ListAttackPathsRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListAttackPathsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ListAttackPathsRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides