Class GCPUpload
public sealed class GCPUpload : IMessage<GCPUpload>, IEquatable<GCPUpload>, IDeepCloneable<GCPUpload>, IBufferMessage, IMessage
- Inheritance
-
GCPUpload
- Inherited Members
Constructors
GCPUpload()
public GCPUpload()
GCPUpload(GCPUpload)
public GCPUpload(GCPUpload other)
Parameters
otherGCPUpload
Fields
BucketFieldNumber
Field number for the "bucket" field.
public const int BucketFieldNumber = 2
Field Value
CredentialsFieldNumber
Field number for the "credentials" field.
public const int CredentialsFieldNumber = 1
Field Value
ProxyFieldNumber
Field number for the "proxy" field.
public const int ProxyFieldNumber = 3
Field Value
Properties
Bucket
public string Bucket { get; set; }
Property Value
Credentials
service account credentials serialized in JSON "credentials.json"
public string Credentials { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Parser
public static MessageParser<GCPUpload> Parser { get; }
Property Value
- MessageParser<GCPUpload>
Proxy
public ProxyConfig Proxy { 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 GCPUpload Clone()
Returns
- GCPUpload
A deep clone of this object.
Equals(GCPUpload)
public bool Equals(GCPUpload other)
Parameters
otherGCPUpload
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(GCPUpload)
Merges the given message into this one.
public void MergeFrom(GCPUpload other)
Parameters
otherGCPUpload
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.