Class ListPostureDeploymentsResponse.Builder (0.13.0)

public static final class ListPostureDeploymentsResponse.Builder extends GeneratedMessageV3.Builder<ListPostureDeploymentsResponse.Builder> implements ListPostureDeploymentsResponseOrBuilder

Message for response to listing PostureDeployments.

Protobuf type google.cloud.securityposture.v1.ListPostureDeploymentsResponse

Static Methods

getDescriptor()

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

Methods

addAllPostureDeployments(Iterable<? extends PostureDeployment> values)

public ListPostureDeploymentsResponse.Builder addAllPostureDeployments(Iterable<? extends PostureDeployment> values)

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.securityposture.v1.PostureDeployment>
Returns
Type Description
ListPostureDeploymentsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListPostureDeploymentsResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListPostureDeploymentsResponse.Builder

This builder for chaining.

addPostureDeployments(PostureDeployment value)

public ListPostureDeploymentsResponse.Builder addPostureDeployments(PostureDeployment value)

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Parameter
Name Description
value PostureDeployment
Returns
Type Description
ListPostureDeploymentsResponse.Builder

addPostureDeployments(PostureDeployment.Builder builderForValue)

public ListPostureDeploymentsResponse.Builder addPostureDeployments(PostureDeployment.Builder builderForValue)

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Parameter
Name Description
builderForValue PostureDeployment.Builder
Returns
Type Description
ListPostureDeploymentsResponse.Builder

addPostureDeployments(int index, PostureDeployment value)

public ListPostureDeploymentsResponse.Builder addPostureDeployments(int index, PostureDeployment value)

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Parameters
Name Description
index int
value PostureDeployment
Returns
Type Description
ListPostureDeploymentsResponse.Builder

addPostureDeployments(int index, PostureDeployment.Builder builderForValue)

public ListPostureDeploymentsResponse.Builder addPostureDeployments(int index, PostureDeployment.Builder builderForValue)

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Parameters
Name Description
index int
builderForValue PostureDeployment.Builder
Returns
Type Description
ListPostureDeploymentsResponse.Builder

addPostureDeploymentsBuilder()

public PostureDeployment.Builder addPostureDeploymentsBuilder()

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Returns
Type Description
PostureDeployment.Builder

addPostureDeploymentsBuilder(int index)

public PostureDeployment.Builder addPostureDeploymentsBuilder(int index)

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
PostureDeployment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListPostureDeploymentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListPostureDeploymentsResponse.Builder
Overrides

addUnreachable(String value)

public ListPostureDeploymentsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListPostureDeploymentsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListPostureDeploymentsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListPostureDeploymentsResponse.Builder

This builder for chaining.

build()

public ListPostureDeploymentsResponse build()
Returns
Type Description
ListPostureDeploymentsResponse

buildPartial()

public ListPostureDeploymentsResponse buildPartial()
Returns
Type Description
ListPostureDeploymentsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListPostureDeploymentsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListPostureDeploymentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPostureDeployments()

public ListPostureDeploymentsResponse.Builder clearPostureDeployments()

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Returns
Type Description
ListPostureDeploymentsResponse.Builder

clearUnreachable()

public ListPostureDeploymentsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListPostureDeploymentsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListPostureDeploymentsResponse getDefaultInstanceForType()
Returns
Type Description
ListPostureDeploymentsResponse

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.

getPostureDeployments(int index)

public PostureDeployment getPostureDeployments(int index)

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
PostureDeployment

getPostureDeploymentsBuilder(int index)

public PostureDeployment.Builder getPostureDeploymentsBuilder(int index)

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
PostureDeployment.Builder

getPostureDeploymentsBuilderList()

public List<PostureDeployment.Builder> getPostureDeploymentsBuilderList()

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Returns
Type Description
List<Builder>

getPostureDeploymentsCount()

public int getPostureDeploymentsCount()

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Returns
Type Description
int

getPostureDeploymentsList()

public List<PostureDeployment> getPostureDeploymentsList()

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Returns
Type Description
List<PostureDeployment>

getPostureDeploymentsOrBuilder(int index)

public PostureDeploymentOrBuilder getPostureDeploymentsOrBuilder(int index)

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
PostureDeploymentOrBuilder

getPostureDeploymentsOrBuilderList()

public List<? extends PostureDeploymentOrBuilder> getPostureDeploymentsOrBuilderList()

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Returns
Type Description
List<? extends com.google.cloud.securityposture.v1.PostureDeploymentOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPostureDeploymentsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPostureDeploymentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListPostureDeploymentsResponse.Builder
Overrides

removePostureDeployments(int index)

public ListPostureDeploymentsResponse.Builder removePostureDeployments(int index)

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
ListPostureDeploymentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPostureDeploymentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListPostureDeploymentsResponse.Builder
Overrides

setNextPageToken(String value)

public ListPostureDeploymentsResponse.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
ListPostureDeploymentsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListPostureDeploymentsResponse.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
ListPostureDeploymentsResponse.Builder

This builder for chaining.

setPostureDeployments(int index, PostureDeployment value)

public ListPostureDeploymentsResponse.Builder setPostureDeployments(int index, PostureDeployment value)

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Parameters
Name Description
index int
value PostureDeployment
Returns
Type Description
ListPostureDeploymentsResponse.Builder

setPostureDeployments(int index, PostureDeployment.Builder builderForValue)

public ListPostureDeploymentsResponse.Builder setPostureDeployments(int index, PostureDeployment.Builder builderForValue)

The list of PostureDeployment.

repeated .google.cloud.securityposture.v1.PostureDeployment posture_deployments = 1;

Parameters
Name Description
index int
builderForValue PostureDeployment.Builder
Returns
Type Description
ListPostureDeploymentsResponse.Builder

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

public ListPostureDeploymentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListPostureDeploymentsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListPostureDeploymentsResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListPostureDeploymentsResponse.Builder

This builder for chaining.