Class ListServiceConfigsResponse.Builder (3.42.0)

public static final class ListServiceConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListServiceConfigsResponse.Builder> implements ListServiceConfigsResponseOrBuilder

Response message for ListServiceConfigs method.

Protobuf type google.api.servicemanagement.v1.ListServiceConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllServiceConfigs(Iterable<? extends Service> values)

public ListServiceConfigsResponse.Builder addAllServiceConfigs(Iterable<? extends Service> values)

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Parameter
Name Description
values Iterable<? extends com.google.api.Service>
Returns
Type Description
ListServiceConfigsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addServiceConfigs(Service value)

public ListServiceConfigsResponse.Builder addServiceConfigs(Service value)

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Parameter
Name Description
value com.google.api.Service
Returns
Type Description
ListServiceConfigsResponse.Builder

addServiceConfigs(Service.Builder builderForValue)

public ListServiceConfigsResponse.Builder addServiceConfigs(Service.Builder builderForValue)

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Parameter
Name Description
builderForValue com.google.api.Service.Builder
Returns
Type Description
ListServiceConfigsResponse.Builder

addServiceConfigs(int index, Service value)

public ListServiceConfigsResponse.Builder addServiceConfigs(int index, Service value)

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Parameters
Name Description
index int
value com.google.api.Service
Returns
Type Description
ListServiceConfigsResponse.Builder

addServiceConfigs(int index, Service.Builder builderForValue)

public ListServiceConfigsResponse.Builder addServiceConfigs(int index, Service.Builder builderForValue)

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Parameters
Name Description
index int
builderForValue com.google.api.Service.Builder
Returns
Type Description
ListServiceConfigsResponse.Builder

addServiceConfigsBuilder()

public Service.Builder addServiceConfigsBuilder()

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Returns
Type Description
com.google.api.Service.Builder

addServiceConfigsBuilder(int index)

public Service.Builder addServiceConfigsBuilder(int index)

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.api.Service.Builder

build()

public ListServiceConfigsResponse build()
Returns
Type Description
ListServiceConfigsResponse

buildPartial()

public ListServiceConfigsResponse buildPartial()
Returns
Type Description
ListServiceConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListServiceConfigsResponse.Builder clearNextPageToken()

The token of the next page of results.

string next_page_token = 2;

Returns
Type Description
ListServiceConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceConfigs()

public ListServiceConfigsResponse.Builder clearServiceConfigs()

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Returns
Type Description
ListServiceConfigsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListServiceConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListServiceConfigsResponse

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.

getServiceConfigs(int index)

public Service getServiceConfigs(int index)

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.api.Service

getServiceConfigsBuilder(int index)

public Service.Builder getServiceConfigsBuilder(int index)

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.api.Service.Builder

getServiceConfigsBuilderList()

public List<Service.Builder> getServiceConfigsBuilderList()

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Returns
Type Description
List<com.google.api.Service.Builder>

getServiceConfigsCount()

public int getServiceConfigsCount()

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Returns
Type Description
int

getServiceConfigsList()

public List<Service> getServiceConfigsList()

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Returns
Type Description
List<com.google.api.Service>

getServiceConfigsOrBuilder(int index)

public ServiceOrBuilder getServiceConfigsOrBuilder(int index)

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.api.ServiceOrBuilder

getServiceConfigsOrBuilderList()

public List<? extends ServiceOrBuilder> getServiceConfigsOrBuilderList()

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Returns
Type Description
List<? extends com.google.api.ServiceOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListServiceConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeServiceConfigs(int index)

public ListServiceConfigsResponse.Builder removeServiceConfigs(int index)

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListServiceConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setServiceConfigs(int index, Service value)

public ListServiceConfigsResponse.Builder setServiceConfigs(int index, Service value)

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Parameters
Name Description
index int
value com.google.api.Service
Returns
Type Description
ListServiceConfigsResponse.Builder

setServiceConfigs(int index, Service.Builder builderForValue)

public ListServiceConfigsResponse.Builder setServiceConfigs(int index, Service.Builder builderForValue)

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Parameters
Name Description
index int
builderForValue com.google.api.Service.Builder
Returns
Type Description
ListServiceConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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