Class ListPostureRevisionsResponse.Builder (0.16.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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>
Returns
Type Description
ListPostureRevisionsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListPostureRevisionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListPostureRevisionsResponse.Builder
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
Returns
Type Description
ListPostureRevisionsResponse.Builder

addRevisions(Posture.Builder builderForValue)

public ListPostureRevisionsResponse.Builder addRevisions(Posture.Builder builderForValue)

The list of Posture revisions.

repeated .google.cloud.securityposture.v1.Posture revisions = 1;

Parameter
Name Description
builderForValue Posture.Builder
Returns
Type Description
ListPostureRevisionsResponse.Builder

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
Returns
Type Description
ListPostureRevisionsResponse.Builder

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;

Parameters
Name Description
index int
builderForValue Posture.Builder
Returns
Type Description
ListPostureRevisionsResponse.Builder

addRevisionsBuilder()

public Posture.Builder addRevisionsBuilder()

The list of Posture revisions.

repeated .google.cloud.securityposture.v1.Posture revisions = 1;

Returns
Type Description
Posture.Builder

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
Returns
Type Description
Posture.Builder

build()

public ListPostureRevisionsResponse build()
Returns
Type Description
ListPostureRevisionsResponse

buildPartial()

public ListPostureRevisionsResponse buildPartial()
Returns
Type Description
ListPostureRevisionsResponse

clear()

public ListPostureRevisionsResponse.Builder clear()
Returns
Type Description
ListPostureRevisionsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListPostureRevisionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListPostureRevisionsResponse.Builder
Overrides

clearNextPageToken()

public ListPostureRevisionsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListPostureRevisionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListPostureRevisionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListPostureRevisionsResponse.Builder
Overrides

clearRevisions()

public ListPostureRevisionsResponse.Builder clearRevisions()

The list of Posture revisions.

repeated .google.cloud.securityposture.v1.Posture revisions = 1;

Returns
Type Description
ListPostureRevisionsResponse.Builder

clone()

public ListPostureRevisionsResponse.Builder clone()
Returns
Type Description
ListPostureRevisionsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListPostureRevisionsResponse getDefaultInstanceForType()
Returns
Type Description
ListPostureRevisionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Returns
Type Description
Posture

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
Returns
Type Description
Posture.Builder

getRevisionsBuilderList()

public List<Posture.Builder> getRevisionsBuilderList()

The list of Posture revisions.

repeated .google.cloud.securityposture.v1.Posture revisions = 1;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<Posture>

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
Returns
Type Description
PostureOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPostureRevisionsResponse other)

public ListPostureRevisionsResponse.Builder mergeFrom(ListPostureRevisionsResponse other)
Parameter
Name Description
other ListPostureRevisionsResponse
Returns
Type Description
ListPostureRevisionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListPostureRevisionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListPostureRevisionsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListPostureRevisionsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListPostureRevisionsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPostureRevisionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListPostureRevisionsResponse.Builder
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
Returns
Type Description
ListPostureRevisionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPostureRevisionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListPostureRevisionsResponse.Builder
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.

Returns
Type Description
ListPostureRevisionsResponse.Builder

This builder for chaining.

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.

Returns
Type Description
ListPostureRevisionsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListPostureRevisionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListPostureRevisionsResponse.Builder
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
Returns
Type Description
ListPostureRevisionsResponse.Builder

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;

Parameters
Name Description
index int
builderForValue Posture.Builder
Returns
Type Description
ListPostureRevisionsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListPostureRevisionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListPostureRevisionsResponse.Builder
Overrides