GRPC Core  9.0.0
Typedefs | Enumerations | Functions | Variables
http.upb.h File Reference
#include "upb/generated_util.h"
#include "upb/msg.h"
#include "upb/decode.h"
#include "upb/encode.h"
#include "upb/port_def.inc"
#include "upb/port_undef.inc"

Go to the source code of this file.

Typedefs

typedef struct google_api_Http google_api_Http
 
typedef struct google_api_HttpRule google_api_HttpRule
 
typedef struct google_api_CustomHttpPattern google_api_CustomHttpPattern
 

Enumerations

enum  google_api_HttpRule_pattern_oneofcases {
  google_api_HttpRule_pattern_get = 2 , google_api_HttpRule_pattern_put = 3 , google_api_HttpRule_pattern_post = 4 , google_api_HttpRule_pattern_delete = 5 ,
  google_api_HttpRule_pattern_patch = 6 , google_api_HttpRule_pattern_custom = 8 , google_api_HttpRule_pattern_NOT_SET = 0
}
 

Functions

UPB_INLINE google_api_Httpgoogle_api_Http_new (upb_arena *arena)
 
UPB_INLINE google_api_Httpgoogle_api_Http_parse (const char *buf, size_t size, upb_arena *arena)
 
UPB_INLINE char * google_api_Http_serialize (const google_api_Http *msg, upb_arena *arena, size_t *len)
 
UPB_INLINE const google_api_HttpRule *const * google_api_Http_rules (const google_api_Http *msg, size_t *len)
 
UPB_INLINE bool google_api_Http_fully_decode_reserved_expansion (const google_api_Http *msg)
 
UPB_INLINE google_api_HttpRule ** google_api_Http_mutable_rules (google_api_Http *msg, size_t *len)
 
UPB_INLINE google_api_HttpRule ** google_api_Http_resize_rules (google_api_Http *msg, size_t len, upb_arena *arena)
 
UPB_INLINE struct google_api_HttpRulegoogle_api_Http_add_rules (google_api_Http *msg, upb_arena *arena)
 
UPB_INLINE void google_api_Http_set_fully_decode_reserved_expansion (google_api_Http *msg, bool value)
 
UPB_INLINE google_api_HttpRulegoogle_api_HttpRule_new (upb_arena *arena)
 
UPB_INLINE google_api_HttpRulegoogle_api_HttpRule_parse (const char *buf, size_t size, upb_arena *arena)
 
UPB_INLINE char * google_api_HttpRule_serialize (const google_api_HttpRule *msg, upb_arena *arena, size_t *len)
 
UPB_INLINE google_api_HttpRule_pattern_oneofcases google_api_HttpRule_pattern_case (const google_api_HttpRule *msg)
 
UPB_INLINE upb_strview google_api_HttpRule_selector (const google_api_HttpRule *msg)
 
UPB_INLINE bool google_api_HttpRule_has_get (const google_api_HttpRule *msg)
 
UPB_INLINE upb_strview google_api_HttpRule_get (const google_api_HttpRule *msg)
 
UPB_INLINE bool google_api_HttpRule_has_put (const google_api_HttpRule *msg)
 
UPB_INLINE upb_strview google_api_HttpRule_put (const google_api_HttpRule *msg)
 
UPB_INLINE bool google_api_HttpRule_has_post (const google_api_HttpRule *msg)
 
UPB_INLINE upb_strview google_api_HttpRule_post (const google_api_HttpRule *msg)
 
UPB_INLINE bool google_api_HttpRule_has_delete (const google_api_HttpRule *msg)
 
UPB_INLINE upb_strview google_api_HttpRule_delete (const google_api_HttpRule *msg)
 
UPB_INLINE bool google_api_HttpRule_has_patch (const google_api_HttpRule *msg)
 
UPB_INLINE upb_strview google_api_HttpRule_patch (const google_api_HttpRule *msg)
 
UPB_INLINE upb_strview google_api_HttpRule_body (const google_api_HttpRule *msg)
 
UPB_INLINE bool google_api_HttpRule_has_custom (const google_api_HttpRule *msg)
 
UPB_INLINE const google_api_CustomHttpPatterngoogle_api_HttpRule_custom (const google_api_HttpRule *msg)
 
