public final class ListPostureTemplatesResponse extends GeneratedMessageV3 implements ListPostureTemplatesResponseOrBuilder
Message for response to listing PostureTemplates.
Protobuf type google.cloud.securityposture.v1.ListPostureTemplatesResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListPostureTemplatesResponseImplements
ListPostureTemplatesResponseOrBuilderStatic Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
POSTURE_TEMPLATES_FIELD_NUMBER
public static final int POSTURE_TEMPLATES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ListPostureTemplatesResponse getDefaultInstance()
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ListPostureTemplatesResponse.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse.Builder |
newBuilder(ListPostureTemplatesResponse prototype)
public static ListPostureTemplatesResponse.Builder newBuilder(ListPostureTemplatesResponse prototype)
Parameter | |
---|---|
Name | Description |
prototype | ListPostureTemplatesResponse |
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse.Builder |
parseDelimitedFrom(InputStream input)
public static ListPostureTemplatesResponse parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListPostureTemplatesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ListPostureTemplatesResponse parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListPostureTemplatesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ListPostureTemplatesResponse parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListPostureTemplatesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ListPostureTemplatesResponse parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListPostureTemplatesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ListPostureTemplatesResponse parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListPostureTemplatesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ListPostureTemplatesResponse parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListPostureTemplatesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ListPostureTemplatesResponse> parser()
Returns | |
---|---|
Type | Description |
Parser<ListPostureTemplatesResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public ListPostureTemplatesResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse |
getNextPageToken()
public String getNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for nextPageToken. |
getParserForType()
public Parser<ListPostureTemplatesResponse> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ListPostureTemplatesResponse> |
getPostureTemplates(int index)
public PostureTemplate getPostureTemplates(int index)
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
PostureTemplate |
getPostureTemplatesCount()
public int getPostureTemplatesCount()
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
Returns | |
---|---|
Type | Description |
int |
getPostureTemplatesList()
public List<PostureTemplate> getPostureTemplatesList()
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
Returns | |
---|---|
Type | Description |
List<PostureTemplate> |
getPostureTemplatesOrBuilder(int index)
public PostureTemplateOrBuilder getPostureTemplatesOrBuilder(int index)
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
PostureTemplateOrBuilder |
getPostureTemplatesOrBuilderList()
public List<? extends PostureTemplateOrBuilder> getPostureTemplatesOrBuilderList()
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.securityposture.v1.PostureTemplateOrBuilder> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ListPostureTemplatesResponse.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListPostureTemplatesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ListPostureTemplatesResponse.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ListPostureTemplatesResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |