Class BatchGetServicesResponse.Builder (2.49.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
Type Description
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
Name Description
values Iterable<? extends com.google.api.serviceusage.v1.Service>
Returns
Type Description
BatchGetServicesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchGetServicesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value Service
Returns
Type Description
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
Name Description
builderForValue Service.Builder
Returns
Type Description
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
Name Description
index int
value Service
Returns
Type Description
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
Name Description
index int
builderForValue Service.Builder
Returns
Type Description
BatchGetServicesResponse.Builder

addServicesBuilder()

public Service.Builder addServicesBuilder()

The requested Service states.

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

Returns
Type Description
Service.Builder

addServicesBuilder(int index)

public Service.Builder addServicesBuilder(int index)

The requested Service states.

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

Parameter
Name Description
index int
Returns
Type Description
Service.Builder

build()

public BatchGetServicesResponse build()
Returns
Type Description
BatchGetServicesResponse

buildPartial()

public BatchGetServicesResponse buildPartial()
Returns
Type Description
BatchGetServicesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServices()

public BatchGetServicesResponse.Builder clearServices()

The requested Service states.

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

Returns
Type Description
BatchGetServicesResponse.Builder

clone()

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

getDefaultInstanceForType()

public BatchGetServicesResponse getDefaultInstanceForType()
Returns
Type Description
BatchGetServicesResponse

getDescriptorForType()

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

getServices(int index)

public Service getServices(int index)

The requested Service states.

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

Parameter
Name Description
index int
Returns
Type Description
Service

getServicesBuilder(int index)

public Service.Builder getServicesBuilder(int index)

The requested Service states.

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

Parameter
Name Description
index int
Returns
Type Description
Service.Builder

getServicesBuilderList()

public List<Service.Builder> getServicesBuilderList()

The requested Service states.

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

Returns
Type Description
List<Builder>

getServicesCount()

public int getServicesCount()

The requested Service states.

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

Returns
Type Description
int

getServicesList()

public List<Service> getServicesList()

The requested Service states.

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

Returns
Type Description
List<Service>

getServicesOrBuilder(int index)

public ServiceOrBuilder getServicesOrBuilder(int index)

The requested Service states.

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

Parameter
Name Description
index int
Returns
Type Description
ServiceOrBuilder

getServicesOrBuilderList()

public List<? extends ServiceOrBuilder> getServicesOrBuilderList()

The requested Service states.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchGetServicesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchGetServicesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
BatchGetServicesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public BatchGetServicesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
index int
value Service
Returns
Type Description
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
Name Description
index int
builderForValue Service.Builder
Returns
Type Description
BatchGetServicesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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