Enum AddressComponent.ConfirmationLevel

    • Enum Constant Detail

      • CONFIRMATION_LEVEL_UNSPECIFIED

        public static final AddressComponent.ConfirmationLevel CONFIRMATION_LEVEL_UNSPECIFIED
         Default value. This value is unused.
         
        CONFIRMATION_LEVEL_UNSPECIFIED = 0;
      • CONFIRMED

        public static final AddressComponent.ConfirmationLevel CONFIRMED
         We were able to verify that this component exists and makes sense in the
         context of the rest of the address.
         
        CONFIRMED = 1;
      • UNCONFIRMED_BUT_PLAUSIBLE

        public static final AddressComponent.ConfirmationLevel UNCONFIRMED_BUT_PLAUSIBLE
         This component could not be confirmed, but it is plausible that it
         exists. For example, a street number within a known valid range of
         numbers on a street where specific house numbers are not known.
         
        UNCONFIRMED_BUT_PLAUSIBLE = 2;
      • UNCONFIRMED_AND_SUSPICIOUS

        public static final AddressComponent.ConfirmationLevel UNCONFIRMED_AND_SUSPICIOUS
         This component was not confirmed and is likely to be wrong. For
         example, a neighborhood that does not fit the rest of the address.
         
        UNCONFIRMED_AND_SUSPICIOUS = 3;
    • Field Detail

      • CONFIRMATION_LEVEL_UNSPECIFIED_VALUE

        public static final int CONFIRMATION_LEVEL_UNSPECIFIED_VALUE
         Default value. This value is unused.
         
        CONFIRMATION_LEVEL_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • CONFIRMED_VALUE

        public static final int CONFIRMED_VALUE
         We were able to verify that this component exists and makes sense in the
         context of the rest of the address.
         
        CONFIRMED = 1;
        See Also:
        Constant Field Values
      • UNCONFIRMED_BUT_PLAUSIBLE_VALUE

        public static final int UNCONFIRMED_BUT_PLAUSIBLE_VALUE
         This component could not be confirmed, but it is plausible that it
         exists. For example, a street number within a known valid range of
         numbers on a street where specific house numbers are not known.
         
        UNCONFIRMED_BUT_PLAUSIBLE = 2;
        See Also:
        Constant Field Values
      • UNCONFIRMED_AND_SUSPICIOUS_VALUE

        public static final int UNCONFIRMED_AND_SUSPICIOUS_VALUE
         This component was not confirmed and is likely to be wrong. For
         example, a neighborhood that does not fit the rest of the address.
         
        UNCONFIRMED_AND_SUSPICIOUS = 3;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static AddressComponent.ConfirmationLevel[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AddressComponent.ConfirmationLevel c : AddressComponent.ConfirmationLevel.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AddressComponent.ConfirmationLevel valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static AddressComponent.ConfirmationLevel valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static AddressComponent.ConfirmationLevel forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static AddressComponent.ConfirmationLevel valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null