Class CompensationInfo.CompensationRange.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CompensationInfo.CompensationRange.Builder>
com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder
All Implemented Interfaces:
CompensationInfo.CompensationRangeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CompensationInfo.CompensationRange

public static final class CompensationInfo.CompensationRange.Builder extends com.google.protobuf.GeneratedMessage.Builder<CompensationInfo.CompensationRange.Builder> implements CompensationInfo.CompensationRangeOrBuilder
 Compensation range.
 
Protobuf type google.cloud.talent.v4.CompensationInfo.CompensationRange
  • 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<CompensationInfo.CompensationRange.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<CompensationInfo.CompensationRange.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<CompensationInfo.CompensationRange.Builder>
    • getDefaultInstanceForType

      public CompensationInfo.CompensationRange 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 CompensationInfo.CompensationRange buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public CompensationInfo.CompensationRange.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<CompensationInfo.CompensationRange.Builder>
      Throws:
      IOException
    • hasMaxCompensation

      public boolean hasMaxCompensation()
       The maximum amount of compensation. If left empty, the value is set
       to a maximal compensation value and the currency code is set to
       match the [currency code][google.type.Money.currency_code] of
       min_compensation.
       
      .google.type.Money max_compensation = 2;
      Specified by:
      hasMaxCompensation in interface CompensationInfo.CompensationRangeOrBuilder
      Returns:
      Whether the maxCompensation field is set.
    • getMaxCompensation

      public Money getMaxCompensation()
       The maximum amount of compensation. If left empty, the value is set
       to a maximal compensation value and the currency code is set to
       match the [currency code][google.type.Money.currency_code] of
       min_compensation.
       
      .google.type.Money max_compensation = 2;
      Specified by:
      getMaxCompensation in interface CompensationInfo.CompensationRangeOrBuilder
      Returns:
      The maxCompensation.
    • setMaxCompensation

      public CompensationInfo.CompensationRange.Builder setMaxCompensation(Money value)
       The maximum amount of compensation. If left empty, the value is set
       to a maximal compensation value and the currency code is set to
       match the [currency code][google.type.Money.currency_code] of
       min_compensation.
       
      .google.type.Money max_compensation = 2;
    • setMaxCompensation

      public CompensationInfo.CompensationRange.Builder setMaxCompensation(Money.Builder builderForValue)
       The maximum amount of compensation. If left empty, the value is set
       to a maximal compensation value and the currency code is set to
       match the [currency code][google.type.Money.currency_code] of
       min_compensation.
       
      .google.type.Money max_compensation = 2;
    • mergeMaxCompensation

      public CompensationInfo.CompensationRange.Builder mergeMaxCompensation(Money value)
       The maximum amount of compensation. If left empty, the value is set
       to a maximal compensation value and the currency code is set to
       match the [currency code][google.type.Money.currency_code] of
       min_compensation.
       
      .google.type.Money max_compensation = 2;
    • clearMaxCompensation

      public CompensationInfo.CompensationRange.Builder clearMaxCompensation()
       The maximum amount of compensation. If left empty, the value is set
       to a maximal compensation value and the currency code is set to
       match the [currency code][google.type.Money.currency_code] of
       min_compensation.
       
      .google.type.Money max_compensation = 2;
    • getMaxCompensationBuilder

      public Money.Builder getMaxCompensationBuilder()
       The maximum amount of compensation. If left empty, the value is set
       to a maximal compensation value and the currency code is set to
       match the [currency code][google.type.Money.currency_code] of
       min_compensation.
       
      .google.type.Money max_compensation = 2;
    • getMaxCompensationOrBuilder

      public MoneyOrBuilder getMaxCompensationOrBuilder()
       The maximum amount of compensation. If left empty, the value is set
       to a maximal compensation value and the currency code is set to
       match the [currency code][google.type.Money.currency_code] of
       min_compensation.
       
      .google.type.Money max_compensation = 2;
      Specified by:
      getMaxCompensationOrBuilder in interface CompensationInfo.CompensationRangeOrBuilder
    • hasMinCompensation

      public boolean hasMinCompensation()
       The minimum amount of compensation. If left empty, the value is set
       to zero and the currency code is set to match the
       [currency code][google.type.Money.currency_code] of max_compensation.
       
      .google.type.Money min_compensation = 1;
      Specified by:
      hasMinCompensation in interface CompensationInfo.CompensationRangeOrBuilder
      Returns:
      Whether the minCompensation field is set.
    • getMinCompensation

      public Money getMinCompensation()
       The minimum amount of compensation. If left empty, the value is set
       to zero and the currency code is set to match the
       [currency code][google.type.Money.currency_code] of max_compensation.
       
      .google.type.Money min_compensation = 1;
      Specified by:
      getMinCompensation in interface CompensationInfo.CompensationRangeOrBuilder
      Returns:
      The minCompensation.
    • setMinCompensation

      public CompensationInfo.CompensationRange.Builder setMinCompensation(Money value)
       The minimum amount of compensation. If left empty, the value is set
       to zero and the currency code is set to match the
       [currency code][google.type.Money.currency_code] of max_compensation.
       
      .google.type.Money min_compensation = 1;
    • setMinCompensation

      public CompensationInfo.CompensationRange.Builder setMinCompensation(Money.Builder builderForValue)
       The minimum amount of compensation. If left empty, the value is set
       to zero and the currency code is set to match the
       [currency code][google.type.Money.currency_code] of max_compensation.
       
      .google.type.Money min_compensation = 1;
    • mergeMinCompensation

      public CompensationInfo.CompensationRange.Builder mergeMinCompensation(Money value)
       The minimum amount of compensation. If left empty, the value is set
       to zero and the currency code is set to match the
       [currency code][google.type.Money.currency_code] of max_compensation.
       
      .google.type.Money min_compensation = 1;
    • clearMinCompensation

      public CompensationInfo.CompensationRange.Builder clearMinCompensation()
       The minimum amount of compensation. If left empty, the value is set
       to zero and the currency code is set to match the
       [currency code][google.type.Money.currency_code] of max_compensation.
       
      .google.type.Money min_compensation = 1;
    • getMinCompensationBuilder

      public Money.Builder getMinCompensationBuilder()
       The minimum amount of compensation. If left empty, the value is set
       to zero and the currency code is set to match the
       [currency code][google.type.Money.currency_code] of max_compensation.
       
      .google.type.Money min_compensation = 1;
    • getMinCompensationOrBuilder

      public MoneyOrBuilder getMinCompensationOrBuilder()
       The minimum amount of compensation. If left empty, the value is set
       to zero and the currency code is set to match the
       [currency code][google.type.Money.currency_code] of max_compensation.
       
      .google.type.Money min_compensation = 1;
      Specified by:
      getMinCompensationOrBuilder in interface CompensationInfo.CompensationRangeOrBuilder