Class ListServicesResponse.Builder (0.49.0)

public static final class ListServicesResponse.Builder extends GeneratedMessageV3.Builder<ListServicesResponse.Builder> implements ListServicesResponseOrBuilder

Response message containing a list of Services.

Protobuf type google.cloud.run.v2.ListServicesResponse

Static Methods

getDescriptor()

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

Methods

addAllServices(Iterable<? extends Service> values)

public ListServicesResponse.Builder addAllServices(Iterable<? extends Service> values)

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.run.v2.Service>
Returns
Type Description
ListServicesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addServices(Service value)

public ListServicesResponse.Builder addServices(Service value)

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Parameter
Name Description
value Service
Returns
Type Description
ListServicesResponse.Builder

addServices(Service.Builder builderForValue)

public ListServicesResponse.Builder addServices(Service.Builder builderForValue)

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Parameter
Name Description
builderForValue Service.Builder
Returns
Type Description
ListServicesResponse.Builder

addServices(int index, Service value)

public ListServicesResponse.Builder addServices(int index, Service value)

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Parameters
Name Description
index int
value Service
Returns
Type Description
ListServicesResponse.Builder

addServices(int index, Service.Builder builderForValue)

public ListServicesResponse.Builder addServices(int index, Service.Builder builderForValue)

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Parameters
Name Description
index int
builderForValue Service.Builder
Returns
Type Description
ListServicesResponse.Builder

addServicesBuilder()

public Service.Builder addServicesBuilder()

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Returns
Type Description
Service.Builder

addServicesBuilder(int index)

public Service.Builder addServicesBuilder(int index)

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Parameter
Name Description
index int
Returns
Type Description
Service.Builder

build()

public ListServicesResponse build()
Returns
Type Description
ListServicesResponse

buildPartial()

public ListServicesResponse buildPartial()
Returns
Type Description
ListServicesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListServicesResponse.Builder clearNextPageToken()

A token indicating there are more items than page_size. Use it in the next ListServices request to continue.

string next_page_token = 2;

Returns
Type Description
ListServicesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServices()

public ListServicesResponse.Builder clearServices()

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Returns
Type Description
ListServicesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListServicesResponse getDefaultInstanceForType()
Returns
Type Description
ListServicesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token indicating there are more items than page_size. Use it in the next ListServices request to continue.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token indicating there are more items than page_size. Use it in the next ListServices request to continue.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getServices(int index)

public Service getServices(int index)

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Parameter
Name Description
index int
Returns
Type Description
Service

getServicesBuilder(int index)

public Service.Builder getServicesBuilder(int index)

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Parameter
Name Description
index int
Returns
Type Description
Service.Builder

getServicesBuilderList()

public List<Service.Builder> getServicesBuilderList()

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Returns
Type Description
List<Builder>

getServicesCount()

public int getServicesCount()

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Returns
Type Description
int

getServicesList()

public List<Service> getServicesList()

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Returns
Type Description
List<Service>

getServicesOrBuilder(int index)

public ServiceOrBuilder getServicesOrBuilder(int index)

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Parameter
Name Description
index int
Returns
Type Description
ServiceOrBuilder

getServicesOrBuilderList()

public List<? extends ServiceOrBuilder> getServicesOrBuilderList()

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Returns
Type Description
List<? extends com.google.cloud.run.v2.ServiceOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListServicesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeServices(int index)

public ListServicesResponse.Builder removeServices(int index)

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Parameter
Name Description
index int
Returns
Type Description
ListServicesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListServicesResponse.Builder setNextPageToken(String value)

A token indicating there are more items than page_size. Use it in the next ListServices request to continue.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListServicesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListServicesResponse.Builder setNextPageTokenBytes(ByteString value)

A token indicating there are more items than page_size. Use it in the next ListServices request to continue.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListServicesResponse.Builder

This builder for chaining.

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

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

setServices(int index, Service value)

public ListServicesResponse.Builder setServices(int index, Service value)

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Parameters
Name Description
index int
value Service
Returns
Type Description
ListServicesResponse.Builder

setServices(int index, Service.Builder builderForValue)

public ListServicesResponse.Builder setServices(int index, Service.Builder builderForValue)

The resulting list of Services.

repeated .google.cloud.run.v2.Service services = 1;

Parameters
Name Description
index int
builderForValue Service.Builder
Returns
Type Description
ListServicesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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