Class ListServiceRolloutsResponse.Builder (3.11.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.api.servicemanagement.v1.Rollout>
Returns
TypeDescription
ListServiceRolloutsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListServiceRolloutsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRollout
Returns
TypeDescription
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
NameDescription
builderForValueRollout.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRollout
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRollout.Builder
Returns
TypeDescription
ListServiceRolloutsResponse.Builder

addRolloutsBuilder()

public Rollout.Builder addRolloutsBuilder()

The list of rollout resources.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Rollout.Builder

build()

public ListServiceRolloutsResponse build()
Returns
TypeDescription
ListServiceRolloutsResponse

buildPartial()

public ListServiceRolloutsResponse buildPartial()
Returns
TypeDescription
ListServiceRolloutsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListServiceRolloutsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListServiceRolloutsResponse.Builder
Overrides

clearNextPageToken()

public ListServiceRolloutsResponse.Builder clearNextPageToken()

The token of the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ListServiceRolloutsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRollouts()

public ListServiceRolloutsResponse.Builder clearRollouts()

The list of rollout resources.

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

Returns
TypeDescription
ListServiceRolloutsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListServiceRolloutsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListServiceRolloutsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

The token of the next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The token of the next page of results.

string next_page_token = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Rollout

getRolloutsBuilder(int index)

public Rollout.Builder getRolloutsBuilder(int index)

The list of rollout resources.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Rollout.Builder

getRolloutsBuilderList()

public List<Rollout.Builder> getRolloutsBuilderList()

The list of rollout resources.

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

Returns
TypeDescription
List<Builder>

getRolloutsCount()

public int getRolloutsCount()

The list of rollout resources.

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

Returns
TypeDescription
int

getRolloutsList()

public List<Rollout> getRolloutsList()

The list of rollout resources.

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

Returns
TypeDescription
List<Rollout>

getRolloutsOrBuilder(int index)

public RolloutOrBuilder getRolloutsOrBuilder(int index)

The list of rollout resources.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RolloutOrBuilder

getRolloutsOrBuilderList()

public List<? extends RolloutOrBuilder> getRolloutsOrBuilderList()

The list of rollout resources.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListServiceRolloutsResponse other)

public ListServiceRolloutsResponse.Builder mergeFrom(ListServiceRolloutsResponse other)
Parameter
NameDescription
otherListServiceRolloutsResponse
Returns
TypeDescription
ListServiceRolloutsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListServiceRolloutsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListServiceRolloutsResponse.Builder
Overrides