Show / Hide Table of Contents

Class Field

A single field of a message type.

Inheritance
System.Object
Field
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ServiceUsage.v1.Data
Assembly: Google.Apis.ServiceUsage.v1.dll
Syntax
public class Field : IDirectResponseSchema

Properties

Cardinality

The field cardinality.

Declaration
[JsonProperty("cardinality")]
public virtual string Cardinality { get; set; }
Property Value
Type Description
System.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
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

JsonName

The field JSON name.

Declaration
[JsonProperty("jsonName")]
public virtual string JsonName { get; set; }
Property Value
Type Description
System.String

Kind

The field type.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
System.String

Name

The field name.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

Number

The field number.

Declaration
[JsonProperty("number")]
public virtual int? Number { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

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
System.Nullable<System.Int32>

Options

The protocol buffer options.

Declaration
[JsonProperty("options")]
public virtual IList<Option> Options { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<Option>

Packed

Whether to use alternative packed wire representation.

Declaration
[JsonProperty("packed")]
public virtual bool? Packed { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

TypeUrl

The field type URL, without the scheme, for message or enumeration types. Example: &quot;type.googleapis.com/google.protobuf.Timestamp&quot;.

Declaration
[JsonProperty("typeUrl")]
public virtual string TypeUrl { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
In This Article
Back to top