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

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

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

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

        public LicenseResourceRequirements.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<LicenseResourceRequirements.Builder>
        Throws:
        IOException
      • hasMinGuestCpuCount

        public boolean hasMinGuestCpuCount()
         Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start.
         
        optional int32 min_guest_cpu_count = 477964836;
        Specified by:
        hasMinGuestCpuCount in interface LicenseResourceRequirementsOrBuilder
        Returns:
        Whether the minGuestCpuCount field is set.
      • getMinGuestCpuCount

        public int getMinGuestCpuCount()
         Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start.
         
        optional int32 min_guest_cpu_count = 477964836;
        Specified by:
        getMinGuestCpuCount in interface LicenseResourceRequirementsOrBuilder
        Returns:
        The minGuestCpuCount.
      • setMinGuestCpuCount

        public LicenseResourceRequirements.Builder setMinGuestCpuCount​(int value)
         Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start.
         
        optional int32 min_guest_cpu_count = 477964836;
        Parameters:
        value - The minGuestCpuCount to set.
        Returns:
        This builder for chaining.
      • clearMinGuestCpuCount

        public LicenseResourceRequirements.Builder clearMinGuestCpuCount()
         Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start.
         
        optional int32 min_guest_cpu_count = 477964836;
        Returns:
        This builder for chaining.
      • hasMinMemoryMb

        public boolean hasMinMemoryMb()
         Minimum memory required to use the Instance. Enforced at Instance creation and Instance start.
         
        optional int32 min_memory_mb = 504785894;
        Specified by:
        hasMinMemoryMb in interface LicenseResourceRequirementsOrBuilder
        Returns:
        Whether the minMemoryMb field is set.
      • getMinMemoryMb

        public int getMinMemoryMb()
         Minimum memory required to use the Instance. Enforced at Instance creation and Instance start.
         
        optional int32 min_memory_mb = 504785894;
        Specified by:
        getMinMemoryMb in interface LicenseResourceRequirementsOrBuilder
        Returns:
        The minMemoryMb.
      • setMinMemoryMb

        public LicenseResourceRequirements.Builder setMinMemoryMb​(int value)
         Minimum memory required to use the Instance. Enforced at Instance creation and Instance start.
         
        optional int32 min_memory_mb = 504785894;
        Parameters:
        value - The minMemoryMb to set.
        Returns:
        This builder for chaining.
      • clearMinMemoryMb

        public LicenseResourceRequirements.Builder clearMinMemoryMb()
         Minimum memory required to use the Instance. Enforced at Instance creation and Instance start.
         
        optional int32 min_memory_mb = 504785894;
        Returns:
        This builder for chaining.
      • mergeUnknownFields

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