public static final class ListPostureTemplatesResponse.Builder extends GeneratedMessageV3.Builder<ListPostureTemplatesResponse.Builder> implements ListPostureTemplatesResponseOrBuilder
Message for response to listing PostureTemplates.
Protobuf type google.cloud.securityposture.v1.ListPostureTemplatesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllPostureTemplates(Iterable<? extends PostureTemplate> values)
public ListPostureTemplatesResponse.Builder addAllPostureTemplates(Iterable<? extends PostureTemplate> values)
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.securityposture.v1.PostureTemplate>
|
addPostureTemplates(PostureTemplate value)
public ListPostureTemplatesResponse.Builder addPostureTemplates(PostureTemplate value)
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
addPostureTemplates(PostureTemplate.Builder builderForValue)
public ListPostureTemplatesResponse.Builder addPostureTemplates(PostureTemplate.Builder builderForValue)
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
addPostureTemplates(int index, PostureTemplate value)
public ListPostureTemplatesResponse.Builder addPostureTemplates(int index, PostureTemplate value)
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
addPostureTemplates(int index, PostureTemplate.Builder builderForValue)
public ListPostureTemplatesResponse.Builder addPostureTemplates(int index, PostureTemplate.Builder builderForValue)
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
addPostureTemplatesBuilder()
public PostureTemplate.Builder addPostureTemplatesBuilder()
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
addPostureTemplatesBuilder(int index)
public PostureTemplate.Builder addPostureTemplatesBuilder(int index)
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPostureTemplatesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListPostureTemplatesResponse build()
buildPartial()
public ListPostureTemplatesResponse buildPartial()
clear()
public ListPostureTemplatesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListPostureTemplatesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListPostureTemplatesResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPostureTemplatesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPostureTemplates()
public ListPostureTemplatesResponse.Builder clearPostureTemplates()
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
clone()
public ListPostureTemplatesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListPostureTemplatesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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
|
getPostureTemplatesBuilder(int index)
public PostureTemplate.Builder getPostureTemplatesBuilder(int index)
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
Parameter |
Name |
Description |
index |
int
|
getPostureTemplatesBuilderList()
public List<PostureTemplate.Builder> getPostureTemplatesBuilderList()
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
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;
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
|
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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListPostureTemplatesResponse other)
public ListPostureTemplatesResponse.Builder mergeFrom(ListPostureTemplatesResponse other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListPostureTemplatesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListPostureTemplatesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPostureTemplatesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removePostureTemplates(int index)
public ListPostureTemplatesResponse.Builder removePostureTemplates(int index)
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListPostureTemplatesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListPostureTemplatesResponse.Builder setNextPageToken(String value)
A token identifying a page of results the server should return.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListPostureTemplatesResponse.Builder setNextPageTokenBytes(ByteString value)
A token identifying a page of results the server should return.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setPostureTemplates(int index, PostureTemplate value)
public ListPostureTemplatesResponse.Builder setPostureTemplates(int index, PostureTemplate value)
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
setPostureTemplates(int index, PostureTemplate.Builder builderForValue)
public ListPostureTemplatesResponse.Builder setPostureTemplates(int index, PostureTemplate.Builder builderForValue)
The list of PostureTemplate.
repeated .google.cloud.securityposture.v1.PostureTemplate posture_templates = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPostureTemplatesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPostureTemplatesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides