Interface DescriptorProtos.EnumDescriptorProtoOrBuilder

    • Method Detail

      • hasName

        boolean hasName()
        optional string name = 1 [json_name = "name"];
        Returns:
        Whether the name field is set.
      • getName

        java.lang.String getName()
        optional string name = 1 [json_name = "name"];
        Returns:
        The name.
      • getNameBytes

        ByteString getNameBytes()
        optional string name = 1 [json_name = "name"];
        Returns:
        The bytes for name.
      • getValueCount

        int getValueCount()
        repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
      • hasOptions

        boolean hasOptions()
        optional .google.protobuf.EnumOptions options = 3 [json_name = "options"];
        Returns:
        Whether the options field is set.
      • getOptions

        DescriptorProtos.EnumOptions getOptions()
        optional .google.protobuf.EnumOptions options = 3 [json_name = "options"];
        Returns:
        The options.
      • getReservedRangeCount

        int getReservedRangeCount()
        repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
      • getReservedNameList

        java.util.List<java.lang.String> getReservedNameList()
        repeated string reserved_name = 5 [json_name = "reservedName"];
        Returns:
        A list containing the reservedName.
      • getReservedNameCount

        int getReservedNameCount()
        repeated string reserved_name = 5 [json_name = "reservedName"];
        Returns:
        The count of reservedName.
      • getReservedName

        java.lang.String getReservedName​(int index)
        repeated string reserved_name = 5 [json_name = "reservedName"];
        Parameters:
        index - The index of the element to return.
        Returns:
        The reservedName at the given index.
      • getReservedNameBytes

        ByteString getReservedNameBytes​(int index)
        repeated string reserved_name = 5 [json_name = "reservedName"];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the reservedName at the given index.