Class ProxyConfig
public sealed class ProxyConfig : IMessage<ProxyConfig>, IEquatable<ProxyConfig>, IDeepCloneable<ProxyConfig>, IBufferMessage, IMessage
- Inheritance
-
ProxyConfig
- Implements
-
IMessage<ProxyConfig>IDeepCloneable<ProxyConfig>IBufferMessageIMessage
- Inherited Members
Constructors
ProxyConfig()
public ProxyConfig()
ProxyConfig(ProxyConfig)
public ProxyConfig(ProxyConfig other)
Parameters
otherProxyConfig
Fields
PasswordFieldNumber
Field number for the "password" field.
public const int PasswordFieldNumber = 3
Field Value
UrlFieldNumber
Field number for the "url" field.
public const int UrlFieldNumber = 1
Field Value
UsernameFieldNumber
Field number for the "username" field.
public const int UsernameFieldNumber = 2
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Parser
public static MessageParser<ProxyConfig> Parser { get; }
Property Value
- MessageParser<ProxyConfig>
Password
public string Password { get; set; }
Property Value
Url
public string Url { get; set; }
Property Value
Username
public string Username { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
Clone()
Creates a deep clone of this object.
public ProxyConfig Clone()
Returns
- ProxyConfig
A deep clone of this object.
Equals(ProxyConfig)
public bool Equals(ProxyConfig other)
Parameters
otherProxyConfig
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(ProxyConfig)
Merges the given message into this one.
public void MergeFrom(ProxyConfig other)
Parameters
otherProxyConfig
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.