Package com.google.cloud.gkebackup.v1
Class RestoreConfig.TransformationRuleAction.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>
-
- com.google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.Builder
-
- All Implemented Interfaces:
RestoreConfig.TransformationRuleActionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RestoreConfig.TransformationRuleAction
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 typegoogle.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RestoreConfig.TransformationRuleAction.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RestoreConfig.TransformationRuleActionbuild()RestoreConfig.TransformationRuleActionbuildPartial()RestoreConfig.TransformationRuleAction.Builderclear()RestoreConfig.TransformationRuleAction.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RestoreConfig.TransformationRuleAction.BuilderclearFromPath()A string containing a JSON Pointer value that references the location in the target document to move the value from.RestoreConfig.TransformationRuleAction.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RestoreConfig.TransformationRuleAction.BuilderclearOp()Required.RestoreConfig.TransformationRuleAction.BuilderclearPath()A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.RestoreConfig.TransformationRuleAction.BuilderclearValue()A string that specifies the desired value in string format to use for transformation.RestoreConfig.TransformationRuleAction.Builderclone()RestoreConfig.TransformationRuleActiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFromPath()A string containing a JSON Pointer value that references the location in the target document to move the value from.com.google.protobuf.ByteStringgetFromPathBytes()A string containing a JSON Pointer value that references the location in the target document to move the value from.RestoreConfig.TransformationRuleAction.OpgetOp()Required.intgetOpValue()Required.StringgetPath()A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.com.google.protobuf.ByteStringgetPathBytes()A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.StringgetValue()A string that specifies the desired value in string format to use for transformation.com.google.protobuf.ByteStringgetValueBytes()A string that specifies the desired value in string format to use for transformation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RestoreConfig.TransformationRuleAction.BuildermergeFrom(RestoreConfig.TransformationRuleAction other)RestoreConfig.TransformationRuleAction.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RestoreConfig.TransformationRuleAction.BuildermergeFrom(com.google.protobuf.Message other)RestoreConfig.TransformationRuleAction.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RestoreConfig.TransformationRuleAction.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RestoreConfig.TransformationRuleAction.BuildersetFromPath(String value)A string containing a JSON Pointer value that references the location in the target document to move the value from.RestoreConfig.TransformationRuleAction.BuildersetFromPathBytes(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.BuildersetOp(RestoreConfig.TransformationRuleAction.Op value)Required.RestoreConfig.TransformationRuleAction.BuildersetOpValue(int value)Required.RestoreConfig.TransformationRuleAction.BuildersetPath(String value)A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.RestoreConfig.TransformationRuleAction.BuildersetPathBytes(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.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RestoreConfig.TransformationRuleAction.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RestoreConfig.TransformationRuleAction.BuildersetValue(String value)A string that specifies the desired value in string format to use for transformation.RestoreConfig.TransformationRuleAction.BuildersetValueBytes(com.google.protobuf.ByteString value)A string that specifies the desired value in string format to use for transformation.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>
-
clear
public RestoreConfig.TransformationRuleAction.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>
-
getDefaultInstanceForType
public RestoreConfig.TransformationRuleAction getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RestoreConfig.TransformationRuleAction build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RestoreConfig.TransformationRuleAction buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RestoreConfig.TransformationRuleAction.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>
-
setField
public RestoreConfig.TransformationRuleAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>
-
clearField
public RestoreConfig.TransformationRuleAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>
-
clearOneof
public RestoreConfig.TransformationRuleAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>
-
setRepeatedField
public RestoreConfig.TransformationRuleAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>
-
addRepeatedField
public RestoreConfig.TransformationRuleAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>
-
mergeFrom
public RestoreConfig.TransformationRuleAction.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RestoreConfig.TransformationRuleAction.Builder>
-
mergeFrom
public RestoreConfig.TransformationRuleAction.Builder mergeFrom(RestoreConfig.TransformationRuleAction other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>
-
mergeFrom
public RestoreConfig.TransformationRuleAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RestoreConfig.TransformationRuleAction.Builder>- Throws:
IOException
-
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];- Specified by:
getOpValuein interfaceRestoreConfig.TransformationRuleActionOrBuilder- Returns:
- The enum numeric value on the wire for op.
-
setOpValue
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];- Parameters:
value- The enum numeric value on the wire for op to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getOpin interfaceRestoreConfig.TransformationRuleActionOrBuilder- Returns:
- The op.
-
setOp
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];- Parameters:
value- The op to set.- Returns:
- 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:
- This builder for chaining.
-
getFromPath
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;- Specified by:
getFromPathin interfaceRestoreConfig.TransformationRuleActionOrBuilder- Returns:
- The fromPath.
-
getFromPathBytes
public 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;- Specified by:
getFromPathBytesin interfaceRestoreConfig.TransformationRuleActionOrBuilder- Returns:
- The bytes for fromPath.
-
setFromPath
public 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;- Parameters:
value- The fromPath to set.- Returns:
- This builder for chaining.
-
clearFromPath
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;- Returns:
- This builder for chaining.
-
setFromPathBytes
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;- Parameters:
value- The bytes for fromPath to set.- Returns:
- This builder for chaining.
-
getPath
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;- Specified by:
getPathin interfaceRestoreConfig.TransformationRuleActionOrBuilder- Returns:
- The path.
-
getPathBytes
public 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;- Specified by:
getPathBytesin interfaceRestoreConfig.TransformationRuleActionOrBuilder- Returns:
- The bytes for path.
-
setPath
public 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;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
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;- Returns:
- This builder for chaining.
-
setPathBytes
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;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
getValue
public String getValue()
A string that specifies the desired value in string format to use for transformation.
string value = 4;- Specified by:
getValuein interfaceRestoreConfig.TransformationRuleActionOrBuilder- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()
A string that specifies the desired value in string format to use for transformation.
string value = 4;- Specified by:
getValueBytesin interfaceRestoreConfig.TransformationRuleActionOrBuilder- Returns:
- The bytes for value.
-
setValue
public RestoreConfig.TransformationRuleAction.Builder setValue(String value)
A string that specifies the desired value in string format to use for transformation.
string value = 4;- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public RestoreConfig.TransformationRuleAction.Builder clearValue()
A string that specifies the desired value in string format to use for transformation.
string value = 4;- Returns:
- This builder for chaining.
-
setValueBytes
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;- Parameters:
value- The bytes for value to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RestoreConfig.TransformationRuleAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>
-
mergeUnknownFields
public final RestoreConfig.TransformationRuleAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRuleAction.Builder>
-
-