Class BatchEnableServicesResponse.Builder (2.24.0)

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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

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

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
NameDescription
valuesIterable<? 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
NameDescription
valuesIterable<? 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;

Parameter
NameDescription
valueBatchEnableServicesResponse.EnableFailure

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
NameDescription
builderForValueBatchEnableServicesResponse.EnableFailure.Builder

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
NameDescription
indexint
valueBatchEnableServicesResponse.EnableFailure

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
NameDescription
indexint
builderForValueBatchEnableServicesResponse.EnableFailure.Builder

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
NameDescription
indexint

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchEnableServicesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
NameDescription
valueService

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
NameDescription
builderForValueService.Builder

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
NameDescription
indexint
valueService

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
NameDescription
indexint
builderForValueService.Builder

addServicesBuilder()

public Service.Builder addServicesBuilder()

The new state of the services after enabling.

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

Returns
TypeDescription
Service.Builder

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

build()

public BatchEnableServicesResponse build()
Returns
TypeDescription
BatchEnableServicesResponse

buildPartial()

public BatchEnableServicesResponse buildPartial()
Returns
TypeDescription
BatchEnableServicesResponse

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;

clearField(Descriptors.FieldDescriptor field)

public BatchEnableServicesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchEnableServicesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Overrides

clearServices()

public BatchEnableServicesResponse.Builder clearServices()

The new state of the services after enabling.

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

clone()

public BatchEnableServicesResponse.Builder clone()
Overrides

getDefaultInstanceForType()

public BatchEnableServicesResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchEnableServicesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
NameDescription
indexint

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
NameDescription
indexint

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
TypeDescription
List<Builder>

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
TypeDescription
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;

Returns
TypeDescription
List<EnableFailure>

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
NameDescription
indexint

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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Service

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

getServicesBuilderList()

public List<Service.Builder> getServicesBuilderList()

The new state of the services after enabling.

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

Returns
TypeDescription
List<Builder>

getServicesCount()

public int getServicesCount()

The new state of the services after enabling.

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

Returns
TypeDescription
int

getServicesList()

public List<Service> getServicesList()

The new state of the services after enabling.

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

Returns
TypeDescription
List<Service>

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
NameDescription
indexint
Returns
TypeDescription
ServiceOrBuilder

getServicesOrBuilderList()

public List<? extends ServiceOrBuilder> getServicesOrBuilderList()

The new state of the services after enabling.

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(BatchEnableServicesResponse other)

public BatchEnableServicesResponse.Builder mergeFrom(BatchEnableServicesResponse other)
Parameter
NameDescription
otherBatchEnableServicesResponse

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BatchEnableServicesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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
NameDescription
indexint

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
NameDescription
indexint
valueBatchEnableServicesResponse.EnableFailure

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
NameDescription
indexint
builderForValueBatchEnableServicesResponse.EnableFailure.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public BatchEnableServicesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
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
NameDescription
indexint
valueService

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
NameDescription
indexint
builderForValueService.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchEnableServicesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides