Show / Hide Table of Contents

Class Proto2FileDescriptorProto

Describes a complete .proto file.

Inheritance
object
Proto2FileDescriptorProto
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ChromePolicy.v1.Data
Assembly: Google.Apis.ChromePolicy.v1.dll
Syntax
public class Proto2FileDescriptorProto : IDirectResponseSchema

Properties

ETag

The ETag of the item.

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

EditionDeprecated

copybara:strip_begin TODO(b/297898292) Deprecate and remove this field in favor of enums. copybara:strip_end

Declaration
[JsonProperty("editionDeprecated")]
public virtual string EditionDeprecated { get; set; }
Property Value
Type Description
string

EnumType

Declaration
[JsonProperty("enumType")]
public virtual IList<Proto2EnumDescriptorProto> EnumType { get; set; }
Property Value
Type Description
IList<Proto2EnumDescriptorProto>

MessageType

All top-level definitions in this file.

Declaration
[JsonProperty("messageType")]
public virtual IList<Proto2DescriptorProto> MessageType { get; set; }
Property Value
Type Description
IList<Proto2DescriptorProto>

Name

file name, relative to root of source tree

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

OptionDependency

Names of files imported by this file purely for the purpose of providing option extensions. These are excluded from the dependency list above.

Declaration
[JsonProperty("optionDependency")]
public virtual IList<string> OptionDependency { get; set; }
Property Value
Type Description
IList<string>

Package

e.g. "foo", "foo.bar", etc.

Declaration
[JsonProperty("package")]
public virtual string Package { get; set; }
Property Value
Type Description
string

Syntax

The syntax of the proto file. The supported values are "proto2", "proto3", and "editions". If edition is present, this value must be "editions". WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.

Declaration
[JsonProperty("syntax")]
public virtual string Syntax { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX