Class ListPostureTemplatesResponse (0.5.0)

public final class ListPostureTemplatesResponse extends GeneratedMessageV3 implements ListPostureTemplatesResponseOrBuilder

Message for response to listing PostureTemplates.

Protobuf type google.cloud.securityposture.v1.ListPostureTemplatesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

POSTURE_TEMPLATES_FIELD_NUMBER

public static final int POSTURE_TEMPLATES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListPostureTemplatesResponse getDefaultInstance()
Returns
TypeDescription
ListPostureTemplatesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListPostureTemplatesResponse prototype)

public static ListPostureTemplatesResponse.Builder newBuilder(ListPostureTemplatesResponse prototype)
Parameter
NameDescription
prototypeListPostureTemplatesResponse
Returns
TypeDescription
ListPostureTemplatesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListPostureTemplatesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPostureTemplatesResponse

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getPostureTemplates(int index)

public PostureTemplate getPostureTemplates(int index)

The list of PostureTemplate.

repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PostureTemplate

getPostureTemplatesCount()

public int getPostureTemplatesCount()

The list of PostureTemplate.

repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;

Returns
TypeDescription
int

getPostureTemplatesList()

public List<PostureTemplate> getPostureTemplatesList()

The list of PostureTemplate.

repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;

Returns
TypeDescription
List<PostureTemplate>

getPostureTemplatesOrBuilder(int index)

public PostureTemplateOrBuilder getPostureTemplatesOrBuilder(int index)

The list of PostureTemplate.

repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PostureTemplateOrBuilder

getPostureTemplatesOrBuilderList()

public List<? extends PostureTemplateOrBuilder> getPostureTemplatesOrBuilderList()

The list of PostureTemplate.

repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;

Returns
TypeDescription
List<? extends com.google.cloud.securityposture.v1.PostureTemplateOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 ListPostureTemplatesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListPostureTemplatesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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