Class BatchEnableServicesRequest.Builder

    • 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<BatchEnableServicesRequest.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<BatchEnableServicesRequest.Builder>
      • getDefaultInstanceForType

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

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

        public BatchEnableServicesRequest 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<BatchEnableServicesRequest.Builder>
      • mergeFrom

        public BatchEnableServicesRequest.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<BatchEnableServicesRequest.Builder>
        Throws:
        IOException
      • getParent

        public String getParent()
         Parent to enable services on.
        
         An example name would be:
         `projects/123`
         where `123` is the project number (not project ID).
        
         The `BatchEnableServices` method currently only supports projects.
         
        string parent = 1;
        Specified by:
        getParent in interface BatchEnableServicesRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Parent to enable services on.
        
         An example name would be:
         `projects/123`
         where `123` is the project number (not project ID).
        
         The `BatchEnableServices` method currently only supports projects.
         
        string parent = 1;
        Specified by:
        getParentBytes in interface BatchEnableServicesRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public BatchEnableServicesRequest.Builder setParent​(String value)
         Parent to enable services on.
        
         An example name would be:
         `projects/123`
         where `123` is the project number (not project ID).
        
         The `BatchEnableServices` method currently only supports projects.
         
        string parent = 1;
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public BatchEnableServicesRequest.Builder clearParent()
         Parent to enable services on.
        
         An example name would be:
         `projects/123`
         where `123` is the project number (not project ID).
        
         The `BatchEnableServices` method currently only supports projects.
         
        string parent = 1;
        Returns:
        This builder for chaining.
      • setParentBytes

        public BatchEnableServicesRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Parent to enable services on.
        
         An example name would be:
         `projects/123`
         where `123` is the project number (not project ID).
        
         The `BatchEnableServices` method currently only supports projects.
         
        string parent = 1;
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getServiceIdsList

        public com.google.protobuf.ProtocolStringList getServiceIdsList()
         The identifiers of the services to enable on the project.
        
         A valid identifier would be:
         serviceusage.googleapis.com
        
         Enabling services requires that each service is public or is shared with
         the user enabling the service.
        
         Two or more services must be specified. To enable a single service,
         use the `EnableService` method instead.
        
         A single request can enable a maximum of 20 services at a time. If more
         than 20 services are specified, the request will fail, and no state changes
         will occur.
         
        repeated string service_ids = 2;
        Specified by:
        getServiceIdsList in interface BatchEnableServicesRequestOrBuilder
        Returns:
        A list containing the serviceIds.
      • getServiceIdsCount

        public int getServiceIdsCount()
         The identifiers of the services to enable on the project.
        
         A valid identifier would be:
         serviceusage.googleapis.com
        
         Enabling services requires that each service is public or is shared with
         the user enabling the service.
        
         Two or more services must be specified. To enable a single service,
         use the `EnableService` method instead.
        
         A single request can enable a maximum of 20 services at a time. If more
         than 20 services are specified, the request will fail, and no state changes
         will occur.
         
        repeated string service_ids = 2;
        Specified by:
        getServiceIdsCount in interface BatchEnableServicesRequestOrBuilder
        Returns:
        The count of serviceIds.
      • getServiceIds

        public String getServiceIds​(int index)
         The identifiers of the services to enable on the project.
        
         A valid identifier would be:
         serviceusage.googleapis.com
        
         Enabling services requires that each service is public or is shared with
         the user enabling the service.
        
         Two or more services must be specified. To enable a single service,
         use the `EnableService` method instead.
        
         A single request can enable a maximum of 20 services at a time. If more
         than 20 services are specified, the request will fail, and no state changes
         will occur.
         
        repeated string service_ids = 2;
        Specified by:
        getServiceIds in interface BatchEnableServicesRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The serviceIds at the given index.
      • getServiceIdsBytes

        public com.google.protobuf.ByteString getServiceIdsBytes​(int index)
         The identifiers of the services to enable on the project.
        
         A valid identifier would be:
         serviceusage.googleapis.com
        
         Enabling services requires that each service is public or is shared with
         the user enabling the service.
        
         Two or more services must be specified. To enable a single service,
         use the `EnableService` method instead.
        
         A single request can enable a maximum of 20 services at a time. If more
         than 20 services are specified, the request will fail, and no state changes
         will occur.
         
        repeated string service_ids = 2;
        Specified by:
        getServiceIdsBytes in interface BatchEnableServicesRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the serviceIds at the given index.
      • setServiceIds

        public BatchEnableServicesRequest.Builder setServiceIds​(int index,
                                                                String value)
         The identifiers of the services to enable on the project.
        
         A valid identifier would be:
         serviceusage.googleapis.com
        
         Enabling services requires that each service is public or is shared with
         the user enabling the service.
        
         Two or more services must be specified. To enable a single service,
         use the `EnableService` method instead.
        
         A single request can enable a maximum of 20 services at a time. If more
         than 20 services are specified, the request will fail, and no state changes
         will occur.
         
        repeated string service_ids = 2;
        Parameters:
        index - The index to set the value at.
        value - The serviceIds to set.
        Returns:
        This builder for chaining.
      • addServiceIds

        public BatchEnableServicesRequest.Builder addServiceIds​(String value)
         The identifiers of the services to enable on the project.
        
         A valid identifier would be:
         serviceusage.googleapis.com
        
         Enabling services requires that each service is public or is shared with
         the user enabling the service.
        
         Two or more services must be specified. To enable a single service,
         use the `EnableService` method instead.
        
         A single request can enable a maximum of 20 services at a time. If more
         than 20 services are specified, the request will fail, and no state changes
         will occur.
         
        repeated string service_ids = 2;
        Parameters:
        value - The serviceIds to add.
        Returns:
        This builder for chaining.
      • addAllServiceIds

        public BatchEnableServicesRequest.Builder addAllServiceIds​(Iterable<String> values)
         The identifiers of the services to enable on the project.
        
         A valid identifier would be:
         serviceusage.googleapis.com
        
         Enabling services requires that each service is public or is shared with
         the user enabling the service.
        
         Two or more services must be specified. To enable a single service,
         use the `EnableService` method instead.
        
         A single request can enable a maximum of 20 services at a time. If more
         than 20 services are specified, the request will fail, and no state changes
         will occur.
         
        repeated string service_ids = 2;
        Parameters:
        values - The serviceIds to add.
        Returns:
        This builder for chaining.
      • clearServiceIds

        public BatchEnableServicesRequest.Builder clearServiceIds()
         The identifiers of the services to enable on the project.
        
         A valid identifier would be:
         serviceusage.googleapis.com
        
         Enabling services requires that each service is public or is shared with
         the user enabling the service.
        
         Two or more services must be specified. To enable a single service,
         use the `EnableService` method instead.
        
         A single request can enable a maximum of 20 services at a time. If more
         than 20 services are specified, the request will fail, and no state changes
         will occur.
         
        repeated string service_ids = 2;
        Returns:
        This builder for chaining.
      • addServiceIdsBytes

        public BatchEnableServicesRequest.Builder addServiceIdsBytes​(com.google.protobuf.ByteString value)
         The identifiers of the services to enable on the project.
        
         A valid identifier would be:
         serviceusage.googleapis.com
        
         Enabling services requires that each service is public or is shared with
         the user enabling the service.
        
         Two or more services must be specified. To enable a single service,
         use the `EnableService` method instead.
        
         A single request can enable a maximum of 20 services at a time. If more
         than 20 services are specified, the request will fail, and no state changes
         will occur.
         
        repeated string service_ids = 2;
        Parameters:
        value - The bytes of the serviceIds to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

        public final BatchEnableServicesRequest.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<BatchEnableServicesRequest.Builder>