Class SourceInfo (2.2.0)

public sealed class SourceInfo : Protobuf.IMessage<SourceInfo>, Protobuf.IBufferMessage

Source information used to create a Service Config

Inheritance

Object > SourceInfo

Namespace

Google.Api

Assembly

Google.Api.CommonProtos.dll

Constructors

SourceInfo()

public SourceInfo()

SourceInfo(SourceInfo)

public SourceInfo(SourceInfo other)
Parameter
NameDescription
otherSourceInfo

Fields

SourceFilesFieldNumber

public const int SourceFilesFieldNumber = 1

Field number for the "source_files" field.

Field Value
TypeDescription
Int32

Properties

Descriptor

public static Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
TypeDescription
Protobuf.Reflection.MessageDescriptor

Parser

public static Protobuf.MessageParser<SourceInfo> Parser { get; }
Property Value
TypeDescription
Protobuf.MessageParser<SourceInfo>

SourceFiles

public Protobuf.Collections.RepeatedField<Protobuf.WellKnownTypes.Any> SourceFiles { get; }

All files used during config generation.

Property Value
TypeDescription
Protobuf.Collections.RepeatedField<Protobuf.WellKnownTypes.Any>

Methods

CalculateSize()

public int CalculateSize()
Returns
TypeDescription
Int32

Clone()

public SourceInfo Clone()
Returns
TypeDescription
SourceInfo

Equals(SourceInfo)

public bool Equals(SourceInfo other)
Parameter
NameDescription
otherSourceInfo
Returns
TypeDescription
Boolean

Equals(Object)

public override bool Equals(object other)
Parameter
NameDescription
otherObject
Returns
TypeDescription
Boolean

GetHashCode()

public override int GetHashCode()
Returns
TypeDescription
Int32

MergeFrom(SourceInfo)

public void MergeFrom(SourceInfo other)
Parameter
NameDescription
otherSourceInfo

MergeFrom(Protobuf.CodedInputStream)

public void MergeFrom(Protobuf.CodedInputStream input)
Parameter
NameDescription
inputProtobuf.CodedInputStream

ToString()

public override string ToString()
Returns
TypeDescription
String

WriteTo(Protobuf.CodedOutputStream)

public void WriteTo(Protobuf.CodedOutputStream output)
Parameter
NameDescription
outputProtobuf.CodedOutputStream