Class ListDeploymentGroupRevisionsResponse.Builder (0.68.0)

public static final class ListDeploymentGroupRevisionsResponse.Builder extends GeneratedMessage.Builder<ListDeploymentGroupRevisionsResponse.Builder> implements ListDeploymentGroupRevisionsResponseOrBuilder

The response message for the ListDeploymentGroupRevisions method.

Protobuf type google.cloud.config.v1.ListDeploymentGroupRevisionsResponse

Static Methods

getDescriptor()

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

Methods

addAllDeploymentGroupRevisions(Iterable<? extends DeploymentGroupRevision> values)

public ListDeploymentGroupRevisionsResponse.Builder addAllDeploymentGroupRevisions(Iterable<? extends DeploymentGroupRevision> values)

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

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

addAllUnreachable(Iterable<String> values)

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

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListDeploymentGroupRevisionsResponse.Builder

This builder for chaining.

addDeploymentGroupRevisions(DeploymentGroupRevision value)

public ListDeploymentGroupRevisionsResponse.Builder addDeploymentGroupRevisions(DeploymentGroupRevision value)

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

Parameter
Name Description
value DeploymentGroupRevision
Returns
Type Description
ListDeploymentGroupRevisionsResponse.Builder

addDeploymentGroupRevisions(DeploymentGroupRevision.Builder builderForValue)

public ListDeploymentGroupRevisionsResponse.Builder addDeploymentGroupRevisions(DeploymentGroupRevision.Builder builderForValue)

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

Parameter
Name Description
builderForValue DeploymentGroupRevision.Builder
Returns
Type Description
ListDeploymentGroupRevisionsResponse.Builder

addDeploymentGroupRevisions(int index, DeploymentGroupRevision value)

public ListDeploymentGroupRevisionsResponse.Builder addDeploymentGroupRevisions(int index, DeploymentGroupRevision value)

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

Parameters
Name Description
index int
value DeploymentGroupRevision
Returns
Type Description
ListDeploymentGroupRevisionsResponse.Builder

addDeploymentGroupRevisions(int index, DeploymentGroupRevision.Builder builderForValue)

public ListDeploymentGroupRevisionsResponse.Builder addDeploymentGroupRevisions(int index, DeploymentGroupRevision.Builder builderForValue)

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

Parameters
Name Description
index int
builderForValue DeploymentGroupRevision.Builder
Returns
Type Description
ListDeploymentGroupRevisionsResponse.Builder

addDeploymentGroupRevisionsBuilder()

public DeploymentGroupRevision.Builder addDeploymentGroupRevisionsBuilder()

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

Returns
Type Description
DeploymentGroupRevision.Builder

addDeploymentGroupRevisionsBuilder(int index)

public DeploymentGroupRevision.Builder addDeploymentGroupRevisionsBuilder(int index)

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

Parameter
Name Description
index int
Returns
Type Description
DeploymentGroupRevision.Builder

addUnreachable(String value)

public ListDeploymentGroupRevisionsResponse.Builder addUnreachable(String value)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListDeploymentGroupRevisionsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListDeploymentGroupRevisionsResponse.Builder addUnreachableBytes(ByteString value)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListDeploymentGroupRevisionsResponse.Builder

This builder for chaining.

build()

public ListDeploymentGroupRevisionsResponse build()
Returns
Type Description
ListDeploymentGroupRevisionsResponse

buildPartial()

public ListDeploymentGroupRevisionsResponse buildPartial()
Returns
Type Description
ListDeploymentGroupRevisionsResponse

clear()

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

clearDeploymentGroupRevisions()

public ListDeploymentGroupRevisionsResponse.Builder clearDeploymentGroupRevisions()

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

Returns
Type Description
ListDeploymentGroupRevisionsResponse.Builder

clearNextPageToken()

public ListDeploymentGroupRevisionsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListDeploymentGroupRevisionsResponse.Builder

This builder for chaining.

clearUnreachable()

public ListDeploymentGroupRevisionsResponse.Builder clearUnreachable()

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
ListDeploymentGroupRevisionsResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListDeploymentGroupRevisionsResponse getDefaultInstanceForType()
Returns
Type Description
ListDeploymentGroupRevisionsResponse

getDeploymentGroupRevisions(int index)

public DeploymentGroupRevision getDeploymentGroupRevisions(int index)

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

Parameter
Name Description
index int
Returns
Type Description
DeploymentGroupRevision

getDeploymentGroupRevisionsBuilder(int index)

public DeploymentGroupRevision.Builder getDeploymentGroupRevisionsBuilder(int index)

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

Parameter
Name Description
index int
Returns
Type Description
DeploymentGroupRevision.Builder

getDeploymentGroupRevisionsBuilderList()

public List<DeploymentGroupRevision.Builder> getDeploymentGroupRevisionsBuilderList()

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

Returns
Type Description
List<Builder>

getDeploymentGroupRevisionsCount()

public int getDeploymentGroupRevisionsCount()

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

Returns
Type Description
int

getDeploymentGroupRevisionsList()

public List<DeploymentGroupRevision> getDeploymentGroupRevisionsList()

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

Returns
Type Description
List<DeploymentGroupRevision>

getDeploymentGroupRevisionsOrBuilder(int index)

public DeploymentGroupRevisionOrBuilder getDeploymentGroupRevisionsOrBuilder(int index)

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

Parameter
Name Description
index int
Returns
Type Description
DeploymentGroupRevisionOrBuilder

getDeploymentGroupRevisionsOrBuilderList()

public List<? extends DeploymentGroupRevisionOrBuilder> getDeploymentGroupRevisionsOrBuilderList()

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

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

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to be supplied to the next ListDeploymentGroupRevisions 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 ListDeploymentGroupRevisions 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)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

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)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

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()

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

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(ListDeploymentGroupRevisionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeDeploymentGroupRevisions(int index)

public ListDeploymentGroupRevisionsResponse.Builder removeDeploymentGroupRevisions(int index)

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDeploymentGroupRevisionsResponse.Builder

setDeploymentGroupRevisions(int index, DeploymentGroupRevision value)

public ListDeploymentGroupRevisionsResponse.Builder setDeploymentGroupRevisions(int index, DeploymentGroupRevision value)

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

Parameters
Name Description
index int
value DeploymentGroupRevision
Returns
Type Description
ListDeploymentGroupRevisionsResponse.Builder

setDeploymentGroupRevisions(int index, DeploymentGroupRevision.Builder builderForValue)

public ListDeploymentGroupRevisionsResponse.Builder setDeploymentGroupRevisions(int index, DeploymentGroupRevision.Builder builderForValue)

The deployment group revisions from the specified collection.

repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1;

Parameters
Name Description
index int
builderForValue DeploymentGroupRevision.Builder
Returns
Type Description
ListDeploymentGroupRevisionsResponse.Builder

setNextPageToken(String value)

public ListDeploymentGroupRevisionsResponse.Builder setNextPageToken(String value)

Token to be supplied to the next ListDeploymentGroupRevisions 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
ListDeploymentGroupRevisionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDeploymentGroupRevisionsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to be supplied to the next ListDeploymentGroupRevisions 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
ListDeploymentGroupRevisionsResponse.Builder

This builder for chaining.

setUnreachable(int index, String value)

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

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListDeploymentGroupRevisionsResponse.Builder

This builder for chaining.