UPB_INLINE const google_api_HttpRule *const * google_api_HttpRule_additional_bindings (const google_api_HttpRule *msg, size_t *len)
 
UPB_INLINE upb_strview google_api_HttpRule_response_body (const google_api_HttpRule *msg)
 
UPB_INLINE void google_api_HttpRule_set_selector (google_api_HttpRule *msg, upb_strview value)
 
UPB_INLINE void google_api_HttpRule_set_get (google_api_HttpRule *msg, upb_strview value)
 
UPB_INLINE void google_api_HttpRule_set_put (google_api_HttpRule *msg, upb_strview value)
 
UPB_INLINE void google_api_HttpRule_set_post (google_api_HttpRule *msg, upb_strview value)
 
UPB_INLINE void google_api_HttpRule_set_delete (google_api_HttpRule *msg, upb_strview value)
 
UPB_INLINE void google_api_HttpRule_set_patch (google_api_HttpRule *msg, upb_strview value)
 
UPB_INLINE void google_api_HttpRule_set_body (google_api_HttpRule *msg, upb_strview value)
 
UPB_INLINE void google_api_HttpRule_set_custom (google_api_HttpRule *msg, google_api_CustomHttpPattern *value)
 
UPB_INLINE struct google_api_CustomHttpPatterngoogle_api_HttpRule_mutable_custom (google_api_HttpRule *msg, upb_arena *arena)
 
UPB_INLINE google_api_HttpRule ** google_api_HttpRule_mutable_additional_bindings (google_api_HttpRule *msg, size_t *len)
 
UPB_INLINE google_api_HttpRule ** google_api_HttpRule_resize_additional_bindings (google_api_HttpRule *msg, size_t len, upb_arena *arena)
 
UPB_INLINE struct google_api_HttpRulegoogle_api_HttpRule_add_additional_bindings (google_api_HttpRule *msg, upb_arena *arena)
 
UPB_INLINE void google_api_HttpRule_set_response_body (google_api_HttpRule *msg, upb_strview value)
 
UPB_INLINE google_api_CustomHttpPatterngoogle_api_CustomHttpPattern_new (upb_arena *arena)
 
UPB_INLINE google_api_CustomHttpPatterngoogle_api_CustomHttpPattern_parse (const char *buf, size_t size, upb_arena *arena)
 
UPB_INLINE char * google_api_CustomHttpPattern_serialize (const google_api_CustomHttpPattern *msg, upb_arena *arena, size_t *len)
 
UPB_INLINE upb_strview google_api_CustomHttpPattern_kind (const google_api_CustomHttpPattern *msg)
 
UPB_INLINE upb_strview google_api_CustomHttpPattern_path (const google_api_CustomHttpPattern *msg)
 
UPB_INLINE void google_api_CustomHttpPattern_set_kind (google_api_CustomHttpPattern *msg, upb_strview value)
 
UPB_INLINE void google_api_CustomHttpPattern_set_path (google_api_CustomHttpPattern *msg, upb_strview value)
 

Variables

const upb_msglayout google_api_Http_msginit
 
const upb_msglayout google_api_HttpRule_msginit
 
const upb_msglayout google_api_CustomHttpPattern_msginit
 

Typedef Documentation

◆ google_api_CustomHttpPattern

◆ google_api_Http

◆ google_api_HttpRule

Enumeration Type Documentation

◆ google_api_HttpRule_pattern_oneofcases

Enumerator
google_api_HttpRule_pattern_get 
google_api_HttpRule_pattern_put 
google_api_HttpRule_pattern_post 
google_api_HttpRule_pattern_delete 
google_api_HttpRule_pattern_patch 
google_api_HttpRule_pattern_custom 
google_api_HttpRule_pattern_NOT_SET 

Function Documentation

◆ google_api_CustomHttpPattern_kind()

UPB_INLINE upb_strview google_api_CustomHttpPattern_kind ( const google_api_CustomHttpPattern msg)

◆ google_api_CustomHttpPattern_new()

UPB_INLINE google_api_CustomHttpPattern* google_api_CustomHttpPattern_new ( upb_arena *  arena)

◆ google_api_CustomHttpPattern_parse()

