Sha256: 02790f4e9b9e5c2b93e1dfae1fec15b3e3b2545928ef43adb0ebf3dbf83fd6b2

Contents?: true

Size: 1.64 KB

Versions: 10

Compression:

Stored size: 1.64 KB

Contents

// Protocol Buffers - Google's data interchange format
// Copyright 2023 Google LLC.  All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd

#ifndef UPB_MINI_TABLE_FIELD_H_
#define UPB_MINI_TABLE_FIELD_H_

#include <stdint.h>

#include "upb/base/descriptor_constants.h"
#include "upb/mini_table/internal/field.h"

// Must be last.
#include "upb/port/def.inc"

typedef struct upb_MiniTableField upb_MiniTableField;

#ifdef __cplusplus
extern "C" {
#endif

UPB_API_INLINE upb_CType upb_MiniTableField_CType(const upb_MiniTableField* f);

UPB_API_INLINE bool upb_MiniTableField_HasPresence(const upb_MiniTableField* f);

UPB_API_INLINE bool upb_MiniTableField_IsArray(const upb_MiniTableField* f);

UPB_API_INLINE bool upb_MiniTableField_IsClosedEnum(
    const upb_MiniTableField* f);

UPB_API_INLINE bool upb_MiniTableField_IsExtension(const upb_MiniTableField* f);

UPB_API_INLINE bool upb_MiniTableField_IsInOneof(const upb_MiniTableField* f);

UPB_API_INLINE bool upb_MiniTableField_IsMap(const upb_MiniTableField* f);

UPB_API_INLINE bool upb_MiniTableField_IsPacked(const upb_MiniTableField* f);

UPB_API_INLINE bool upb_MiniTableField_IsScalar(const upb_MiniTableField* f);

UPB_API_INLINE bool upb_MiniTableField_IsSubMessage(
    const upb_MiniTableField* f);

UPB_API_INLINE uint32_t upb_MiniTableField_Number(const upb_MiniTableField* f);

UPB_API_INLINE upb_FieldType
upb_MiniTableField_Type(const upb_MiniTableField* f);

#ifdef __cplusplus
} /* extern "C" */
#endif

#include "upb/port/undef.inc"

#endif /* UPB_MINI_TABLE_FIELD_H_ */

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
grpc-1.71.0 third_party/upb/upb/mini_table/field.h
grpc-1.70.1 third_party/upb/upb/mini_table/field.h
grpc-1.69.0 third_party/upb/upb/mini_table/field.h
grpc-1.69.0.pre1 third_party/upb/upb/mini_table/field.h
grpc-1.68.1 third_party/upb/upb/mini_table/field.h
grpc-1.67.0 third_party/upb/upb/mini_table/field.h
grpc-1.67.0.pre1 third_party/upb/upb/mini_table/field.h
grpc-1.66.0 third_party/upb/upb/mini_table/field.h
grpc-1.66.0.pre5 third_party/upb/upb/mini_table/field.h
grpc-1.66.0.pre3 third_party/upb/upb/mini_table/field.h