public static final class RestoreConfig.TransformationRuleAction.Builder extends GeneratedMessage.Builder<RestoreConfig.TransformationRuleAction.Builder> implements RestoreConfig.TransformationRuleActionOrBuilderTransformationRuleAction defines a TransformationRule action based on the JSON Patch RFC (https://www.rfc-editor.org/rfc/rfc6902)
Protobuf type google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RestoreConfig.TransformationRuleAction.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RestoreConfig.TransformationRuleAction build()| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction |
|
buildPartial()
public RestoreConfig.TransformationRuleAction buildPartial()| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction |
|
clear()
public RestoreConfig.TransformationRuleAction.Builder clear()| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
|
clearFromPath()
public RestoreConfig.TransformationRuleAction.Builder clearFromPath()Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
string from_path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
This builder for chaining. |
clearOp()
public RestoreConfig.TransformationRuleAction.Builder clearOp()Required. op specifies the operation to perform.
.google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.Op op = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
This builder for chaining. |
clearPath()
public RestoreConfig.TransformationRuleAction.Builder clearPath()Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
string path = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
This builder for chaining. |
clearValue()
public RestoreConfig.TransformationRuleAction.Builder clearValue()Optional. A string that specifies the desired value in string format to use for transformation.
string value = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RestoreConfig.TransformationRuleAction getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFromPath()
public String getFromPath()Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
string from_path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The fromPath. |
getFromPathBytes()
public ByteString getFromPathBytes()Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
string from_path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for fromPath. |
getOp()
public RestoreConfig.TransformationRuleAction.Op getOp()Required. op specifies the operation to perform.
.google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.Op op = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Op |
The op. |
getOpValue()
public int getOpValue()Required. op specifies the operation to perform.
.google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.Op op = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for op. |
getPath()
public String getPath()Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
string path = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The path. |
getPathBytes()
public ByteString getPathBytes()Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
string path = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for path. |
getValue()
public String getValue()Optional. A string that specifies the desired value in string format to use for transformation.
string value = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes()Optional. A string that specifies the desired value in string format to use for transformation.
string value = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RestoreConfig.TransformationRuleAction other)
public RestoreConfig.TransformationRuleAction.Builder mergeFrom(RestoreConfig.TransformationRuleAction other)| Parameter | |
|---|---|
| Name | Description |
other |
RestoreConfig.TransformationRuleAction |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RestoreConfig.TransformationRuleAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RestoreConfig.TransformationRuleAction.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
|
setFromPath(String value)
public RestoreConfig.TransformationRuleAction.Builder setFromPath(String value)Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
string from_path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe fromPath to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
This builder for chaining. |
setFromPathBytes(ByteString value)
public RestoreConfig.TransformationRuleAction.Builder setFromPathBytes(ByteString value)Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
string from_path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for fromPath to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
This builder for chaining. |
setOp(RestoreConfig.TransformationRuleAction.Op value)
public RestoreConfig.TransformationRuleAction.Builder setOp(RestoreConfig.TransformationRuleAction.Op value)Required. op specifies the operation to perform.
.google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.Op op = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
RestoreConfig.TransformationRuleAction.OpThe op to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
This builder for chaining. |
setOpValue(int value)
public RestoreConfig.TransformationRuleAction.Builder setOpValue(int value)Required. op specifies the operation to perform.
.google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.Op op = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for op to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
This builder for chaining. |
setPath(String value)
public RestoreConfig.TransformationRuleAction.Builder setPath(String value)Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
string path = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe path to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
This builder for chaining. |
setPathBytes(ByteString value)
public RestoreConfig.TransformationRuleAction.Builder setPathBytes(ByteString value)Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
string path = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for path to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
This builder for chaining. |
setValue(String value)
public RestoreConfig.TransformationRuleAction.Builder setValue(String value)Optional. A string that specifies the desired value in string format to use for transformation.
string value = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public RestoreConfig.TransformationRuleAction.Builder setValueBytes(ByteString value)Optional. A string that specifies the desired value in string format to use for transformation.
string value = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
This builder for chaining. |