Class Field
A single field of a message type.
Implements
Inherited Members
Namespace: Google.Apis.ServiceUsage.v1beta1.Data
Assembly: Google.Apis.ServiceUsage.v1beta1.dll
Syntax
public class Field : IDirectResponseSchema
Properties
Cardinality
The field cardinality.
Declaration
[JsonProperty("cardinality")]
public virtual string Cardinality { get; set; }
Property Value
Type | Description |
---|---|
string |
DefaultValue
The string value of the default value of this field. Proto2 syntax only.
Declaration
[JsonProperty("defaultValue")]
public virtual string DefaultValue { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
JsonName
The field JSON name.
Declaration
[JsonProperty("jsonName")]
public virtual string JsonName { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
The field type.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The field name.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Number
The field number.
Declaration
[JsonProperty("number")]
public virtual int? Number { get; set; }
Property Value
Type | Description |
---|---|
int? |
OneofIndex
The index of the field type in Type.oneofs
, for message or enumeration types. The first type has index 1;
zero means the type is not in the list.
Declaration
[JsonProperty("oneofIndex")]
public virtual int? OneofIndex { get; set; }
Property Value
Type | Description |
---|---|
int? |
Options
The protocol buffer options.
Declaration
[JsonProperty("options")]
public virtual IList<Option> Options { get; set; }
Property Value
Type | Description |
---|---|
IList<Option> |
Packed
Whether to use alternative packed wire representation.
Declaration
[JsonProperty("packed")]
public virtual bool? Packed { get; set; }
Property Value
Type | Description |
---|---|
bool? |
TypeUrl
The field type URL, without the scheme, for message or enumeration types. Example:
"type.googleapis.com/google.protobuf.Timestamp"
.
Declaration
[JsonProperty("typeUrl")]
public virtual string TypeUrl { get; set; }
Property Value
Type | Description |
---|---|
string |