Class ListServicesResponse.Builder (0.6.0)

publicstaticfinalclass ListServicesResponse.BuilderextendsGeneratedMessageV3.Builder<ListServicesResponse.Builder>implementsListServicesResponseOrBuilder

Response message containing a list of Services.

Protobuf type google.cloud.run.v2.ListServicesResponse

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

Methods

addAllServices(Iterable<? extends Service> values)

publicListServicesResponse.BuilderaddAllServices(Iterable<?extendsService>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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicListServicesResponse.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

addServices(Service value)

publicListServicesResponse.BuilderaddServices(Servicevalue)

The resulting list of Services.

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

Parameter
Name Description
value Service
Returns
Type Description

addServices(Service.Builder builderForValue)

publicListServicesResponse.BuilderaddServices(Service.BuilderbuilderForValue)

The resulting list of Services.

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

Parameter
Name Description
builderForValue Service.Builder
Returns
Type Description

addServices(int index, Service value)

publicListServicesResponse.BuilderaddServices(intindex,Servicevalue)

The resulting list of Services.

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

Parameters
Name Description
index int
value Service
Returns
Type Description

addServices(int index, Service.Builder builderForValue)

publicListServicesResponse.BuilderaddServices(intindex,Service.BuilderbuilderForValue)

The resulting list of Services.

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

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

addServicesBuilder()

publicService.BuilderaddServicesBuilder()

The resulting list of Services.

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

Returns
Type Description

addServicesBuilder(int index)

publicService.BuilderaddServicesBuilder(intindex)

The resulting list of Services.

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

Parameter
Name Description
index int
Returns
Type Description

build()

publicListServicesResponsebuild()
Returns
Type Description

buildPartial()

publicListServicesResponsebuildPartial()
Returns
Type Description

clear()

publicListServicesResponse.Builderclear()
Returns
Type Description
Overrides

clearField(Descriptors.FieldDescriptor field)

publicListServicesResponse.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
Returns
Type Description
Overrides

clearNextPageToken()

publicListServicesResponse.BuilderclearNextPageToken()

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)

publicListServicesResponse.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
Returns
Type Description
Overrides

clearServices()

publicListServicesResponse.BuilderclearServices()

The resulting list of Services.

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

Returns
Type Description

clone()

publicListServicesResponse.Builderclone()
Returns
Type Description
Overrides

getDefaultInstanceForType()

publicListServicesResponsegetDefaultInstanceForType()
Returns
Type Description

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Overrides

getNextPageToken()

publicStringgetNextPageToken()

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

publicByteStringgetNextPageTokenBytes()

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)

publicServicegetServices(intindex)

The resulting list of Services.

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

Parameter
Name Description
index int
Returns
Type Description

getServicesBuilder(int index)

publicService.BuildergetServicesBuilder(intindex)

The resulting list of Services.

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

Parameter
Name Description
index int
Returns
Type Description

getServicesBuilderList()

publicList<Service.Builder>getServicesBuilderList()

The resulting list of Services.

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

Returns
Type Description

getServicesCount()

publicintgetServicesCount()

The resulting list of Services.

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

Returns
Type Description
int

getServicesList()

publicList<Service>getServicesList()

The resulting list of Services.

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

Returns
Type Description

getServicesOrBuilder(int index)

publicServiceOrBuildergetServicesOrBuilder(intindex)

The resulting list of Services.

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

Parameter
Name Description
index int
Returns
Type Description

getServicesOrBuilderList()

publicList<?extendsServiceOrBuilder>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()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeFrom(ListServicesResponse other)

publicListServicesResponse.BuildermergeFrom(ListServicesResponseother)
Parameter
Name Description
Returns
Type Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicListServicesResponse.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overrides Exceptions
Type Description

mergeFrom(Message other)

publicListServicesResponse.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalListServicesResponse.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

removeServices(int index)

publicListServicesResponse.BuilderremoveServices(intindex)

The resulting list of Services.

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

Parameter
Name Description
index int
Returns
Type Description

setField(Descriptors.FieldDescriptor field, Object value)

publicListServicesResponse.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

setNextPageToken(String value)

publicListServicesResponse.BuildersetNextPageToken(Stringvalue)

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)

publicListServicesResponse.BuildersetNextPageTokenBytes(ByteStringvalue)

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)

publicListServicesResponse.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
index int
value Object
Returns
Type Description
Overrides

setServices(int index, Service value)

publicListServicesResponse.BuildersetServices(intindex,Servicevalue)

The resulting list of Services.

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

Parameters
Name Description
index int
value Service
Returns
Type Description

setServices(int index, Service.Builder builderForValue)

publicListServicesResponse.BuildersetServices(intindex,Service.BuilderbuilderForValue)

The resulting list of Services.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalListServicesResponse.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.