public static final class ListPostureRevisionsResponse.Builder extends GeneratedMessageV3.Builder<ListPostureRevisionsResponse.Builder> implements ListPostureRevisionsResponseOrBuilder
Message for response to listing PostureRevisions.
Protobuf type google.cloud.securityposture.v1.ListPostureRevisionsResponse
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
addAllRevisions(Iterable<? extends Posture> values)
public ListPostureRevisionsResponse.Builder addAllRevisions(Iterable<? extends Posture> values)
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.securityposture.v1.Posture>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPostureRevisionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addRevisions(Posture value)
public ListPostureRevisionsResponse.Builder addRevisions(Posture value)
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
Parameter |
Name |
Description |
value |
Posture
|
addRevisions(Posture.Builder builderForValue)
public ListPostureRevisionsResponse.Builder addRevisions(Posture.Builder builderForValue)
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
addRevisions(int index, Posture value)
public ListPostureRevisionsResponse.Builder addRevisions(int index, Posture value)
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Posture
|
addRevisions(int index, Posture.Builder builderForValue)
public ListPostureRevisionsResponse.Builder addRevisions(int index, Posture.Builder builderForValue)
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
addRevisionsBuilder()
public Posture.Builder addRevisionsBuilder()
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
addRevisionsBuilder(int index)
public Posture.Builder addRevisionsBuilder(int index)
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public ListPostureRevisionsResponse build()
buildPartial()
public ListPostureRevisionsResponse buildPartial()
clear()
public ListPostureRevisionsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListPostureRevisionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListPostureRevisionsResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPostureRevisionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRevisions()
public ListPostureRevisionsResponse.Builder clearRevisions()
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
clone()
public ListPostureRevisionsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListPostureRevisionsResponse 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.
|
getRevisions(int index)
public Posture getRevisions(int index)
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
Parameter |
Name |
Description |
index |
int
|
getRevisionsBuilder(int index)
public Posture.Builder getRevisionsBuilder(int index)
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
Parameter |
Name |
Description |
index |
int
|
getRevisionsBuilderList()
public List<Posture.Builder> getRevisionsBuilderList()
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
getRevisionsCount()
public int getRevisionsCount()
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
Returns |
Type |
Description |
int |
|
getRevisionsList()
public List<Posture> getRevisionsList()
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
getRevisionsOrBuilder(int index)
public PostureOrBuilder getRevisionsOrBuilder(int index)
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
Parameter |
Name |
Description |
index |
int
|
getRevisionsOrBuilderList()
public List<? extends PostureOrBuilder> getRevisionsOrBuilderList()
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.securityposture.v1.PostureOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListPostureRevisionsResponse other)
public ListPostureRevisionsResponse.Builder mergeFrom(ListPostureRevisionsResponse other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListPostureRevisionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListPostureRevisionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPostureRevisionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeRevisions(int index)
public ListPostureRevisionsResponse.Builder removeRevisions(int index)
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListPostureRevisionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListPostureRevisionsResponse.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 ListPostureRevisionsResponse.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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPostureRevisionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRevisions(int index, Posture value)
public ListPostureRevisionsResponse.Builder setRevisions(int index, Posture value)
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Posture
|
setRevisions(int index, Posture.Builder builderForValue)
public ListPostureRevisionsResponse.Builder setRevisions(int index, Posture.Builder builderForValue)
The list of Posture revisions.
repeated .google.cloud.securityposture.v1.Posture revisions = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPostureRevisionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides