public static final class VerificationConfig.Builder extends GeneratedMessage.Builder<VerificationConfig.Builder> implements VerificationConfigOrBuilderConfiguration for Verification.
Protobuf type google.cloud.backupdr.v1beta.VerificationConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VerificationConfig.BuilderImplements
VerificationConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public VerificationConfig build()| Returns | |
|---|---|
| Type | Description |
VerificationConfig |
|
buildPartial()
public VerificationConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
VerificationConfig |
|
clear()
public VerificationConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
VerificationConfig.Builder |
|
clearCloudRunJob()
public VerificationConfig.Builder clearCloudRunJob() Cloud Run job action to execute.
Format: projects/{project}/locations/{location}/jobs/{job}
string cloud_run_job = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
VerificationConfig.Builder |
This builder for chaining. |
clearTimeout()
public VerificationConfig.Builder clearTimeout()Optional. The timeout for this phase. If set, the timeout must be positive and less than or equal to 24 hours (86400s).
.google.protobuf.Duration timeout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VerificationConfig.Builder |
|
clearVerificationAction()
public VerificationConfig.Builder clearVerificationAction()| Returns | |
|---|---|
| Type | Description |
VerificationConfig.Builder |
|
getCloudRunJob()
public String getCloudRunJob() Cloud Run job action to execute.
Format: projects/{project}/locations/{location}/jobs/{job}
string cloud_run_job = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The cloudRunJob. |
getCloudRunJobBytes()
public ByteString getCloudRunJobBytes() Cloud Run job action to execute.
Format: projects/{project}/locations/{location}/jobs/{job}
string cloud_run_job = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for cloudRunJob. |
getDefaultInstanceForType()
public VerificationConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VerificationConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTimeout()
public Duration getTimeout()Optional. The timeout for this phase. If set, the timeout must be positive and less than or equal to 24 hours (86400s).
.google.protobuf.Duration timeout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Duration |
The timeout. |
getTimeoutBuilder()
public Duration.Builder getTimeoutBuilder()Optional. The timeout for this phase. If set, the timeout must be positive and less than or equal to 24 hours (86400s).
.google.protobuf.Duration timeout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getTimeoutOrBuilder()
public DurationOrBuilder getTimeoutOrBuilder()Optional. The timeout for this phase. If set, the timeout must be positive and less than or equal to 24 hours (86400s).
.google.protobuf.Duration timeout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getVerificationActionCase()
public VerificationConfig.VerificationActionCase getVerificationActionCase()| Returns | |
|---|---|
| Type | Description |
VerificationConfig.VerificationActionCase |
|
hasCloudRunJob()
public boolean hasCloudRunJob() Cloud Run job action to execute.
Format: projects/{project}/locations/{location}/jobs/{job}
string cloud_run_job = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the cloudRunJob field is set. |
hasTimeout()
public boolean hasTimeout()Optional. The timeout for this phase. If set, the timeout must be positive and less than or equal to 24 hours (86400s).
.google.protobuf.Duration timeout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the timeout field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(VerificationConfig other)
public VerificationConfig.Builder mergeFrom(VerificationConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
VerificationConfig |
| Returns | |
|---|---|
| Type | Description |
VerificationConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VerificationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VerificationConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VerificationConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VerificationConfig.Builder |
|
mergeTimeout(Duration value)
public VerificationConfig.Builder mergeTimeout(Duration value)Optional. The timeout for this phase. If set, the timeout must be positive and less than or equal to 24 hours (86400s).
.google.protobuf.Duration timeout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
VerificationConfig.Builder |
|
setCloudRunJob(String value)
public VerificationConfig.Builder setCloudRunJob(String value) Cloud Run job action to execute.
Format: projects/{project}/locations/{location}/jobs/{job}
string cloud_run_job = 2 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe cloudRunJob to set. |
| Returns | |
|---|---|
| Type | Description |
VerificationConfig.Builder |
This builder for chaining. |
setCloudRunJobBytes(ByteString value)
public VerificationConfig.Builder setCloudRunJobBytes(ByteString value) Cloud Run job action to execute.
Format: projects/{project}/locations/{location}/jobs/{job}
string cloud_run_job = 2 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for cloudRunJob to set. |
| Returns | |
|---|---|
| Type | Description |
VerificationConfig.Builder |
This builder for chaining. |
setTimeout(Duration value)
public VerificationConfig.Builder setTimeout(Duration value)Optional. The timeout for this phase. If set, the timeout must be positive and less than or equal to 24 hours (86400s).
.google.protobuf.Duration timeout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
VerificationConfig.Builder |
|
setTimeout(Duration.Builder builderForValue)
public VerificationConfig.Builder setTimeout(Duration.Builder builderForValue)Optional. The timeout for this phase. If set, the timeout must be positive and less than or equal to 24 hours (86400s).
.google.protobuf.Duration timeout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
VerificationConfig.Builder |
|