Class BatchGetServicesResponse.Builder (2.28.0)

public static final class BatchGetServicesResponse.Builder extends GeneratedMessageV3.Builder<BatchGetServicesResponse.Builder> implements BatchGetServicesResponseOrBuilder

Response message for the BatchGetServices method.

Protobuf type google.api.serviceusage.v1.BatchGetServicesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllServices(Iterable<? extends Service> values)

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

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.api.serviceusage.v1.Service>
Returns
TypeDescription
BatchGetServicesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchGetServicesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchGetServicesResponse.Builder
Overrides

addServices(Service value)

public BatchGetServicesResponse.Builder addServices(Service value)

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Parameter
NameDescription
valueService
Returns
TypeDescription
BatchGetServicesResponse.Builder

addServices(Service.Builder builderForValue)

public BatchGetServicesResponse.Builder addServices(Service.Builder builderForValue)

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Parameter
NameDescription
builderForValueService.Builder
Returns
TypeDescription
BatchGetServicesResponse.Builder

addServices(int index, Service value)

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

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Parameters
NameDescription
indexint
valueService
Returns
TypeDescription
BatchGetServicesResponse.Builder

addServices(int index, Service.Builder builderForValue)

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

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Parameters
NameDescription
indexint
builderForValueService.Builder
Returns
TypeDescription
BatchGetServicesResponse.Builder

addServicesBuilder()

public Service.Builder addServicesBuilder()

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Returns
TypeDescription
Service.Builder

addServicesBuilder(int index)

public Service.Builder addServicesBuilder(int index)

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Service.Builder

build()

public BatchGetServicesResponse build()
Returns
TypeDescription
BatchGetServicesResponse

buildPartial()

public BatchGetServicesResponse buildPartial()
Returns
TypeDescription
BatchGetServicesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServices()

public BatchGetServicesResponse.Builder clearServices()

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Returns
TypeDescription
BatchGetServicesResponse.Builder

clone()

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

getDefaultInstanceForType()

public BatchGetServicesResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchGetServicesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getServices(int index)

public Service getServices(int index)

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Service

getServicesBuilder(int index)

public Service.Builder getServicesBuilder(int index)

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Service.Builder

getServicesBuilderList()

public List<Service.Builder> getServicesBuilderList()

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Returns
TypeDescription
List<Builder>

getServicesCount()

public int getServicesCount()

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Returns
TypeDescription
int

getServicesList()

public List<Service> getServicesList()

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Returns
TypeDescription
List<Service>

getServicesOrBuilder(int index)

public ServiceOrBuilder getServicesOrBuilder(int index)

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServiceOrBuilder

getServicesOrBuilderList()

public List<? extends ServiceOrBuilder> getServicesOrBuilderList()

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchGetServicesResponse other)

public BatchGetServicesResponse.Builder mergeFrom(BatchGetServicesResponse other)
Parameter
NameDescription
otherBatchGetServicesResponse
Returns
TypeDescription
BatchGetServicesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchGetServicesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchGetServicesResponse.Builder
Overrides

removeServices(int index)

public BatchGetServicesResponse.Builder removeServices(int index)

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchGetServicesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchGetServicesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchGetServicesResponse.Builder
Overrides

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

public BatchGetServicesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchGetServicesResponse.Builder
Overrides

setServices(int index, Service value)

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

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Parameters
NameDescription
indexint
valueService
Returns
TypeDescription
BatchGetServicesResponse.Builder

setServices(int index, Service.Builder builderForValue)

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

The requested Service states.

repeated .google.api.serviceusage.v1.Service services = 1;

Parameters
NameDescription
indexint
builderForValueService.Builder
Returns
TypeDescription
BatchGetServicesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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