UPB_INLINE google_api_CustomHttpPattern* google_api_CustomHttpPattern_parse ( const char *  buf,
size_t  size,
upb_arena *  arena 
)

◆ google_api_CustomHttpPattern_path()

UPB_INLINE upb_strview google_api_CustomHttpPattern_path ( const google_api_CustomHttpPattern msg)

◆ google_api_CustomHttpPattern_serialize()

UPB_INLINE char* google_api_CustomHttpPattern_serialize ( const google_api_CustomHttpPattern msg,
upb_arena *  arena,
size_t *  len 
)

◆ google_api_CustomHttpPattern_set_kind()

UPB_INLINE void google_api_CustomHttpPattern_set_kind ( google_api_CustomHttpPattern msg,
upb_strview  value 
)

◆ google_api_CustomHttpPattern_set_path()

UPB_INLINE void google_api_CustomHttpPattern_set_path ( google_api_CustomHttpPattern msg,
upb_strview  value 
)

◆ google_api_Http_add_rules()

UPB_INLINE struct google_api_HttpRule* google_api_Http_add_rules ( google_api_Http msg,
upb_arena *  arena 
)

◆ google_api_Http_fully_decode_reserved_expansion()

UPB_INLINE bool google_api_Http_fully_decode_reserved_expansion ( const google_api_Http msg)

◆ google_api_Http_mutable_rules()

UPB_INLINE google_api_HttpRule** google_api_Http_mutable_rules ( google_api_Http msg,
size_t *  len 
)

◆ google_api_Http_new()

UPB_INLINE google_api_Http* google_api_Http_new ( upb_arena *  arena)

◆ google_api_Http_parse()

UPB_INLINE google_api_Http* google_api_Http_parse ( const char *  buf,
size_t  size,
upb_arena *  arena 
)

◆ google_api_Http_resize_rules()

UPB_INLINE google_api_HttpRule** google_api_Http_resize_rules ( google_api_Http msg,
size_t  len,
upb_arena *  arena 
)

◆ google_api_Http_rules()

UPB_INLINE const google_api_HttpRule* const* google_api_Http_rules ( const google_api_Http msg,
size_t *  len 
)

◆ google_api_Http_serialize()

UPB_INLINE char* google_api_Http_serialize ( const google_api_Http msg,
upb_arena *  arena,
size_t *  len 
)

◆ google_api_Http_set_fully_decode_reserved_expansion()

UPB_INLINE void google_api_Http_set_fully_decode_reserved_expansion ( google_api_Http msg,
bool  value 
)

◆ google_api_HttpRule_add_additional_bindings()

UPB_INLINE struct google_api_HttpRule* google_api_HttpRule_add_additional_bindings ( google_api_HttpRule msg,
upb_arena *  arena 
)

◆ google_api_HttpRule_additional_bindings()

UPB_INLINE const google_api_HttpRule* const* google_api_HttpRule_additional_bindings ( const google_api_HttpRule msg,
size_t *  len 
)

◆ google_api_HttpRule_body()

UPB_INLINE upb_strview google_api_HttpRule_body ( const google_api_HttpRule msg)

◆ google_api_HttpRule_custom()

UPB_INLINE const google_api_CustomHttpPattern* google_api_HttpRule_custom ( const google_api_HttpRule msg)

◆ google_api_HttpRule_delete()

UPB_INLINE upb_strview google_api_HttpRule_delete ( const google_api_HttpRule msg)

◆ google_api_HttpRule_get()

UPB_INLINE upb_strview google_api_HttpRule_get ( const google_api_HttpRule msg)

◆ google_api_HttpRule_has_custom()

UPB_INLINE bool google_api_HttpRule_has_custom ( const google_api_HttpRule msg)

◆ google_api_HttpRule_has_delete()

UPB_INLINE bool google_api_HttpRule_has_delete ( const google_api_HttpRule msg)

◆ google_api_HttpRule_has_get()

UPB_INLINE bool google_api_HttpRule_has_get ( const google_api_HttpRule msg)

◆ google_api_HttpRule_has_patch()

UPB_INLINE bool google_api_HttpRule_has_patch ( const google_api_HttpRule msg)

◆ google_api_HttpRule_has_post()

UPB_INLINE bool google_api_HttpRule_has_post ( const google_api_HttpRule msg)

