Class ExportInstanceRequest.Builder (2.49.0)

public static final class ExportInstanceRequest.Builder extends GeneratedMessageV3.Builder<ExportInstanceRequest.Builder> implements ExportInstanceRequestOrBuilder

Request for Export.

Protobuf type google.cloud.redis.v1beta1.ExportInstanceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportInstanceRequest build()
Returns
Type Description
ExportInstanceRequest

buildPartial()

public ExportInstanceRequest buildPartial()
Returns
Type Description
ExportInstanceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ExportInstanceRequest.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];

Returns
Type Description
ExportInstanceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputConfig()

public ExportInstanceRequest.Builder clearOutputConfig()

Required. Specify data to be exported.

.google.cloud.redis.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExportInstanceRequest.Builder

clone()

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

getDefaultInstanceForType()

public ExportInstanceRequest getDefaultInstanceForType()
Returns
Type Description
ExportInstanceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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];

Returns
Type Description
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];

Returns
Type Description
ByteString

The bytes for name.

getOutputConfig()

public OutputConfig getOutputConfig()

Required. Specify data to be exported.

.google.cloud.redis.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OutputConfig

The outputConfig.

getOutputConfigBuilder()

public OutputConfig.Builder getOutputConfigBuilder()

Required. Specify data to be exported.

.google.cloud.redis.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OutputConfig.Builder

getOutputConfigOrBuilder()

public OutputConfigOrBuilder getOutputConfigOrBuilder()

Required. Specify data to be exported.

.google.cloud.redis.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OutputConfigOrBuilder

hasOutputConfig()

public boolean hasOutputConfig()

Required. Specify data to be exported.

.google.cloud.redis.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the outputConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportInstanceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOutputConfig(OutputConfig value)

public ExportInstanceRequest.Builder mergeOutputConfig(OutputConfig value)

Required. Specify data to be exported.

.google.cloud.redis.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OutputConfig
Returns
Type Description
ExportInstanceRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ExportInstanceRequest.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];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ExportInstanceRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExportInstanceRequest.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];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ExportInstanceRequest.Builder

This builder for chaining.

setOutputConfig(OutputConfig value)

public ExportInstanceRequest.Builder setOutputConfig(OutputConfig value)

Required. Specify data to be exported.

.google.cloud.redis.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OutputConfig
Returns
Type Description
ExportInstanceRequest.Builder

setOutputConfig(OutputConfig.Builder builderForValue)

public ExportInstanceRequest.Builder setOutputConfig(OutputConfig.Builder builderForValue)

Required. Specify data to be exported.

.google.cloud.redis.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue OutputConfig.Builder
Returns
Type Description
ExportInstanceRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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