Package com.google.api.serviceusage.v1
Class BatchEnableServicesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchEnableServicesResponse.Builder>
-
- com.google.api.serviceusage.v1.BatchEnableServicesResponse.Builder
-
- All Implemented Interfaces:
BatchEnableServicesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchEnableServicesResponse
public static final class BatchEnableServicesResponse.Builder extends com.google.protobuf.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 typegoogle.api.serviceusage.v1.BatchEnableServicesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchEnableServicesResponse.BuilderaddAllFailures(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.BatchEnableServicesResponse.BuilderaddAllServices(Iterable<? extends Service> values)The new state of the services after enabling.BatchEnableServicesResponse.BuilderaddFailures(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.BatchEnableServicesResponse.BuilderaddFailures(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.BatchEnableServicesResponse.BuilderaddFailures(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.BatchEnableServicesResponse.BuilderaddFailures(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.BatchEnableServicesResponse.EnableFailure.BuilderaddFailuresBuilder()If allow_partial_success is true, and one or more services could not be enabled, this field contains the details about each failure.BatchEnableServicesResponse.EnableFailure.BuilderaddFailuresBuilder(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.BatchEnableServicesResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchEnableServicesResponse.BuilderaddServices(int index, Service value)The new state of the services after enabling.BatchEnableServicesResponse.BuilderaddServices(int index, Service.Builder builderForValue)The new state of the services after enabling.BatchEnableServicesResponse.BuilderaddServices(Service value)The new state of the services after enabling.BatchEnableServicesResponse.BuilderaddServices(Service.Builder builderForValue)The new state of the services after enabling.Service.BuilderaddServicesBuilder()The new state of the services after enabling.Service.BuilderaddServicesBuilder(int index)The new state of the services after enabling.BatchEnableServicesResponsebuild()BatchEnableServicesResponsebuildPartial()BatchEnableServicesResponse.Builderclear()BatchEnableServicesResponse.BuilderclearFailures()If allow_partial_success is true, and one or more services could not be enabled, this field contains the details about each failure.BatchEnableServicesResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BatchEnableServicesResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BatchEnableServicesResponse.BuilderclearServices()The new state of the services after enabling.BatchEnableServicesResponse.Builderclone()BatchEnableServicesResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()BatchEnableServicesResponse.EnableFailuregetFailures(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.BatchEnableServicesResponse.EnableFailure.BuildergetFailuresBuilder(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.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.intgetFailuresCount()If allow_partial_success is true, and one or more services could not be enabled, this field contains the details about each failure.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.BatchEnableServicesResponse.EnableFailureOrBuildergetFailuresOrBuilder(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.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.ServicegetServices(int index)The new state of the services after enabling.Service.BuildergetServicesBuilder(int index)The new state of the services after enabling.List<Service.Builder>getServicesBuilderList()The new state of the services after enabling.intgetServicesCount()The new state of the services after enabling.List<Service>getServicesList()The new state of the services after enabling.ServiceOrBuildergetServicesOrBuilder(int index)The new state of the services after enabling.List<? extends ServiceOrBuilder>getServicesOrBuilderList()The new state of the services after enabling.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BatchEnableServicesResponse.BuildermergeFrom(BatchEnableServicesResponse other)BatchEnableServicesResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BatchEnableServicesResponse.BuildermergeFrom(com.google.protobuf.Message other)BatchEnableServicesResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BatchEnableServicesResponse.BuilderremoveFailures(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.BatchEnableServicesResponse.BuilderremoveServices(int index)The new state of the services after enabling.BatchEnableServicesResponse.BuildersetFailures(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.BatchEnableServicesResponse.BuildersetFailures(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.BatchEnableServicesResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchEnableServicesResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BatchEnableServicesResponse.BuildersetServices(int index, Service value)The new state of the services after enabling.BatchEnableServicesResponse.BuildersetServices(int index, Service.Builder builderForValue)The new state of the services after enabling.BatchEnableServicesResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchEnableServicesResponse.Builder>
-
clear
public BatchEnableServicesResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchEnableServicesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchEnableServicesResponse.Builder>
-
getDefaultInstanceForType
public BatchEnableServicesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchEnableServicesResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchEnableServicesResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchEnableServicesResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchEnableServicesResponse.Builder>
-
setField
public BatchEnableServicesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchEnableServicesResponse.Builder>
-
clearField
public BatchEnableServicesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchEnableServicesResponse.Builder>
-
clearOneof
public BatchEnableServicesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchEnableServicesResponse.Builder>
-
setRepeatedField
public BatchEnableServicesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchEnableServicesResponse.Builder>
-
addRepeatedField
public BatchEnableServicesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchEnableServicesResponse.Builder>
-
mergeFrom
public BatchEnableServicesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchEnableServicesResponse.Builder>
-
mergeFrom
public BatchEnableServicesResponse.Builder mergeFrom(BatchEnableServicesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchEnableServicesResponse.Builder>
-
mergeFrom
public BatchEnableServicesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchEnableServicesResponse.Builder>- Throws:
IOException
-
getServicesList
public List<Service> getServicesList()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;- Specified by:
getServicesListin interfaceBatchEnableServicesResponseOrBuilder
-
getServicesCount
public int getServicesCount()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;- Specified by:
getServicesCountin interfaceBatchEnableServicesResponseOrBuilder
-
getServices
public Service getServices(int index)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;- Specified by:
getServicesin interfaceBatchEnableServicesResponseOrBuilder
-
setServices
public BatchEnableServicesResponse.Builder setServices(int index, Service value)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
-
setServices
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;
-
addServices
public BatchEnableServicesResponse.Builder addServices(Service value)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
-
addServices
public BatchEnableServicesResponse.Builder addServices(int index, Service value)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
-
addServices
public BatchEnableServicesResponse.Builder addServices(Service.Builder builderForValue)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
-
addServices
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;
-
addAllServices
public BatchEnableServicesResponse.Builder addAllServices(Iterable<? extends Service> values)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
-
clearServices
public BatchEnableServicesResponse.Builder clearServices()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
-
removeServices
public BatchEnableServicesResponse.Builder removeServices(int index)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
-
getServicesBuilder
public Service.Builder getServicesBuilder(int index)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
-
getServicesOrBuilder
public ServiceOrBuilder getServicesOrBuilder(int index)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;- Specified by:
getServicesOrBuilderin interfaceBatchEnableServicesResponseOrBuilder
-
getServicesOrBuilderList
public List<? extends ServiceOrBuilder> getServicesOrBuilderList()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;- Specified by:
getServicesOrBuilderListin interfaceBatchEnableServicesResponseOrBuilder
-
addServicesBuilder
public Service.Builder addServicesBuilder()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
-
addServicesBuilder
public Service.Builder addServicesBuilder(int index)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
-
getServicesBuilderList
public List<Service.Builder> getServicesBuilderList()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
-
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;- Specified by:
getFailuresListin interfaceBatchEnableServicesResponseOrBuilder
-
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;- Specified by:
getFailuresCountin interfaceBatchEnableServicesResponseOrBuilder
-
getFailures
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;- Specified by:
getFailuresin interfaceBatchEnableServicesResponseOrBuilder
-
setFailures
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
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;
-
addFailures
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
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
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
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;
-
addAllFailures
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;
-
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;
-
removeFailures
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;
-
getFailuresBuilder
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;
-
getFailuresOrBuilder
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;- Specified by:
getFailuresOrBuilderin interfaceBatchEnableServicesResponseOrBuilder
-
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;- Specified by:
getFailuresOrBuilderListin interfaceBatchEnableServicesResponseOrBuilder
-
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
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;
-
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;
-
setUnknownFields
public final BatchEnableServicesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchEnableServicesResponse.Builder>
-
mergeUnknownFields
public final BatchEnableServicesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchEnableServicesResponse.Builder>
-
-