◆ google_api_HttpRule_has_put()

UPB_INLINE bool google_api_HttpRule_has_put ( const google_api_HttpRule msg)

◆ google_api_HttpRule_mutable_additional_bindings()

UPB_INLINE google_api_HttpRule** google_api_HttpRule_mutable_additional_bindings ( google_api_HttpRule msg,
size_t *  len 
)

◆ google_api_HttpRule_mutable_custom()

UPB_INLINE struct google_api_CustomHttpPattern* google_api_HttpRule_mutable_custom ( google_api_HttpRule msg,
upb_arena *  arena 
)

◆ google_api_HttpRule_new()

UPB_INLINE google_api_HttpRule* google_api_HttpRule_new ( upb_arena *  arena)

◆ google_api_HttpRule_parse()

UPB_INLINE google_api_HttpRule* google_api_HttpRule_parse ( const char *  buf,
size_t  size,
upb_arena *  arena 
)

◆ google_api_HttpRule_patch()

UPB_INLINE upb_strview google_api_HttpRule_patch ( const google_api_HttpRule msg)

◆ google_api_HttpRule_pattern_case()

UPB_INLINE google_api_HttpRule_pattern_oneofcases google_api_HttpRule_pattern_case ( const google_api_HttpRule msg)

◆ google_api_HttpRule_post()

UPB_INLINE upb_strview google_api_HttpRule_post ( const google_api_HttpRule msg)

◆ google_api_HttpRule_put()

UPB_INLINE upb_strview google_api_HttpRule_put ( const google_api_HttpRule msg)

◆ google_api_HttpRule_resize_additional_bindings()

UPB_INLINE google_api_HttpRule** google_api_HttpRule_resize_additional_bindings ( google_api_HttpRule msg,
size_t  len,
upb_arena *  arena 
)

◆ google_api_HttpRule_response_body()

UPB_INLINE upb_strview google_api_HttpRule_response_body ( const google_api_HttpRule msg)

◆ google_api_HttpRule_selector()

UPB_INLINE upb_strview google_api_HttpRule_selector ( const google_api_HttpRule msg)

◆ google_api_HttpRule_serialize()

UPB_INLINE char* google_api_HttpRule_serialize ( const google_api_HttpRule msg,
upb_arena *  arena,
size_t *  len 
)

◆ google_api_HttpRule_set_body()

UPB_INLINE void google_api_HttpRule_set_body ( google_api_HttpRule msg,
upb_strview  value 
)

◆ google_api_HttpRule_set_custom()

UPB_INLINE void google_api_HttpRule_set_custom ( google_api_HttpRule msg,
google_api_CustomHttpPattern value 
)

◆ google_api_HttpRule_set_delete()

UPB_INLINE void google_api_HttpRule_set_delete ( google_api_HttpRule msg,
upb_strview  value 
)

◆ google_api_HttpRule_set_get()

UPB_INLINE void google_api_HttpRule_set_get ( google_api_HttpRule msg,
upb_strview  value 
)

◆ google_api_HttpRule_set_patch()

UPB_INLINE void google_api_HttpRule_set_patch ( google_api_HttpRule msg,
upb_strview  value 
)

◆ google_api_HttpRule_set_post()

UPB_INLINE void google_api_HttpRule_set_post ( google_api_HttpRule msg,
upb_strview  value 
)

◆ google_api_HttpRule_set_put()

UPB_INLINE void google_api_HttpRule_set_put ( google_api_HttpRule msg,
upb_strview  value 
)

◆ google_api_HttpRule_set_response_body()

UPB_INLINE void google_api_HttpRule_set_response_body ( google_api_HttpRule msg,
upb_strview  value 
)

◆ google_api_HttpRule_set_selector()

UPB_INLINE void google_api_HttpRule_set_selector ( google_api_HttpRule msg,
upb_strview  value 
)

Variable Documentation

◆ google_api_CustomHttpPattern_msginit

const upb_msglayout google_api_CustomHttpPattern_msginit
extern

◆ google_api_Http_msginit

const upb_msglayout google_api_Http_msginit
extern

◆ google_api_HttpRule_msginit

const upb_msglayout google_api_HttpRule_msginit
extern