Class 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 type google.api.serviceusage.v1.BatchEnableServicesResponse
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchEnableServicesResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchEnableServicesResponse.Builder>
      • getDefaultInstanceForType

        public BatchEnableServicesResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public BatchEnableServicesResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public BatchEnableServicesResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchEnableServicesResponse.Builder>
        Throws:
        IOException
      • 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;
      • 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;
      • 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:
        getFailuresCount in interface BatchEnableServicesResponseOrBuilder
      • 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;
      • 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;
      • mergeUnknownFields

        public final BatchEnableServicesResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchEnableServicesResponse.Builder>