- 0.52.0 (latest)
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.6
- 0.1.0
public static final class RestoreConfig.TransformationRuleAction.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RestoreConfig.TransformationRuleAction.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreConfig.TransformationRuleAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public RestoreConfig.TransformationRuleAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreConfig.TransformationRuleAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
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. |
clone()
public RestoreConfig.TransformationRuleAction.Builder clone()
Returns | |
---|---|
Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreConfig.TransformationRuleAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreConfig.TransformationRuleAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
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 |
String The 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 |
ByteString The 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.Op The 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 |
int The 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 |
String The 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 |
ByteString The bytes for path to set. |
Returns | |
---|---|
Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreConfig.TransformationRuleAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreConfig.TransformationRuleAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
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 |
String The 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 |
ByteString The bytes for value to set. |
Returns | |
---|---|
Type | Description |
RestoreConfig.TransformationRuleAction.Builder |
This builder for chaining. |