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
Name Description
other SourceInfo

Fields

SourceFilesFieldNumber

public const int SourceFilesFieldNumber = 1

Field number for the "source_files" field.

Field Value
Type Description
Int32

Properties

Descriptor

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

Parser

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

SourceFiles

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

All files used during config generation.

Property Value
Type Description
Protobuf.Collections.RepeatedField<Protobuf.WellKnownTypes.Any>

Methods

CalculateSize()

public int CalculateSize()
Returns
Type Description
Int32

Clone()

public SourceInfo Clone()
Returns
Type Description
SourceInfo

Equals(SourceInfo)

public bool Equals(SourceInfo other)
Parameter
Name Description
other SourceInfo
Returns
Type Description
Boolean

Equals(Object)

public override bool Equals(object other)
Parameter
Name Description
other Object
Returns
Type Description
Boolean

GetHashCode()

public override int GetHashCode()
Returns
Type Description
Int32

MergeFrom(SourceInfo)

public void MergeFrom(SourceInfo other)
Parameter
Name Description
other SourceInfo

MergeFrom(Protobuf.CodedInputStream)

public void MergeFrom(Protobuf.CodedInputStream input)
Parameter
Name Description
input Protobuf.CodedInputStream

ToString()

public override string ToString()
Returns
Type Description
String

WriteTo(Protobuf.CodedOutputStream)

public void WriteTo(Protobuf.CodedOutputStream output)
Parameter
Name Description
output Protobuf.CodedOutputStream