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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TargetResource.BuilderImplements
TargetResourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TargetResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TargetResource.Builder |
build()
public TargetResource build()
Returns | |
---|---|
Type | Description |
TargetResource |
buildPartial()
public TargetResource buildPartial()
Returns | |
---|---|
Type | Description |
TargetResource |
clear()
public TargetResource.Builder clear()
Returns | |
---|---|
Type | Description |
TargetResource.Builder |
clearField(Descriptors.FieldDescriptor field)
public TargetResource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TargetResource.Builder |
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;
Returns | |
---|---|
Type | Description |
TargetResource.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TargetResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TargetResource.Builder |
clearTargetResourceInfo()
public TargetResource.Builder clearTargetResourceInfo()
Returns | |
---|---|
Type | Description |
TargetResource.Builder |
clone()
public TargetResource.Builder clone()
Returns | |
---|---|
Type | Description |
TargetResource.Builder |
getDefaultInstanceForType()
public TargetResource getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TargetResource |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGcpResource()
public GcpResource getGcpResource()
Details of the native Google Cloud resource created as part of restore.
.google.cloud.backupdr.v1.GcpResource gcp_resource = 1;
Returns | |
---|---|
Type | Description |
GcpResource |
The gcpResource. |
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;
Returns | |
---|---|
Type | Description |
GcpResource.Builder |
getGcpResourceOrBuilder()
public GcpResourceOrBuilder getGcpResourceOrBuilder()
Details of the native Google Cloud resource created as part of restore.
.google.cloud.backupdr.v1.GcpResource gcp_resource = 1;
Returns | |
---|---|
Type | Description |
GcpResourceOrBuilder |
getTargetResourceInfoCase()
public TargetResource.TargetResourceInfoCase getTargetResourceInfoCase()
Returns | |
---|---|
Type | Description |
TargetResource.TargetResourceInfoCase |
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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(TargetResource other)
public TargetResource.Builder mergeFrom(TargetResource other)
Parameter | |
---|---|
Name | Description |
other |
TargetResource |
Returns | |
---|---|
Type | Description |
TargetResource.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TargetResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TargetResource.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TargetResource.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TargetResource.Builder |
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;
Parameter | |
---|---|
Name | Description |
value |
GcpResource |
Returns | |
---|---|
Type | Description |
TargetResource.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TargetResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TargetResource.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TargetResource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TargetResource.Builder |
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;
Parameter | |
---|---|
Name | Description |
value |
GcpResource |
Returns | |
---|---|
Type | Description |
TargetResource.Builder |
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
GcpResource.Builder |
Returns | |
---|---|
Type | Description |
TargetResource.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TargetResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TargetResource.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TargetResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TargetResource.Builder |