Class ListRolloutsResponse.Builder (1.34.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.deploy.v1.Rollout>
Returns
TypeDescription
ListRolloutsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRollouts(Rollout value)

public ListRolloutsResponse.Builder addRollouts(Rollout value)

The Rollout objects.

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

Parameter
NameDescription
valueRollout
Returns
TypeDescription
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
NameDescription
builderForValueRollout.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRollout
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRollout.Builder
Returns
TypeDescription
ListRolloutsResponse.Builder

addRolloutsBuilder()

public Rollout.Builder addRolloutsBuilder()

The Rollout objects.

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

Returns
TypeDescription
Rollout.Builder

addRolloutsBuilder(int index)

public Rollout.Builder addRolloutsBuilder(int index)

The Rollout objects.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Rollout.Builder

addUnreachable(String value)

public ListRolloutsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListRolloutsResponse.Builder

This builder for chaining.

build()

public ListRolloutsResponse build()
Returns
TypeDescription
ListRolloutsResponse

buildPartial()

public ListRolloutsResponse buildPartial()
Returns
TypeDescription
ListRolloutsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRollouts()

public ListRolloutsResponse.Builder clearRollouts()

The Rollout objects.

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

Returns
TypeDescription
ListRolloutsResponse.Builder

clearUnreachable()

public ListRolloutsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListRolloutsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListRolloutsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListRolloutsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Rollout

getRolloutsBuilder(int index)

public Rollout.Builder getRolloutsBuilder(int index)

The Rollout objects.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Rollout.Builder

getRolloutsBuilderList()

public List<Rollout.Builder> getRolloutsBuilderList()

The Rollout objects.

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

Returns
TypeDescription
List<Builder>

getRolloutsCount()

public int getRolloutsCount()

The Rollout objects.

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

Returns
TypeDescription
int

getRolloutsList()

public List<Rollout> getRolloutsList()

The Rollout objects.

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

Returns
TypeDescription
List<Rollout>

getRolloutsOrBuilder(int index)

public RolloutOrBuilder getRolloutsOrBuilder(int index)

The Rollout objects.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RolloutOrBuilder

getRolloutsOrBuilderList()

public List<? extends RolloutOrBuilder> getRolloutsOrBuilderList()

The Rollout objects.

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

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

public ListRolloutsResponse.Builder mergeFrom(ListRolloutsResponse other)
Parameter
NameDescription
otherListRolloutsResponse
Returns
TypeDescription
ListRolloutsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRolloutsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListRolloutsResponse.Builder
Overrides

removeRollouts(int index)

public ListRolloutsResponse.Builder removeRollouts(int index)

The Rollout objects.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListRolloutsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueRollout
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRollout.Builder
Returns
TypeDescription
ListRolloutsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListRolloutsResponse.Builder

This builder for chaining.