Class InstanceAuthString.Builder (2.37.0)

public static final class InstanceAuthString.Builder extends GeneratedMessageV3.Builder<InstanceAuthString.Builder> implements InstanceAuthStringOrBuilder

Instance AUTH string details.

Protobuf type google.cloud.redis.v1.InstanceAuthString

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InstanceAuthString.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InstanceAuthString.Builder
Overrides

build()

public InstanceAuthString build()
Returns
TypeDescription
InstanceAuthString

buildPartial()

public InstanceAuthString buildPartial()
Returns
TypeDescription
InstanceAuthString

clear()

public InstanceAuthString.Builder clear()
Returns
TypeDescription
InstanceAuthString.Builder
Overrides

clearAuthString()

public InstanceAuthString.Builder clearAuthString()

AUTH string set on the instance.

string auth_string = 1;

Returns
TypeDescription
InstanceAuthString.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InstanceAuthString.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InstanceAuthString.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InstanceAuthString.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InstanceAuthString.Builder
Overrides

clone()

public InstanceAuthString.Builder clone()
Returns
TypeDescription
InstanceAuthString.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstanceAuthString other)

public InstanceAuthString.Builder mergeFrom(InstanceAuthString other)
Parameter
NameDescription
otherInstanceAuthString
Returns
TypeDescription
InstanceAuthString.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InstanceAuthString.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceAuthString.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InstanceAuthString.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InstanceAuthString.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstanceAuthString.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InstanceAuthString.Builder
Overrides

setAuthString(String value)

public InstanceAuthString.Builder setAuthString(String value)

AUTH string set on the instance.

string auth_string = 1;

Parameter
NameDescription
valueString

The authString to set.

Returns
TypeDescription
InstanceAuthString.Builder

This builder for chaining.

setAuthStringBytes(ByteString value)

public InstanceAuthString.Builder setAuthStringBytes(ByteString value)

AUTH string set on the instance.

string auth_string = 1;

Parameter
NameDescription
valueByteString

The bytes for authString to set.

Returns
TypeDescription
InstanceAuthString.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InstanceAuthString.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InstanceAuthString.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InstanceAuthString.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InstanceAuthString.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InstanceAuthString.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InstanceAuthString.Builder
Overrides