public static final class BatchEnableServicesResponse.Builder extends GeneratedMessageV3.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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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>
|
Returns
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>
|
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
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;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchEnableServicesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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;
Parameter
Returns
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
Returns
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;
Parameters
Returns
addServicesBuilder()
public Service.Builder addServicesBuilder()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
Returns
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
Returns
build()
public BatchEnableServicesResponse build()
Returns
buildPartial()
public BatchEnableServicesResponse buildPartial()
Returns
clear()
public BatchEnableServicesResponse.Builder clear()
Returns
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public BatchEnableServicesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchEnableServicesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearServices()
public BatchEnableServicesResponse.Builder clearServices()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
Returns
clone()
public BatchEnableServicesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BatchEnableServicesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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;
Returns
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
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;
Returns
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
Returns
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
Returns
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
Returns
getServicesBuilderList()
public List<Service.Builder> getServicesBuilderList()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
Returns
getServicesCount()
public int getServicesCount()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
Returns
getServicesList()
public List<Service> getServicesList()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
Returns
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
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BatchEnableServicesResponse other)
public BatchEnableServicesResponse.Builder mergeFrom(BatchEnableServicesResponse other)
Parameter
Returns
public BatchEnableServicesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchEnableServicesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchEnableServicesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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;
Parameters
Returns
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;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchEnableServicesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchEnableServicesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
Returns
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;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchEnableServicesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides