Class ListRolloutsResponse.Builder (1.40.0)

public static final class ListRolloutsResponse.Builder extends GeneratedMessageV3.Builder<ListRolloutsResponse.Builder> implements ListRolloutsResponseOrBuilder

ListRolloutsResponse is the response object reutrned by ListRollouts.

Protobuf type google.cloud.deploy.v1.ListRolloutsResponse

Static Methods

getDescriptor()

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

Methods

addAllRollouts(Iterable<? extends Rollout> values)

public ListRolloutsResponse.Builder addAllRollouts(Iterable<? extends Rollout> values)

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.deploy.v1.Rollout>
Returns
Type Description
ListRolloutsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRollouts(Rollout value)

public ListRolloutsResponse.Builder addRollouts(Rollout value)

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Parameter
Name Description
value Rollout
Returns
Type Description
ListRolloutsResponse.Builder

addRollouts(Rollout.Builder builderForValue)

public ListRolloutsResponse.Builder addRollouts(Rollout.Builder builderForValue)

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Parameter
Name Description
builderForValue Rollout.Builder
Returns
Type Description
ListRolloutsResponse.Builder

addRollouts(int index, Rollout value)

public ListRolloutsResponse.Builder addRollouts(int index, Rollout value)

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Parameters
Name Description
index int
value Rollout
Returns
Type Description
ListRolloutsResponse.Builder

addRollouts(int index, Rollout.Builder builderForValue)

public ListRolloutsResponse.Builder addRollouts(int index, Rollout.Builder builderForValue)

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Parameters
Name Description
index int
builderForValue Rollout.Builder
Returns
Type Description
ListRolloutsResponse.Builder

addRolloutsBuilder()

public Rollout.Builder addRolloutsBuilder()

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Returns
Type Description
Rollout.Builder

addRolloutsBuilder(int index)

public Rollout.Builder addRolloutsBuilder(int index)

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Parameter
Name Description
index int
Returns
Type Description
Rollout.Builder

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListRolloutsResponse build()
Returns
Type Description
ListRolloutsResponse

buildPartial()

public ListRolloutsResponse buildPartial()
Returns
Type Description
ListRolloutsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListRolloutsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListRolloutsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRollouts()

public ListRolloutsResponse.Builder clearRollouts()

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Returns
Type Description
ListRolloutsResponse.Builder

clearUnreachable()

public ListRolloutsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListRolloutsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListRolloutsResponse getDefaultInstanceForType()
Returns
Type Description
ListRolloutsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getRollouts(int index)

public Rollout getRollouts(int index)

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Parameter
Name Description
index int
Returns
Type Description
Rollout

getRolloutsBuilder(int index)

public Rollout.Builder getRolloutsBuilder(int index)

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Parameter
Name Description
index int
Returns
Type Description
Rollout.Builder

getRolloutsBuilderList()

public List<Rollout.Builder> getRolloutsBuilderList()

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Returns
Type Description
List<Builder>

getRolloutsCount()

public int getRolloutsCount()

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Returns
Type Description
int

getRolloutsList()

public List<Rollout> getRolloutsList()

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Returns
Type Description
List<Rollout>

getRolloutsOrBuilder(int index)

public RolloutOrBuilder getRolloutsOrBuilder(int index)

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Parameter
Name Description
index int
Returns
Type Description
RolloutOrBuilder

getRolloutsOrBuilderList()

public List<? extends RolloutOrBuilder> getRolloutsOrBuilderList()

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Returns
Type Description
List<? extends com.google.cloud.deploy.v1.RolloutOrBuilder>

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRollouts(int index)

public ListRolloutsResponse.Builder removeRollouts(int index)

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Parameter
Name Description
index int
Returns
Type Description
ListRolloutsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListRolloutsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListRolloutsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListRolloutsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListRolloutsResponse.Builder

This builder for chaining.

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

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

setRollouts(int index, Rollout value)

public ListRolloutsResponse.Builder setRollouts(int index, Rollout value)

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Parameters
Name Description
index int
value Rollout
Returns
Type Description
ListRolloutsResponse.Builder

setRollouts(int index, Rollout.Builder builderForValue)

public ListRolloutsResponse.Builder setRollouts(int index, Rollout.Builder builderForValue)

The Rollout objects.

repeated .google.cloud.deploy.v1.Rollout rollouts = 1;

Parameters
Name Description
index int
builderForValue Rollout.Builder
Returns
Type Description
ListRolloutsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.