Class LicenseResourceRequirements.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LicenseResourceRequirements.Builder>
com.google.cloud.compute.v1.LicenseResourceRequirements.Builder
All Implemented Interfaces:
LicenseResourceRequirementsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
LicenseResourceRequirements

public static final class LicenseResourceRequirements.Builder extends com.google.protobuf.GeneratedMessage.Builder<LicenseResourceRequirements.Builder> implements LicenseResourceRequirementsOrBuilder
 
Protobuf type google.cloud.compute.v1.LicenseResourceRequirements
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<LicenseResourceRequirements.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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

      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
    • mergeFrom

      public LicenseResourceRequirements.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LicenseResourceRequirements.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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()
       [Input Only] Deprecated. This field no longer reflects the minimum number
       of guest cpus required to use the Instance.
       
      optional int32 min_guest_cpu_count = 477964836;
      Specified by:
      hasMinGuestCpuCount in interface LicenseResourceRequirementsOrBuilder
      Returns:
      Whether the minGuestCpuCount field is set.
    • getMinGuestCpuCount

      public int getMinGuestCpuCount()
       [Input Only] Deprecated. This field no longer reflects the minimum number
       of guest cpus required to use the Instance.
       
      optional int32 min_guest_cpu_count = 477964836;
      Specified by:
      getMinGuestCpuCount in interface LicenseResourceRequirementsOrBuilder
      Returns:
      The minGuestCpuCount.
    • setMinGuestCpuCount

      public LicenseResourceRequirements.Builder setMinGuestCpuCount(int value)
       [Input Only] Deprecated. This field no longer reflects the minimum number
       of guest cpus required to use the Instance.
       
      optional int32 min_guest_cpu_count = 477964836;
      Parameters:
      value - The minGuestCpuCount to set.
      Returns:
      This builder for chaining.
    • clearMinGuestCpuCount

      public LicenseResourceRequirements.Builder clearMinGuestCpuCount()
       [Input Only] Deprecated. This field no longer reflects the minimum number
       of guest cpus required to use the Instance.
       
      optional int32 min_guest_cpu_count = 477964836;
      Returns:
      This builder for chaining.
    • hasMinMemoryMb

      public boolean hasMinMemoryMb()
       [Input Only] Deprecated. This field no longer reflects the minimum memory
       required to use the Instance.
       
      optional int32 min_memory_mb = 504785894;
      Specified by:
      hasMinMemoryMb in interface LicenseResourceRequirementsOrBuilder
      Returns:
      Whether the minMemoryMb field is set.
    • getMinMemoryMb

      public int getMinMemoryMb()
       [Input Only] Deprecated. This field no longer reflects the minimum memory
       required to use the Instance.
       
      optional int32 min_memory_mb = 504785894;
      Specified by:
      getMinMemoryMb in interface LicenseResourceRequirementsOrBuilder
      Returns:
      The minMemoryMb.
    • setMinMemoryMb

      public LicenseResourceRequirements.Builder setMinMemoryMb(int value)
       [Input Only] Deprecated. This field no longer reflects the minimum memory
       required to use the Instance.
       
      optional int32 min_memory_mb = 504785894;
      Parameters:
      value - The minMemoryMb to set.
      Returns:
      This builder for chaining.
    • clearMinMemoryMb

      public LicenseResourceRequirements.Builder clearMinMemoryMb()
       [Input Only] Deprecated. This field no longer reflects the minimum memory
       required to use the Instance.
       
      optional int32 min_memory_mb = 504785894;
      Returns:
      This builder for chaining.