Class GetInstanceAuthStringRequest.Builder (2.44.0)

public static final class GetInstanceAuthStringRequest.Builder extends GeneratedMessageV3.Builder<GetInstanceAuthStringRequest.Builder> implements GetInstanceAuthStringRequestOrBuilder

Request for GetInstanceAuthString.

Protobuf type google.cloud.redis.v1.GetInstanceAuthStringRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetInstanceAuthStringRequest build()
Returns
TypeDescription
GetInstanceAuthStringRequest

buildPartial()

public GetInstanceAuthStringRequest buildPartial()
Returns
TypeDescription
GetInstanceAuthStringRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetInstanceAuthStringRequest.Builder clearName()

Required. Redis instance resource name using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetInstanceAuthStringRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public GetInstanceAuthStringRequest.Builder clone()
Returns
TypeDescription
GetInstanceAuthStringRequest.Builder
Overrides

getDefaultInstanceForType()

public GetInstanceAuthStringRequest getDefaultInstanceForType()
Returns
TypeDescription
GetInstanceAuthStringRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Redis instance resource name using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Redis instance resource name using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetInstanceAuthStringRequest other)

public GetInstanceAuthStringRequest.Builder mergeFrom(GetInstanceAuthStringRequest other)
Parameter
NameDescription
otherGetInstanceAuthStringRequest
Returns
TypeDescription
GetInstanceAuthStringRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetInstanceAuthStringRequest.Builder setName(String value)

Required. Redis instance resource name using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetInstanceAuthStringRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetInstanceAuthStringRequest.Builder setNameBytes(ByteString value)

Required. Redis instance resource name using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetInstanceAuthStringRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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