public static final class RestoreConfig.TransformationRuleAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder> implements RestoreConfig.TransformationRuleActionOrBuilder
TransformationRuleAction 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| Modifier and Type | Method and Description |
|---|---|
RestoreConfig.TransformationRuleAction.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RestoreConfig.TransformationRuleAction |
build() |
RestoreConfig.TransformationRuleAction |
buildPartial() |
RestoreConfig.TransformationRuleAction.Builder |
clear() |
RestoreConfig.TransformationRuleAction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RestoreConfig.TransformationRuleAction.Builder |
clearFromPath()
A string containing a JSON Pointer value that references the location in
the target document to move the value from.
|
RestoreConfig.TransformationRuleAction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RestoreConfig.TransformationRuleAction.Builder |
clearOp()
Required.
|
RestoreConfig.TransformationRuleAction.Builder |
clearPath()
A string containing a JSON-Pointer value that references a location
within the target document where the operation is performed.
|
RestoreConfig.TransformationRuleAction.Builder |
clearValue()
A string that specifies the desired value in string format to
use for transformation.
|
RestoreConfig.TransformationRuleAction.Builder |
clone() |
RestoreConfig.TransformationRuleAction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFromPath()
A string containing a JSON Pointer value that references the location in
the target document to move the value from.
|
com.google.protobuf.ByteString |
getFromPathBytes()
A string containing a JSON Pointer value that references the location in
the target document to move the value from.
|
RestoreConfig.TransformationRuleAction.Op |
getOp()
Required.
|
int |
getOpValue()
Required.
|
String |
getPath()
A string containing a JSON-Pointer value that references a location
within the target document where the operation is performed.
|
com.google.protobuf.ByteString |
getPathBytes()
A string containing a JSON-Pointer value that references a location
within the target document where the operation is performed.
|
String |
getValue()
A string that specifies the desired value in string format to
use for transformation.
|
com.google.protobuf.ByteString |
getValueBytes()
A string that specifies the desired value in string format to
use for transformation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RestoreConfig.TransformationRuleAction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RestoreConfig.TransformationRuleAction.Builder |
mergeFrom(com.google.protobuf.Message other) |
RestoreConfig.TransformationRuleAction.Builder |
mergeFrom(RestoreConfig.TransformationRuleAction other) |
RestoreConfig.TransformationRuleAction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RestoreConfig.TransformationRuleAction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RestoreConfig.TransformationRuleAction.Builder |
setFromPath(String value)
A string containing a JSON Pointer value that references the location in
the target document to move the value from.
|
RestoreConfig.TransformationRuleAction.Builder |
setFromPathBytes(com.google.protobuf.ByteString value)
A string containing a JSON Pointer value that references the location in
the target document to move the value from.
|
RestoreConfig.TransformationRuleAction.Builder |
setOp(RestoreConfig.TransformationRuleAction.Op value)
Required.
|
RestoreConfig.TransformationRuleAction.Builder |
setOpValue(int value)
Required.
|
RestoreConfig.TransformationRuleAction.Builder |
setPath(String value)
A string containing a JSON-Pointer value that references a location
within the target document where the operation is performed.
|
RestoreConfig.TransformationRuleAction.Builder |
setPathBytes(com.google.protobuf.ByteString value)
A string containing a JSON-Pointer value that references a location
within the target document where the operation is performed.
|
RestoreConfig.TransformationRuleAction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RestoreConfig.TransformationRuleAction.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RestoreConfig.TransformationRuleAction.Builder |
setValue(String value)
A string that specifies the desired value in string format to
use for transformation.
|
RestoreConfig.TransformationRuleAction.Builder |
setValueBytes(com.google.protobuf.ByteString value)
A string that specifies the desired value in string format to
use for transformation.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>public RestoreConfig.TransformationRuleAction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>public RestoreConfig.TransformationRuleAction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RestoreConfig.TransformationRuleAction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RestoreConfig.TransformationRuleAction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RestoreConfig.TransformationRuleAction.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>public RestoreConfig.TransformationRuleAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>public RestoreConfig.TransformationRuleAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>public RestoreConfig.TransformationRuleAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>public RestoreConfig.TransformationRuleAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>public RestoreConfig.TransformationRuleAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>public RestoreConfig.TransformationRuleAction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RestoreConfig.TransformationRuleAction.Builder>public RestoreConfig.TransformationRuleAction.Builder mergeFrom(RestoreConfig.TransformationRuleAction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>public RestoreConfig.TransformationRuleAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RestoreConfig.TransformationRuleAction.Builder>IOExceptionpublic int getOpValue()
Required. op specifies the operation to perform.
.google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.Op op = 1 [(.google.api.field_behavior) = REQUIRED];
getOpValue in interface RestoreConfig.TransformationRuleActionOrBuilderpublic 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];
value - The enum numeric value on the wire for op to set.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];
getOp in interface RestoreConfig.TransformationRuleActionOrBuilderpublic 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];
value - The op to set.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];
public String getFromPath()
A string containing a JSON Pointer value that references the location in the target document to move the value from.
string from_path = 2;getFromPath in interface RestoreConfig.TransformationRuleActionOrBuilderpublic com.google.protobuf.ByteString getFromPathBytes()
A string containing a JSON Pointer value that references the location in the target document to move the value from.
string from_path = 2;getFromPathBytes in interface RestoreConfig.TransformationRuleActionOrBuilderpublic RestoreConfig.TransformationRuleAction.Builder setFromPath(String value)
A string containing a JSON Pointer value that references the location in the target document to move the value from.
string from_path = 2;value - The fromPath to set.public RestoreConfig.TransformationRuleAction.Builder clearFromPath()
A string containing a JSON Pointer value that references the location in the target document to move the value from.
string from_path = 2;public RestoreConfig.TransformationRuleAction.Builder setFromPathBytes(com.google.protobuf.ByteString value)
A string containing a JSON Pointer value that references the location in the target document to move the value from.
string from_path = 2;value - The bytes for fromPath to set.public String getPath()
A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
string path = 3;getPath in interface RestoreConfig.TransformationRuleActionOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
string path = 3;getPathBytes in interface RestoreConfig.TransformationRuleActionOrBuilderpublic RestoreConfig.TransformationRuleAction.Builder setPath(String value)
A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
string path = 3;value - The path to set.public RestoreConfig.TransformationRuleAction.Builder clearPath()
A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
string path = 3;public RestoreConfig.TransformationRuleAction.Builder setPathBytes(com.google.protobuf.ByteString value)
A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
string path = 3;value - The bytes for path to set.public String getValue()
A string that specifies the desired value in string format to use for transformation.
string value = 4;getValue in interface RestoreConfig.TransformationRuleActionOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
A string that specifies the desired value in string format to use for transformation.
string value = 4;getValueBytes in interface RestoreConfig.TransformationRuleActionOrBuilderpublic RestoreConfig.TransformationRuleAction.Builder setValue(String value)
A string that specifies the desired value in string format to use for transformation.
string value = 4;value - The value to set.public RestoreConfig.TransformationRuleAction.Builder clearValue()
A string that specifies the desired value in string format to use for transformation.
string value = 4;public RestoreConfig.TransformationRuleAction.Builder setValueBytes(com.google.protobuf.ByteString value)
A string that specifies the desired value in string format to use for transformation.
string value = 4;value - The bytes for value to set.public final RestoreConfig.TransformationRuleAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>public final RestoreConfig.TransformationRuleAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>Copyright © 2023 Google LLC. All rights reserved.