Class AliOSSUpload
public sealed class AliOSSUpload : IMessage<AliOSSUpload>, IEquatable<AliOSSUpload>, IDeepCloneable<AliOSSUpload>, IBufferMessage, IMessage
- Inheritance
-
AliOSSUpload
- Implements
-
IMessage<AliOSSUpload>IDeepCloneable<AliOSSUpload>IBufferMessageIMessage
- Inherited Members
Constructors
AliOSSUpload()
public AliOSSUpload()
AliOSSUpload(AliOSSUpload)
public AliOSSUpload(AliOSSUpload other)
Parameters
otherAliOSSUpload
Fields
AccessKeyFieldNumber
Field number for the "access_key" field.
public const int AccessKeyFieldNumber = 1
Field Value
BucketFieldNumber
Field number for the "bucket" field.
public const int BucketFieldNumber = 5
Field Value
EndpointFieldNumber
Field number for the "endpoint" field.
public const int EndpointFieldNumber = 4
Field Value
RegionFieldNumber
Field number for the "region" field.
public const int RegionFieldNumber = 3
Field Value
SecretFieldNumber
Field number for the "secret" field.
public const int SecretFieldNumber = 2
Field Value
Properties
AccessKey
public string AccessKey { get; set; }
Property Value
Bucket
public string Bucket { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Endpoint
public string Endpoint { get; set; }
Property Value
Parser
public static MessageParser<AliOSSUpload> Parser { get; }
Property Value
- MessageParser<AliOSSUpload>
Region
public string Region { get; set; }
Property Value
Secret
public string Secret { 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 AliOSSUpload Clone()
Returns
- AliOSSUpload
A deep clone of this object.
Equals(AliOSSUpload)
public bool Equals(AliOSSUpload other)
Parameters
otherAliOSSUpload
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(AliOSSUpload)
Merges the given message into this one.
public void MergeFrom(AliOSSUpload other)
Parameters
otherAliOSSUpload
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.