Class InstanceAuthString.Builder (2.57.0)

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

Instance AUTH string details.

Protobuf type google.cloud.redis.v1beta1.InstanceAuthString

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InstanceAuthString.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InstanceAuthString.Builder
Overrides

build()

public InstanceAuthString build()
Returns
Type Description
InstanceAuthString

buildPartial()

public InstanceAuthString buildPartial()
Returns
Type Description
InstanceAuthString

clear()

public InstanceAuthString.Builder clear()
Returns
Type Description
InstanceAuthString.Builder
Overrides

clearAuthString()

public InstanceAuthString.Builder clearAuthString()

AUTH string set on the instance.

string auth_string = 1;

Returns
Type Description
InstanceAuthString.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InstanceAuthString.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InstanceAuthString.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InstanceAuthString.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InstanceAuthString.Builder
Overrides

clone()

public InstanceAuthString.Builder clone()
Returns
Type Description
InstanceAuthString.Builder
Overrides

getAuthString()

public String getAuthString()

AUTH string set on the instance.

string auth_string = 1;

Returns
Type Description
String

The authString.

getAuthStringBytes()

public ByteString getAuthStringBytes()

AUTH string set on the instance.

string auth_string = 1;

Returns
Type Description
ByteString

The bytes for authString.

getDefaultInstanceForType()

public InstanceAuthString getDefaultInstanceForType()
Returns
Type Description
InstanceAuthString

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstanceAuthString other)

public InstanceAuthString.Builder mergeFrom(InstanceAuthString other)
Parameter
Name Description
other InstanceAuthString
Returns
Type Description
InstanceAuthString.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InstanceAuthString.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceAuthString.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InstanceAuthString.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InstanceAuthString.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstanceAuthString.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InstanceAuthString.Builder
Overrides

setAuthString(String value)

public InstanceAuthString.Builder setAuthString(String value)

AUTH string set on the instance.

string auth_string = 1;

Parameter
Name Description
value String

The authString to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for authString to set.

Returns
Type Description
InstanceAuthString.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InstanceAuthString.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InstanceAuthString.Builder
Overrides

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

public InstanceAuthString.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InstanceAuthString.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InstanceAuthString.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InstanceAuthString.Builder
Overrides