Class ListServiceConfigsResponse.Builder (3.21.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.api.Service>
Returns
TypeDescription
ListServiceConfigsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListServiceConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuecom.google.api.Service
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.api.Service.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.api.Service
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.api.Service.Builder
Returns
TypeDescription
ListServiceConfigsResponse.Builder

addServiceConfigsBuilder()

public Service.Builder addServiceConfigsBuilder()

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
com.google.api.Service.Builder

build()

public ListServiceConfigsResponse build()
Returns
TypeDescription
ListServiceConfigsResponse

buildPartial()

public ListServiceConfigsResponse buildPartial()
Returns
TypeDescription
ListServiceConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListServiceConfigsResponse.Builder clearNextPageToken()

The token of the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ListServiceConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceConfigs()

public ListServiceConfigsResponse.Builder clearServiceConfigs()

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Returns
TypeDescription
ListServiceConfigsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListServiceConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListServiceConfigsResponse

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.

getServiceConfigs(int index)

public Service getServiceConfigs(int index)

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<com.google.api.Service.Builder>

getServiceConfigsCount()

public int getServiceConfigsCount()

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Returns
TypeDescription
int

getServiceConfigsList()

public List<Service> getServiceConfigsList()

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
com.google.api.ServiceOrBuilder

getServiceConfigsOrBuilderList()

public List<? extends ServiceOrBuilder> getServiceConfigsOrBuilderList()

The list of service configuration resources.

repeated .google.api.Service service_configs = 1;

Returns
TypeDescription
List<? extends com.google.api.ServiceOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListServiceConfigsResponse other)

public ListServiceConfigsResponse.Builder mergeFrom(ListServiceConfigsResponse other)
Parameter
NameDescription
otherListServiceConfigsResponse
Returns
TypeDescription
ListServiceConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.api.Service
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.api.Service.Builder
Returns
TypeDescription
ListServiceConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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