public static final class FinishMigrationRequest.Builder extends GeneratedMessage.Builder<FinishMigrationRequest.Builder> implements FinishMigrationRequestOrBuilder Request for FinishMigration.
Protobuf type google.cloud.memorystore.v1beta.FinishMigrationRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FinishMigrationRequest.BuilderImplements
FinishMigrationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FinishMigrationRequest build()| Returns | |
|---|---|
| Type | Description |
FinishMigrationRequest |
|
buildPartial()
public FinishMigrationRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
FinishMigrationRequest |
|
clear()
public FinishMigrationRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
FinishMigrationRequest.Builder |
|
clearForce()
public FinishMigrationRequest.Builder clearForce() Optional. By default, the FinishMigration operation ensures the target
replication offset to catch up to the source offset as of the time of the
call. Set this field to true to bypass this offset verification check.
bool force = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FinishMigrationRequest.Builder |
This builder for chaining. |
clearName()
public FinishMigrationRequest.Builder clearName()Required. The resource name of the instance to finalize migration on. Format: projects/{project}/locations/{location}/instances/{instance}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
FinishMigrationRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FinishMigrationRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FinishMigrationRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getForce()
public boolean getForce() Optional. By default, the FinishMigration operation ensures the target
replication offset to catch up to the source offset as of the time of the
call. Set this field to true to bypass this offset verification check.
bool force = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The force. |
getName()
public String getName()Required. The resource name of the instance to finalize 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 finalize 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FinishMigrationRequest other)
public FinishMigrationRequest.Builder mergeFrom(FinishMigrationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
FinishMigrationRequest |
| Returns | |
|---|---|
| Type | Description |
FinishMigrationRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FinishMigrationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FinishMigrationRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FinishMigrationRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FinishMigrationRequest.Builder |
|
setForce(boolean value)
public FinishMigrationRequest.Builder setForce(boolean value) Optional. By default, the FinishMigration operation ensures the target
replication offset to catch up to the source offset as of the time of the
call. Set this field to true to bypass this offset verification check.
bool force = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe force to set. |
| Returns | |
|---|---|
| Type | Description |
FinishMigrationRequest.Builder |
This builder for chaining. |
setName(String value)
public FinishMigrationRequest.Builder setName(String value)Required. The resource name of the instance to finalize 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 |
FinishMigrationRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FinishMigrationRequest.Builder setNameBytes(ByteString value)Required. The resource name of the instance to finalize 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 |
FinishMigrationRequest.Builder |
This builder for chaining. |