Class ListDeploymentGroupsResponse.Builder (0.68.0)

public static final class ListDeploymentGroupsResponse.Builder extends GeneratedMessage.Builder<ListDeploymentGroupsResponse.Builder> implements ListDeploymentGroupsResponseOrBuilder

The response message for the ListDeploymentGroups method.

Protobuf type google.cloud.config.v1.ListDeploymentGroupsResponse

Static Methods

getDescriptor()

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

Methods

addAllDeploymentGroups(Iterable<? extends DeploymentGroup> values)

public ListDeploymentGroupsResponse.Builder addAllDeploymentGroups(Iterable<? extends DeploymentGroup> values)

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.config.v1.DeploymentGroup>
Returns
Type Description
ListDeploymentGroupsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addDeploymentGroups(DeploymentGroup value)

public ListDeploymentGroupsResponse.Builder addDeploymentGroups(DeploymentGroup value)

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Parameter
Name Description
value DeploymentGroup
Returns
Type Description
ListDeploymentGroupsResponse.Builder

addDeploymentGroups(DeploymentGroup.Builder builderForValue)

public ListDeploymentGroupsResponse.Builder addDeploymentGroups(DeploymentGroup.Builder builderForValue)

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Parameter
Name Description
builderForValue DeploymentGroup.Builder
Returns
Type Description
ListDeploymentGroupsResponse.Builder

addDeploymentGroups(int index, DeploymentGroup value)

public ListDeploymentGroupsResponse.Builder addDeploymentGroups(int index, DeploymentGroup value)

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Parameters
Name Description
index int
value DeploymentGroup
Returns
Type Description
ListDeploymentGroupsResponse.Builder

addDeploymentGroups(int index, DeploymentGroup.Builder builderForValue)

public ListDeploymentGroupsResponse.Builder addDeploymentGroups(int index, DeploymentGroup.Builder builderForValue)

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Parameters
Name Description
index int
builderForValue DeploymentGroup.Builder
Returns
Type Description
ListDeploymentGroupsResponse.Builder

addDeploymentGroupsBuilder()

public DeploymentGroup.Builder addDeploymentGroupsBuilder()

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Returns
Type Description
DeploymentGroup.Builder

addDeploymentGroupsBuilder(int index)

public DeploymentGroup.Builder addDeploymentGroupsBuilder(int index)

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
DeploymentGroup.Builder

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListDeploymentGroupsResponse build()
Returns
Type Description
ListDeploymentGroupsResponse

buildPartial()

public ListDeploymentGroupsResponse buildPartial()
Returns
Type Description
ListDeploymentGroupsResponse

clear()

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

clearDeploymentGroups()

public ListDeploymentGroupsResponse.Builder clearDeploymentGroups()

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Returns
Type Description
ListDeploymentGroupsResponse.Builder

clearNextPageToken()

public ListDeploymentGroupsResponse.Builder clearNextPageToken()

Token to be supplied to the next ListDeploymentGroups request via page_token to obtain the next set of results.

string next_page_token = 2;

Returns
Type Description
ListDeploymentGroupsResponse.Builder

This builder for chaining.

clearUnreachable()

public ListDeploymentGroupsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListDeploymentGroupsResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListDeploymentGroupsResponse getDefaultInstanceForType()
Returns
Type Description
ListDeploymentGroupsResponse

getDeploymentGroups(int index)

public DeploymentGroup getDeploymentGroups(int index)

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
DeploymentGroup

getDeploymentGroupsBuilder(int index)

public DeploymentGroup.Builder getDeploymentGroupsBuilder(int index)

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
DeploymentGroup.Builder

getDeploymentGroupsBuilderList()

public List<DeploymentGroup.Builder> getDeploymentGroupsBuilderList()

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Returns
Type Description
List<Builder>

getDeploymentGroupsCount()

public int getDeploymentGroupsCount()

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Returns
Type Description
int

getDeploymentGroupsList()

public List<DeploymentGroup> getDeploymentGroupsList()

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Returns
Type Description
List<DeploymentGroup>

getDeploymentGroupsOrBuilder(int index)

public DeploymentGroupOrBuilder getDeploymentGroupsOrBuilder(int index)

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
DeploymentGroupOrBuilder

getDeploymentGroupsOrBuilderList()

public List<? extends DeploymentGroupOrBuilder> getDeploymentGroupsOrBuilderList()

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Returns
Type Description
List<? extends com.google.cloud.config.v1.DeploymentGroupOrBuilder>

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Token to be supplied to the next ListDeploymentGroups request via page_token to obtain the next set of results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to be supplied to the next ListDeploymentGroups request via page_token to obtain the next set of results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDeploymentGroupsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeDeploymentGroups(int index)

public ListDeploymentGroupsResponse.Builder removeDeploymentGroups(int index)

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDeploymentGroupsResponse.Builder

setDeploymentGroups(int index, DeploymentGroup value)

public ListDeploymentGroupsResponse.Builder setDeploymentGroups(int index, DeploymentGroup value)

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Parameters
Name Description
index int
value DeploymentGroup
Returns
Type Description
ListDeploymentGroupsResponse.Builder

setDeploymentGroups(int index, DeploymentGroup.Builder builderForValue)

public ListDeploymentGroupsResponse.Builder setDeploymentGroups(int index, DeploymentGroup.Builder builderForValue)

The deployment groups from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;

Parameters
Name Description
index int
builderForValue DeploymentGroup.Builder
Returns
Type Description
ListDeploymentGroupsResponse.Builder

setNextPageToken(String value)

public ListDeploymentGroupsResponse.Builder setNextPageToken(String value)

Token to be supplied to the next ListDeploymentGroups request via page_token to obtain the next set of results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDeploymentGroupsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDeploymentGroupsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to be supplied to the next ListDeploymentGroups request via page_token to obtain the next set of results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDeploymentGroupsResponse.Builder

This builder for chaining.

setUnreachable(int index, String value)

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

This builder for chaining.