public static final class StartMigrationRequest.Builder extends GeneratedMessage.Builder<StartMigrationRequest.Builder> implements StartMigrationRequestOrBuilder Request for StartMigration.
Protobuf type google.cloud.memorystore.v1beta.StartMigrationRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StartMigrationRequest.BuilderImplements
StartMigrationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StartMigrationRequest build()| Returns | |
|---|---|
| Type | Description |
StartMigrationRequest |
|
buildPartial()
public StartMigrationRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
StartMigrationRequest |
|
clear()
public StartMigrationRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
StartMigrationRequest.Builder |
|
clearName()
public StartMigrationRequest.Builder clearName()Required. The resource name of the instance to start migration on. Format: projects/{project}/locations/{location}/instances/{instance}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
StartMigrationRequest.Builder |
This builder for chaining. |
clearSelfManagedSource()
public StartMigrationRequest.Builder clearSelfManagedSource()Required. Configuration for migrating from a self-managed Valkey/Redis instance
.google.cloud.memorystore.v1beta.SelfManagedSource self_managed_source = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
StartMigrationRequest.Builder |
|
clearSource()
public StartMigrationRequest.Builder clearSource()| Returns | |
|---|---|
| Type | Description |
StartMigrationRequest.Builder |
|
getDefaultInstanceForType()
public StartMigrationRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StartMigrationRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The resource name of the instance to start migration on. Format: projects/{project}/locations/{location}/instances/{instance}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The resource name of the instance to start migration on. Format: projects/{project}/locations/{location}/instances/{instance}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSelfManagedSource()
public SelfManagedSource getSelfManagedSource()Required. Configuration for migrating from a self-managed Valkey/Redis instance
.google.cloud.memorystore.v1beta.SelfManagedSource self_managed_source = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SelfManagedSource |
The selfManagedSource. |
getSelfManagedSourceBuilder()
public SelfManagedSource.Builder getSelfManagedSourceBuilder()Required. Configuration for migrating from a self-managed Valkey/Redis instance
.google.cloud.memorystore.v1beta.SelfManagedSource self_managed_source = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SelfManagedSource.Builder |
|
getSelfManagedSourceOrBuilder()
public SelfManagedSourceOrBuilder getSelfManagedSourceOrBuilder()Required. Configuration for migrating from a self-managed Valkey/Redis instance
.google.cloud.memorystore.v1beta.SelfManagedSource self_managed_source = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SelfManagedSourceOrBuilder |
|
getSourceCase()
public StartMigrationRequest.SourceCase getSourceCase()| Returns | |
|---|---|
| Type | Description |
StartMigrationRequest.SourceCase |
|
hasSelfManagedSource()
public boolean hasSelfManagedSource()Required. Configuration for migrating from a self-managed Valkey/Redis instance
.google.cloud.memorystore.v1beta.SelfManagedSource self_managed_source = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the selfManagedSource field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(StartMigrationRequest other)
public StartMigrationRequest.Builder mergeFrom(StartMigrationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
StartMigrationRequest |
| Returns | |
|---|---|
| Type | Description |
StartMigrationRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StartMigrationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StartMigrationRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StartMigrationRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StartMigrationRequest.Builder |
|
mergeSelfManagedSource(SelfManagedSource value)
public StartMigrationRequest.Builder mergeSelfManagedSource(SelfManagedSource value)Required. Configuration for migrating from a self-managed Valkey/Redis instance
.google.cloud.memorystore.v1beta.SelfManagedSource self_managed_source = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SelfManagedSource |
| Returns | |
|---|---|
| Type | Description |
StartMigrationRequest.Builder |
|
setName(String value)
public StartMigrationRequest.Builder setName(String value)Required. The resource name of the instance to start migration on. Format: projects/{project}/locations/{location}/instances/{instance}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
StartMigrationRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public StartMigrationRequest.Builder setNameBytes(ByteString value)Required. The resource name of the instance to start migration on. Format: projects/{project}/locations/{location}/instances/{instance}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
StartMigrationRequest.Builder |
This builder for chaining. |
setSelfManagedSource(SelfManagedSource value)
public StartMigrationRequest.Builder setSelfManagedSource(SelfManagedSource value)Required. Configuration for migrating from a self-managed Valkey/Redis instance
.google.cloud.memorystore.v1beta.SelfManagedSource self_managed_source = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SelfManagedSource |
| Returns | |
|---|---|
| Type | Description |
StartMigrationRequest.Builder |
|
setSelfManagedSource(SelfManagedSource.Builder builderForValue)
public StartMigrationRequest.Builder setSelfManagedSource(SelfManagedSource.Builder builderForValue)Required. Configuration for migrating from a self-managed Valkey/Redis instance
.google.cloud.memorystore.v1beta.SelfManagedSource self_managed_source = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SelfManagedSource.Builder |
| Returns | |
|---|---|
| Type | Description |
StartMigrationRequest.Builder |
|