Class ProviderCredentialRefresh
- Namespace
- Openshell.V1
- Assembly
- OpenShell.Sdk.dll
public sealed class ProviderCredentialRefresh : IMessage<ProviderCredentialRefresh>, IEquatable<ProviderCredentialRefresh>, IDeepCloneable<ProviderCredentialRefresh>, IBufferMessage, IMessage
- Inheritance
-
ProviderCredentialRefresh
- Implements
-
IMessage<ProviderCredentialRefresh>IDeepCloneable<ProviderCredentialRefresh>IBufferMessageIMessage
- Inherited Members
Constructors
ProviderCredentialRefresh()
public ProviderCredentialRefresh()
ProviderCredentialRefresh(ProviderCredentialRefresh)
public ProviderCredentialRefresh(ProviderCredentialRefresh other)
Parameters
Fields
AdditionalOutputsFieldNumber
Field number for the "additional_outputs" field.
public const int AdditionalOutputsFieldNumber = 7
Field Value
MaterialFieldNumber
Field number for the "material" field.
public const int MaterialFieldNumber = 6
Field Value
MaxLifetimeFieldNumber
Field number for the "max_lifetime" field.
public const int MaxLifetimeFieldNumber = 105
Field Value
RefreshBeforeFieldNumber
Field number for the "refresh_before" field.
public const int RefreshBeforeFieldNumber = 104
Field Value
ScopesFieldNumber
Field number for the "scopes" field.
public const int ScopesFieldNumber = 3
Field Value
StrategyFieldNumber
Field number for the "strategy" field.
public const int StrategyFieldNumber = 1
Field Value
TokenUrlFieldNumber
Field number for the "token_url" field.
public const int TokenUrlFieldNumber = 2
Field Value
Properties
AdditionalOutputs
public RepeatedField<ProviderCredentialRefreshOutput> AdditionalOutputs { get; }
Property Value
- RepeatedField<ProviderCredentialRefreshOutput>
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Material
public RepeatedField<ProviderCredentialRefreshMaterial> Material { get; }
Property Value
- RepeatedField<ProviderCredentialRefreshMaterial>
MaxLifetime
public Duration MaxLifetime { get; set; }
Property Value
- Duration
Parser
public static MessageParser<ProviderCredentialRefresh> Parser { get; }
Property Value
- MessageParser<ProviderCredentialRefresh>
RefreshBefore
public Duration RefreshBefore { get; set; }
Property Value
- Duration
Scopes
public RepeatedField<string> Scopes { get; }
Property Value
- RepeatedField<string>
Strategy
public ProviderCredentialRefreshStrategy Strategy { get; set; }
Property Value
TokenUrl
public string TokenUrl { 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 ProviderCredentialRefresh Clone()
Returns
- ProviderCredentialRefresh
A deep clone of this object.
Equals(ProviderCredentialRefresh)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ProviderCredentialRefresh other)
Parameters
otherProviderCredentialRefreshAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
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(ProviderCredentialRefresh)
Merges the given message into this one.
public void MergeFrom(ProviderCredentialRefresh other)
Parameters
Remarks
See the user guide for precise merge semantics.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
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.