public static final class ApplyConversionWorkspaceRequest.Builder extends GeneratedMessage.Builder<ApplyConversionWorkspaceRequest.Builder> implements ApplyConversionWorkspaceRequestOrBuilderRequest message for 'ApplyConversionWorkspace' request.
Protobuf type google.cloud.clouddms.v1.ApplyConversionWorkspaceRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ApplyConversionWorkspaceRequest.BuilderImplements
ApplyConversionWorkspaceRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ApplyConversionWorkspaceRequest build()| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest |
|
buildPartial()
public ApplyConversionWorkspaceRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest |
|
clear()
public ApplyConversionWorkspaceRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
|
clearAutoCommit()
public ApplyConversionWorkspaceRequest.Builder clearAutoCommit()Optional. Specifies whether the conversion workspace is to be committed automatically after the apply.
bool auto_commit = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
This builder for chaining. |
clearConnectionProfile()
public ApplyConversionWorkspaceRequest.Builder clearConnectionProfile()Optional. Fully qualified (Uri) name of the destination connection profile.
string connection_profile = 100 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
This builder for chaining. |
clearDestination()
public ApplyConversionWorkspaceRequest.Builder clearDestination()| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
|
clearDryRun()
public ApplyConversionWorkspaceRequest.Builder clearDryRun()Optional. Only validates the apply process, but doesn't change the destination database. Only works for PostgreSQL destination connection profile.
bool dry_run = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
This builder for chaining. |
clearFilter()
public ApplyConversionWorkspaceRequest.Builder clearFilter()Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering.
string filter = 2;
| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
This builder for chaining. |
clearName()
public ApplyConversionWorkspaceRequest.Builder clearName()Required. The name of the conversion workspace resource for which to apply the draft tree. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
This builder for chaining. |
getAutoCommit()
public boolean getAutoCommit()Optional. Specifies whether the conversion workspace is to be committed automatically after the apply.
bool auto_commit = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The autoCommit. |
getConnectionProfile()
public String getConnectionProfile()Optional. Fully qualified (Uri) name of the destination connection profile.
string connection_profile = 100 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The connectionProfile. |
getConnectionProfileBytes()
public ByteString getConnectionProfileBytes()Optional. Fully qualified (Uri) name of the destination connection profile.
string connection_profile = 100 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for connectionProfile. |
getDefaultInstanceForType()
public ApplyConversionWorkspaceRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDestinationCase()
public ApplyConversionWorkspaceRequest.DestinationCase getDestinationCase()| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.DestinationCase |
|
getDryRun()
public boolean getDryRun()Optional. Only validates the apply process, but doesn't change the destination database. Only works for PostgreSQL destination connection profile.
bool dry_run = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The dryRun. |
getFilter()
public String getFilter()Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering.
string filter = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering.
string filter = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filter. |
getName()
public String getName()Required. The name of the conversion workspace resource for which to apply the draft tree. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the conversion workspace resource for which to apply the draft tree. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasConnectionProfile()
public boolean hasConnectionProfile()Optional. Fully qualified (Uri) name of the destination connection profile.
string connection_profile = 100 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the connectionProfile field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ApplyConversionWorkspaceRequest other)
public ApplyConversionWorkspaceRequest.Builder mergeFrom(ApplyConversionWorkspaceRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ApplyConversionWorkspaceRequest |
| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ApplyConversionWorkspaceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ApplyConversionWorkspaceRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
|
setAutoCommit(boolean value)
public ApplyConversionWorkspaceRequest.Builder setAutoCommit(boolean value)Optional. Specifies whether the conversion workspace is to be committed automatically after the apply.
bool auto_commit = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe autoCommit to set. |
| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
This builder for chaining. |
setConnectionProfile(String value)
public ApplyConversionWorkspaceRequest.Builder setConnectionProfile(String value)Optional. Fully qualified (Uri) name of the destination connection profile.
string connection_profile = 100 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe connectionProfile to set. |
| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
This builder for chaining. |
setConnectionProfileBytes(ByteString value)
public ApplyConversionWorkspaceRequest.Builder setConnectionProfileBytes(ByteString value)Optional. Fully qualified (Uri) name of the destination connection profile.
string connection_profile = 100 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for connectionProfile to set. |
| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
This builder for chaining. |
setDryRun(boolean value)
public ApplyConversionWorkspaceRequest.Builder setDryRun(boolean value)Optional. Only validates the apply process, but doesn't change the destination database. Only works for PostgreSQL destination connection profile.
bool dry_run = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe dryRun to set. |
| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
This builder for chaining. |
setFilter(String value)
public ApplyConversionWorkspaceRequest.Builder setFilter(String value)Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering.
string filter = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public ApplyConversionWorkspaceRequest.Builder setFilterBytes(ByteString value)Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering.
string filter = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
This builder for chaining. |
setName(String value)
public ApplyConversionWorkspaceRequest.Builder setName(String value)Required. The name of the conversion workspace resource for which to apply the draft tree. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ApplyConversionWorkspaceRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ApplyConversionWorkspaceRequest.Builder setNameBytes(ByteString value)Required. The name of the conversion workspace resource for which to apply the draft tree. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
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 |
ApplyConversionWorkspaceRequest.Builder |
This builder for chaining. |