public static final class BatchEnableServicesResponse.Builder extends GeneratedMessage.Builder<BatchEnableServicesResponse.Builder> implements BatchEnableServicesResponseOrBuilder
Response message for the BatchEnableServices method.
This response message is assigned to the response field of the returned
Operation when that operation is done.
Protobuf type google.api.serviceusage.v1.BatchEnableServicesResponse
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllFailures(Iterable<? extends BatchEnableServicesResponse.EnableFailure> values)
public BatchEnableServicesResponse.Builder addAllFailures(Iterable<? extends BatchEnableServicesResponse.EnableFailure> values)
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure>
|
addAllServices(Iterable<? extends Service> values)
public BatchEnableServicesResponse.Builder addAllServices(Iterable<? extends Service> values)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.api.serviceusage.v1.Service>
|
addFailures(BatchEnableServicesResponse.EnableFailure value)
public BatchEnableServicesResponse.Builder addFailures(BatchEnableServicesResponse.EnableFailure value)
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
addFailures(BatchEnableServicesResponse.EnableFailure.Builder builderForValue)
public BatchEnableServicesResponse.Builder addFailures(BatchEnableServicesResponse.EnableFailure.Builder builderForValue)
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
addFailures(int index, BatchEnableServicesResponse.EnableFailure value)
public BatchEnableServicesResponse.Builder addFailures(int index, BatchEnableServicesResponse.EnableFailure value)
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
addFailures(int index, BatchEnableServicesResponse.EnableFailure.Builder builderForValue)
public BatchEnableServicesResponse.Builder addFailures(int index, BatchEnableServicesResponse.EnableFailure.Builder builderForValue)
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
addFailuresBuilder()
public BatchEnableServicesResponse.EnableFailure.Builder addFailuresBuilder()
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
addFailuresBuilder(int index)
public BatchEnableServicesResponse.EnableFailure.Builder addFailuresBuilder(int index)
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
| Parameter |
| Name |
Description |
index |
int
|
addServices(Service value)
public BatchEnableServicesResponse.Builder addServices(Service value)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
| Parameter |
| Name |
Description |
value |
Service
|
addServices(Service.Builder builderForValue)
public BatchEnableServicesResponse.Builder addServices(Service.Builder builderForValue)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
addServices(int index, Service value)
public BatchEnableServicesResponse.Builder addServices(int index, Service value)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
| Parameters |
| Name |
Description |
index |
int
|
value |
Service
|
addServices(int index, Service.Builder builderForValue)
public BatchEnableServicesResponse.Builder addServices(int index, Service.Builder builderForValue)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
addServicesBuilder()
public Service.Builder addServicesBuilder()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
addServicesBuilder(int index)
public Service.Builder addServicesBuilder(int index)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
| Parameter |
| Name |
Description |
index |
int
|
build()
public BatchEnableServicesResponse build()
buildPartial()
public BatchEnableServicesResponse buildPartial()
clear()
public BatchEnableServicesResponse.Builder clear()
Overrides
clearFailures()
public BatchEnableServicesResponse.Builder clearFailures()
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
clearServices()
public BatchEnableServicesResponse.Builder clearServices()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
getDefaultInstanceForType()
public BatchEnableServicesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFailures(int index)
public BatchEnableServicesResponse.EnableFailure getFailures(int index)
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
| Parameter |
| Name |
Description |
index |
int
|
getFailuresBuilder(int index)
public BatchEnableServicesResponse.EnableFailure.Builder getFailuresBuilder(int index)
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
| Parameter |
| Name |
Description |
index |
int
|
getFailuresBuilderList()
public List<BatchEnableServicesResponse.EnableFailure.Builder> getFailuresBuilderList()
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
getFailuresCount()
public int getFailuresCount()
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
| Returns |
| Type |
Description |
int |
|
getFailuresList()
public List<BatchEnableServicesResponse.EnableFailure> getFailuresList()
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
getFailuresOrBuilder(int index)
public BatchEnableServicesResponse.EnableFailureOrBuilder getFailuresOrBuilder(int index)
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
| Parameter |
| Name |
Description |
index |
int
|
getFailuresOrBuilderList()
public List<? extends BatchEnableServicesResponse.EnableFailureOrBuilder> getFailuresOrBuilderList()
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
| Returns |
| Type |
Description |
List<? extends com.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailureOrBuilder> |
|
getServices(int index)
public Service getServices(int index)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
| Parameter |
| Name |
Description |
index |
int
|
getServicesBuilder(int index)
public Service.Builder getServicesBuilder(int index)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
| Parameter |
| Name |
Description |
index |
int
|
getServicesBuilderList()
public List<Service.Builder> getServicesBuilderList()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
getServicesCount()
public int getServicesCount()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
| Returns |
| Type |
Description |
int |
|
getServicesList()
public List<Service> getServicesList()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
getServicesOrBuilder(int index)
public ServiceOrBuilder getServicesOrBuilder(int index)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
| Parameter |
| Name |
Description |
index |
int
|
getServicesOrBuilderList()
public List<? extends ServiceOrBuilder> getServicesOrBuilderList()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
| Returns |
| Type |
Description |
List<? extends com.google.api.serviceusage.v1.ServiceOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchEnableServicesResponse other)
public BatchEnableServicesResponse.Builder mergeFrom(BatchEnableServicesResponse other)
public BatchEnableServicesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchEnableServicesResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeFailures(int index)
public BatchEnableServicesResponse.Builder removeFailures(int index)
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
| Parameter |
| Name |
Description |
index |
int
|
removeServices(int index)
public BatchEnableServicesResponse.Builder removeServices(int index)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
| Parameter |
| Name |
Description |
index |
int
|
setFailures(int index, BatchEnableServicesResponse.EnableFailure value)
public BatchEnableServicesResponse.Builder setFailures(int index, BatchEnableServicesResponse.EnableFailure value)
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
setFailures(int index, BatchEnableServicesResponse.EnableFailure.Builder builderForValue)
public BatchEnableServicesResponse.Builder setFailures(int index, BatchEnableServicesResponse.EnableFailure.Builder builderForValue)
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;
setServices(int index, Service value)
public BatchEnableServicesResponse.Builder setServices(int index, Service value)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
| Parameters |
| Name |
Description |
index |
int
|
value |
Service
|
setServices(int index, Service.Builder builderForValue)
public BatchEnableServicesResponse.Builder setServices(int index, Service.Builder builderForValue)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;