Class ListServiceRolloutsResponse.Builder (3.49.0)

public static final class ListServiceRolloutsResponse.Builder extends GeneratedMessageV3.Builder<ListServiceRolloutsResponse.Builder> implements ListServiceRolloutsResponseOrBuilder

Response message for ListServiceRollouts method.

Protobuf type google.api.servicemanagement.v1.ListServiceRolloutsResponse

Static Methods

getDescriptor()

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

Methods

addAllRollouts(Iterable<? extends Rollout> values)

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

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

Parameter
Name Description
values Iterable<? extends com.google.api.servicemanagement.v1.Rollout>
Returns
Type Description
ListServiceRolloutsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRollouts(Rollout value)

public ListServiceRolloutsResponse.Builder addRollouts(Rollout value)

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

Parameter
Name Description
value Rollout
Returns
Type Description
ListServiceRolloutsResponse.Builder

addRollouts(Rollout.Builder builderForValue)

public ListServiceRolloutsResponse.Builder addRollouts(Rollout.Builder builderForValue)

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

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

addRollouts(int index, Rollout value)

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

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

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

addRollouts(int index, Rollout.Builder builderForValue)

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

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

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

addRolloutsBuilder()

public Rollout.Builder addRolloutsBuilder()

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

Returns
Type Description
Rollout.Builder

addRolloutsBuilder(int index)

public Rollout.Builder addRolloutsBuilder(int index)

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

Parameter
Name Description
index int
Returns
Type Description
Rollout.Builder

build()

public ListServiceRolloutsResponse build()
Returns
Type Description
ListServiceRolloutsResponse

buildPartial()

public ListServiceRolloutsResponse buildPartial()
Returns
Type Description
ListServiceRolloutsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListServiceRolloutsResponse.Builder clearNextPageToken()

The token of the next page of results.

string next_page_token = 2;

Returns
Type Description
ListServiceRolloutsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRollouts()

public ListServiceRolloutsResponse.Builder clearRollouts()

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

Returns
Type Description
ListServiceRolloutsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListServiceRolloutsResponse getDefaultInstanceForType()
Returns
Type Description
ListServiceRolloutsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

The token of the next page of results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The token of the next page of results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getRollouts(int index)

public Rollout getRollouts(int index)

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

Parameter
Name Description
index int
Returns
Type Description
Rollout

getRolloutsBuilder(int index)

public Rollout.Builder getRolloutsBuilder(int index)

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

Parameter
Name Description
index int
Returns
Type Description
Rollout.Builder

getRolloutsBuilderList()

public List<Rollout.Builder> getRolloutsBuilderList()

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

Returns
Type Description
List<Builder>

getRolloutsCount()

public int getRolloutsCount()

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

Returns
Type Description
int

getRolloutsList()

public List<Rollout> getRolloutsList()

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

Returns
Type Description
List<Rollout>

getRolloutsOrBuilder(int index)

public RolloutOrBuilder getRolloutsOrBuilder(int index)

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

Parameter
Name Description
index int
Returns
Type Description
RolloutOrBuilder

getRolloutsOrBuilderList()

public List<? extends RolloutOrBuilder> getRolloutsOrBuilderList()

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

Returns
Type Description
List<? extends com.google.api.servicemanagement.v1.RolloutOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListServiceRolloutsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRollouts(int index)

public ListServiceRolloutsResponse.Builder removeRollouts(int index)

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

Parameter
Name Description
index int
Returns
Type Description
ListServiceRolloutsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListServiceRolloutsResponse.Builder setNextPageToken(String value)

The token of the next page of results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListServiceRolloutsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListServiceRolloutsResponse.Builder setNextPageTokenBytes(ByteString value)

The token of the next page of results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListServiceRolloutsResponse.Builder

This builder for chaining.

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

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

setRollouts(int index, Rollout value)

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

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

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

setRollouts(int index, Rollout.Builder builderForValue)

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

The list of rollout resources.

repeated .google.api.servicemanagement.v1.Rollout rollouts = 1;

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

setUnknownFields(UnknownFieldSet unknownFields)

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