Class ExportInstanceRequest.Builder (2.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportInstanceRequest build()
Returns
TypeDescription
ExportInstanceRequest

buildPartial()

public ExportInstanceRequest buildPartial()
Returns
TypeDescription
ExportInstanceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ExportInstanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ExportInstanceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportInstanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ExportInstanceRequest.Builder

clone()

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

getDefaultInstanceForType()

public ExportInstanceRequest getDefaultInstanceForType()
Returns
TypeDescription
ExportInstanceRequest

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];

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];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the outputConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExportInstanceRequest other)

public ExportInstanceRequest.Builder mergeFrom(ExportInstanceRequest other)
Parameter
NameDescription
otherExportInstanceRequest
Returns
TypeDescription
ExportInstanceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ExportInstanceRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueOutputConfig
Returns
TypeDescription
ExportInstanceRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ExportInstanceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueOutputConfig
Returns
TypeDescription
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
NameDescription
builderForValueOutputConfig.Builder
Returns
TypeDescription
ExportInstanceRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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