Enum PublisherModel.OpenSourceCategory

    • Enum Constant Detail

      • OPEN_SOURCE_CATEGORY_UNSPECIFIED

        public static final PublisherModel.OpenSourceCategory OPEN_SOURCE_CATEGORY_UNSPECIFIED
         The open source category is unspecified, which should not be used.
         
        OPEN_SOURCE_CATEGORY_UNSPECIFIED = 0;
      • GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT

        public static final PublisherModel.OpenSourceCategory GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT
         Used to indicate the PublisherModel is a Google-owned open source model
         w/ Google checkpoint.
         
        GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT = 2;
      • THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT

        public static final PublisherModel.OpenSourceCategory THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT
         Used to indicate the PublisherModel is a 3p-owned open source model w/
         Google checkpoint.
         
        THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT = 3;
      • GOOGLE_OWNED_OSS

        public static final PublisherModel.OpenSourceCategory GOOGLE_OWNED_OSS
         Used to indicate the PublisherModel is a Google-owned pure open source
         model.
         
        GOOGLE_OWNED_OSS = 4;
      • THIRD_PARTY_OWNED_OSS

        public static final PublisherModel.OpenSourceCategory THIRD_PARTY_OWNED_OSS
         Used to indicate the PublisherModel is a 3p-owned pure open source model.
         
        THIRD_PARTY_OWNED_OSS = 5;
    • Field Detail

      • OPEN_SOURCE_CATEGORY_UNSPECIFIED_VALUE

        public static final int OPEN_SOURCE_CATEGORY_UNSPECIFIED_VALUE
         The open source category is unspecified, which should not be used.
         
        OPEN_SOURCE_CATEGORY_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • PROPRIETARY_VALUE

        public static final int PROPRIETARY_VALUE
         Used to indicate the PublisherModel is not open sourced.
         
        PROPRIETARY = 1;
        See Also:
        Constant Field Values
      • GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT_VALUE

        public static final int GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT_VALUE
         Used to indicate the PublisherModel is a Google-owned open source model
         w/ Google checkpoint.
         
        GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT = 2;
        See Also:
        Constant Field Values
      • THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT_VALUE

        public static final int THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT_VALUE
         Used to indicate the PublisherModel is a 3p-owned open source model w/
         Google checkpoint.
         
        THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT = 3;
        See Also:
        Constant Field Values
      • GOOGLE_OWNED_OSS_VALUE

        public static final int GOOGLE_OWNED_OSS_VALUE
         Used to indicate the PublisherModel is a Google-owned pure open source
         model.
         
        GOOGLE_OWNED_OSS = 4;
        See Also:
        Constant Field Values
      • THIRD_PARTY_OWNED_OSS_VALUE

        public static final int THIRD_PARTY_OWNED_OSS_VALUE
         Used to indicate the PublisherModel is a 3p-owned pure open source model.
         
        THIRD_PARTY_OWNED_OSS = 5;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static PublisherModel.OpenSourceCategory[] 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 (PublisherModel.OpenSourceCategory c : PublisherModel.OpenSourceCategory.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PublisherModel.OpenSourceCategory 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 PublisherModel.OpenSourceCategory 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 PublisherModel.OpenSourceCategory 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 PublisherModel.OpenSourceCategory 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