Class StorageConfig
public sealed class StorageConfig : IMessage<StorageConfig>, IEquatable<StorageConfig>, IDeepCloneable<StorageConfig>, IBufferMessage, IMessage
- Inheritance
-
StorageConfig
- Implements
-
IMessage<StorageConfig>IDeepCloneable<StorageConfig>IBufferMessageIMessage
- Inherited Members
Constructors
StorageConfig()
public StorageConfig()
StorageConfig(StorageConfig)
public StorageConfig(StorageConfig other)
Parameters
otherStorageConfig
Fields
AliOSSFieldNumber
Field number for the "aliOSS" field.
public const int AliOSSFieldNumber = 4
Field Value
AzureFieldNumber
Field number for the "azure" field.
public const int AzureFieldNumber = 3
Field Value
GcpFieldNumber
Field number for the "gcp" field.
public const int GcpFieldNumber = 2
Field Value
S3FieldNumber
Field number for the "s3" field.
public const int S3FieldNumber = 1
Field Value
Properties
AliOSS
public AliOSSUpload AliOSS { get; set; }
Property Value
Azure
public AzureBlobUpload Azure { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Gcp
public GCPUpload Gcp { get; set; }
Property Value
Parser
public static MessageParser<StorageConfig> Parser { get; }
Property Value
- MessageParser<StorageConfig>
ProviderCase
public StorageConfig.ProviderOneofCase ProviderCase { get; }
Property Value
S3
public S3Upload S3 { 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.
ClearProvider()
public void ClearProvider()
Clone()
Creates a deep clone of this object.
public StorageConfig Clone()
Returns
- StorageConfig
A deep clone of this object.
Equals(StorageConfig)
public bool Equals(StorageConfig other)
Parameters
otherStorageConfig
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(StorageConfig)
Merges the given message into this one.
public void MergeFrom(StorageConfig other)
Parameters
otherStorageConfig
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.