public static final class TargetResource.Builder extends GeneratedMessageV3.Builder<TargetResource.Builder> implements TargetResourceOrBuilder
Details of the target resource created/modified as part of restore.
Protobuf type google.cloud.backupdr.v1.TargetResource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TargetResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TargetResource build()
buildPartial()
public TargetResource buildPartial()
clear()
public TargetResource.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TargetResource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGcpResource()
public TargetResource.Builder clearGcpResource()
Details of the native Google Cloud resource created as part of restore.
.google.cloud.backupdr.v1.GcpResource gcp_resource = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public TargetResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTargetResourceInfo()
public TargetResource.Builder clearTargetResourceInfo()
clone()
public TargetResource.Builder clone()
Overrides
getDefaultInstanceForType()
public TargetResource getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGcpResource()
public GcpResource getGcpResource()
Details of the native Google Cloud resource created as part of restore.
.google.cloud.backupdr.v1.GcpResource gcp_resource = 1;
getGcpResourceBuilder()
public GcpResource.Builder getGcpResourceBuilder()
Details of the native Google Cloud resource created as part of restore.
.google.cloud.backupdr.v1.GcpResource gcp_resource = 1;
getGcpResourceOrBuilder()
public GcpResourceOrBuilder getGcpResourceOrBuilder()
Details of the native Google Cloud resource created as part of restore.
.google.cloud.backupdr.v1.GcpResource gcp_resource = 1;
getTargetResourceInfoCase()
public TargetResource.TargetResourceInfoCase getTargetResourceInfoCase()
hasGcpResource()
public boolean hasGcpResource()
Details of the native Google Cloud resource created as part of restore.
.google.cloud.backupdr.v1.GcpResource gcp_resource = 1;
Returns |
Type |
Description |
boolean |
Whether the gcpResource field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TargetResource other)
public TargetResource.Builder mergeFrom(TargetResource other)
public TargetResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TargetResource.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeGcpResource(GcpResource value)
public TargetResource.Builder mergeGcpResource(GcpResource value)
Details of the native Google Cloud resource created as part of restore.
.google.cloud.backupdr.v1.GcpResource gcp_resource = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TargetResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TargetResource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGcpResource(GcpResource value)
public TargetResource.Builder setGcpResource(GcpResource value)
Details of the native Google Cloud resource created as part of restore.
.google.cloud.backupdr.v1.GcpResource gcp_resource = 1;
setGcpResource(GcpResource.Builder builderForValue)
public TargetResource.Builder setGcpResource(GcpResource.Builder builderForValue)
Details of the native Google Cloud resource created as part of restore.
.google.cloud.backupdr.v1.GcpResource gcp_resource = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TargetResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TargetResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides