webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Public Attributes | Properties | List of all members
Google.Protobuf.TestProtos.TestOneof Class Reference

Test oneofs. More...

Inheritance diagram for Google.Protobuf.TestProtos.TestOneof:

Public Types

enum  FooOneofCase { FooOneofCase.None = 0, FooOneofCase.FooInt = 1, FooOneofCase.FooString = 2, FooOneofCase.FooMessage = 3 }
 Enum of possible cases for the "foo" oneof. More...
 

Public Member Functions

 TestOneof ()
 
 TestOneof (TestOneof other)
 
TestOneof Clone ()
 
void ClearFoo ()
 
override bool Equals (object other)
 
bool Equals (TestOneof other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (TestOneof other)
 
void MergeFrom (pb::CodedInputStream input)
 

Public Attributes

const int FooIntFieldNumber = 1
 Field number for the "foo_int" field. More...
 
const int FooStringFieldNumber = 2
 Field number for the "foo_string" field. More...
 
const int FooMessageFieldNumber = 3
 Field number for the "foo_message" field. More...
 

Properties

static pb::MessageParser< TestOneofParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
int FooInt [get, set]
 
string FooString [get, set]
 
global::Google.Protobuf.TestProtos.TestAllTypes FooMessage [get, set]
 
FooOneofCase FooCase [get]
 

Detailed Description

Test oneofs.

Member Enumeration Documentation

◆ FooOneofCase

Enum of possible cases for the "foo" oneof.

Enumerator
None 
FooInt 
FooString 
FooMessage 

Constructor & Destructor Documentation

◆ TestOneof() [1/2]

Google.Protobuf.TestProtos.TestOneof.TestOneof ( )
inline

◆ TestOneof() [2/2]

Google.Protobuf.TestProtos.TestOneof.TestOneof ( TestOneof  other)
inline

Member Function Documentation

◆ CalculateSize()

int Google.Protobuf.TestProtos.TestOneof.CalculateSize ( )
inline

◆ ClearFoo()

void Google.Protobuf.TestProtos.TestOneof.ClearFoo ( )
inline

◆ Clone()

TestOneof Google.Protobuf.TestProtos.TestOneof.Clone ( )
inline

◆ Equals() [1/2]

override bool Google.Protobuf.TestProtos.TestOneof.Equals ( object  other)
inline

◆ Equals() [2/2]

bool Google.Protobuf.TestProtos.TestOneof.Equals ( TestOneof  other)
inline

◆ GetHashCode()

override int Google.Protobuf.TestProtos.TestOneof.GetHashCode ( )
inline

◆ MergeFrom() [1/2]

void Google.Protobuf.TestProtos.TestOneof.MergeFrom ( TestOneof  other)
inline

◆ MergeFrom() [2/2]

void Google.Protobuf.TestProtos.TestOneof.MergeFrom ( pb::CodedInputStream  input)
inline

◆ ToString()

override string Google.Protobuf.TestProtos.TestOneof.ToString ( )
inline

◆ WriteTo()

void Google.Protobuf.TestProtos.TestOneof.WriteTo ( pb::CodedOutputStream  output)
inline

Member Data Documentation

◆ FooIntFieldNumber

const int Google.Protobuf.TestProtos.TestOneof.FooIntFieldNumber = 1

Field number for the "foo_int" field.

◆ FooMessageFieldNumber

const int Google.Protobuf.TestProtos.TestOneof.FooMessageFieldNumber = 3

Field number for the "foo_message" field.

◆ FooStringFieldNumber

const int Google.Protobuf.TestProtos.TestOneof.FooStringFieldNumber = 2

Field number for the "foo_string" field.

Property Documentation

◆ Descriptor

pbr.MessageDescriptor Google.Protobuf.TestProtos.TestOneof.Descriptor
staticget

◆ FooCase

FooOneofCase Google.Protobuf.TestProtos.TestOneof.FooCase
get

◆ FooInt

int Google.Protobuf.TestProtos.TestOneof.FooInt
getset

◆ FooMessage

global.Google.Protobuf.TestProtos.TestAllTypes Google.Protobuf.TestProtos.TestOneof.FooMessage
getset

◆ FooString

string Google.Protobuf.TestProtos.TestOneof.FooString
getset

◆ Parser

pb.MessageParser<TestOneof> Google.Protobuf.TestProtos.TestOneof.Parser
staticget

The documentation for this class was generated from the following file: