Class InstanceAuthString (2.21.0)

public final class InstanceAuthString extends GeneratedMessageV3 implements InstanceAuthStringOrBuilder

Instance AUTH string details.

Protobuf type google.cloud.redis.v1beta1.InstanceAuthString

Static Fields

AUTH_STRING_FIELD_NUMBER

public static final int AUTH_STRING_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InstanceAuthString getDefaultInstance()
Returns
TypeDescription
InstanceAuthString

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static InstanceAuthString.Builder newBuilder()
Returns
TypeDescription
InstanceAuthString.Builder

newBuilder(InstanceAuthString prototype)

public static InstanceAuthString.Builder newBuilder(InstanceAuthString prototype)
Parameter
NameDescription
prototypeInstanceAuthString
Returns
TypeDescription
InstanceAuthString.Builder

parseDelimitedFrom(InputStream input)

public static InstanceAuthString parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InstanceAuthString
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceAuthString parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceAuthString
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InstanceAuthString parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InstanceAuthString
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InstanceAuthString parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceAuthString
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InstanceAuthString parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InstanceAuthString
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InstanceAuthString parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceAuthString
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InstanceAuthString parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InstanceAuthString
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceAuthString parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceAuthString
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InstanceAuthString parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InstanceAuthString
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceAuthString parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceAuthString
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InstanceAuthString parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InstanceAuthString
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InstanceAuthString parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceAuthString
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<InstanceAuthString> parser()
Returns
TypeDescription
Parser<InstanceAuthString>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAuthString()

public String getAuthString()

AUTH string set on the instance.

string auth_string = 1;

Returns
TypeDescription
String

The authString.

getAuthStringBytes()

public ByteString getAuthStringBytes()

AUTH string set on the instance.

string auth_string = 1;

Returns
TypeDescription
ByteString

The bytes for authString.

getDefaultInstanceForType()

public InstanceAuthString getDefaultInstanceForType()
Returns
TypeDescription
InstanceAuthString

getParserForType()

public Parser<InstanceAuthString> getParserForType()
Returns
TypeDescription
Parser<InstanceAuthString>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InstanceAuthString.Builder newBuilderForType()
Returns
TypeDescription
InstanceAuthString.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InstanceAuthString.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InstanceAuthString.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InstanceAuthString.Builder toBuilder()
Returns
TypeDescription
InstanceAuthString.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException