Interface DescriptorProtos.DescriptorProtoOrBuilder

    • Method Detail

      • hasName

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

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

        ByteString getNameBytes()
        optional string name = 1;
        Returns:
        The bytes for name.
      • getFieldCount

        int getFieldCount()
        repeated .google.protobuf.FieldDescriptorProto field = 2;
      • getExtensionCount

        int getExtensionCount()
        repeated .google.protobuf.FieldDescriptorProto extension = 6;
      • getNestedTypeCount

        int getNestedTypeCount()
        repeated .google.protobuf.DescriptorProto nested_type = 3;
      • getEnumTypeCount

        int getEnumTypeCount()
        repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
      • getExtensionRangeCount

        int getExtensionRangeCount()
        repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
      • getOneofDeclCount

        int getOneofDeclCount()
        repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
      • hasOptions

        boolean hasOptions()
        optional .google.protobuf.MessageOptions options = 7;
        Returns:
        Whether the options field is set.
      • getReservedRangeCount

        int getReservedRangeCount()
        repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
      • getReservedNameList

        java.util.List<java.lang.String> getReservedNameList()
         Reserved field names, which may not be used by fields in the same message.
         A given name may only be reserved once.
         
        repeated string reserved_name = 10;
        Returns:
        A list containing the reservedName.
      • getReservedNameCount

        int getReservedNameCount()
         Reserved field names, which may not be used by fields in the same message.
         A given name may only be reserved once.
         
        repeated string reserved_name = 10;
        Returns:
        The count of reservedName.
      • getReservedName

        java.lang.String getReservedName​(int index)
         Reserved field names, which may not be used by fields in the same message.
         A given name may only be reserved once.
         
        repeated string reserved_name = 10;
        Parameters:
        index - The index of the element to return.
        Returns:
        The reservedName at the given index.
      • getReservedNameBytes

        ByteString getReservedNameBytes​(int index)
         Reserved field names, which may not be used by fields in the same message.
         A given name may only be reserved once.
         
        repeated string reserved_name = 10;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the reservedName at the given index.