Class ListPostureDeploymentsResponse.Builder (0.6.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.securityposture.v1.PostureDeployment>
Returns
TypeDescription
ListPostureDeploymentsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valuePostureDeployment
Returns
TypeDescription
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
NameDescription
builderForValuePostureDeployment.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePostureDeployment
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePostureDeployment.Builder
Returns
TypeDescription
ListPostureDeploymentsResponse.Builder

addPostureDeploymentsBuilder()

public PostureDeployment.Builder addPostureDeploymentsBuilder()

The list of PostureDeployment.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PostureDeployment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListPostureDeploymentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListPostureDeploymentsResponse.Builder
Overrides

addUnreachable(String value)

public ListPostureDeploymentsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListPostureDeploymentsResponse.Builder

This builder for chaining.

build()

public ListPostureDeploymentsResponse build()
Returns
TypeDescription
ListPostureDeploymentsResponse

buildPartial()

public ListPostureDeploymentsResponse buildPartial()
Returns
TypeDescription
ListPostureDeploymentsResponse

clear()

public ListPostureDeploymentsResponse.Builder clear()
Returns
TypeDescription
ListPostureDeploymentsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListPostureDeploymentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListPostureDeploymentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListPostureDeploymentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListPostureDeploymentsResponse.Builder
Overrides

clearPostureDeployments()

public ListPostureDeploymentsResponse.Builder clearPostureDeployments()

The list of PostureDeployment.

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

Returns
TypeDescription
ListPostureDeploymentsResponse.Builder

clearUnreachable()

public ListPostureDeploymentsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListPostureDeploymentsResponse.Builder

This builder for chaining.

clone()

public ListPostureDeploymentsResponse.Builder clone()
Returns
TypeDescription
ListPostureDeploymentsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListPostureDeploymentsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPostureDeploymentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PostureDeployment

getPostureDeploymentsBuilder(int index)

public PostureDeployment.Builder getPostureDeploymentsBuilder(int index)

The list of PostureDeployment.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PostureDeployment.Builder

getPostureDeploymentsBuilderList()

public List<PostureDeployment.Builder> getPostureDeploymentsBuilderList()

The list of PostureDeployment.

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

Returns
TypeDescription
List<Builder>

getPostureDeploymentsCount()

public int getPostureDeploymentsCount()

The list of PostureDeployment.

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

Returns
TypeDescription
int

getPostureDeploymentsList()

public List<PostureDeployment> getPostureDeploymentsList()

The list of PostureDeployment.

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

Returns
TypeDescription
List<PostureDeployment>

getPostureDeploymentsOrBuilder(int index)

public PostureDeploymentOrBuilder getPostureDeploymentsOrBuilder(int index)

The list of PostureDeployment.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PostureDeploymentOrBuilder

getPostureDeploymentsOrBuilderList()

public List<? extends PostureDeploymentOrBuilder> getPostureDeploymentsOrBuilderList()

The list of PostureDeployment.

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

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListPostureDeploymentsResponse other)

public ListPostureDeploymentsResponse.Builder mergeFrom(ListPostureDeploymentsResponse other)
Parameter
NameDescription
otherListPostureDeploymentsResponse
Returns
TypeDescription
ListPostureDeploymentsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListPostureDeploymentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPostureDeploymentsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListPostureDeploymentsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListPostureDeploymentsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPostureDeploymentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListPostureDeploymentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPostureDeploymentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valuePostureDeployment
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePostureDeployment.Builder
Returns
TypeDescription
ListPostureDeploymentsResponse.Builder

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

public ListPostureDeploymentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListPostureDeploymentsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListPostureDeploymentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListPostureDeploymentsResponse.Builder

This builder for chaining.