Class CustomOptions
Inheritance
CustomOptions
Assembly: Google.Protobuf.dll
Syntax
public sealed class CustomOptions
Methods
TryGetBool(int, out bool)
Declaration
public bool TryGetBool(int field, out bool value)
Parameters
Type |
Name |
Description |
int |
field |
|
bool |
value |
|
Returns
TryGetBytes(int, out ByteString)
Declaration
public bool TryGetBytes(int field, out ByteString value)
Parameters
Returns
TryGetDouble(int, out double)
Declaration
public bool TryGetDouble(int field, out double value)
Parameters
Returns
TryGetFixed32(int, out uint)
Declaration
public bool TryGetFixed32(int field, out uint value)
Parameters
Type |
Name |
Description |
int |
field |
|
uint |
value |
|
Returns
TryGetFixed64(int, out ulong)
Declaration
public bool TryGetFixed64(int field, out ulong value)
Parameters
Type |
Name |
Description |
int |
field |
|
ulong |
value |
|
Returns
TryGetFloat(int, out float)
Declaration
public bool TryGetFloat(int field, out float value)
Parameters
Type |
Name |
Description |
int |
field |
|
float |
value |
|
Returns
TryGetInt32(int, out int)
Declaration
public bool TryGetInt32(int field, out int value)
Parameters
Type |
Name |
Description |
int |
field |
|
int |
value |
|
Returns
TryGetInt64(int, out long)
Declaration
public bool TryGetInt64(int field, out long value)
Parameters
Type |
Name |
Description |
int |
field |
|
long |
value |
|
Returns
TryGetMessage<T>(int, out T)
Declaration
public bool TryGetMessage<T>(int field, out T value) where T : class, IMessage, new()
Parameters
Type |
Name |
Description |
int |
field |
|
T |
value |
|
Returns
Type Parameters
TryGetSFixed32(int, out int)
Declaration
public bool TryGetSFixed32(int field, out int value)
Parameters
Type |
Name |
Description |
int |
field |
|
int |
value |
|
Returns
TryGetSFixed64(int, out long)
Declaration
public bool TryGetSFixed64(int field, out long value)
Parameters
Type |
Name |
Description |
int |
field |
|
long |
value |
|
Returns
TryGetSInt32(int, out int)
Declaration
public bool TryGetSInt32(int field, out int value)
Parameters
Type |
Name |
Description |
int |
field |
|
int |
value |
|
Returns
TryGetSInt64(int, out long)
Declaration
public bool TryGetSInt64(int field, out long value)
Parameters
Type |
Name |
Description |
int |
field |
|
long |
value |
|
Returns
TryGetString(int, out string)
Declaration
public bool TryGetString(int field, out string value)
Parameters
Returns
TryGetUInt32(int, out uint)
Declaration
public bool TryGetUInt32(int field, out uint value)
Parameters
Type |
Name |
Description |
int |
field |
|
uint |
value |
|
Returns
TryGetUInt64(int, out ulong)
Declaration
public bool TryGetUInt64(int field, out ulong value)
Parameters
Type |
Name |
Description |
int |
field |
|
ulong |
value |
|
Returns