public static final class CreateRestorePlanRequest.Builder extends GeneratedMessage.Builder<CreateRestorePlanRequest.Builder> implements CreateRestorePlanRequestOrBuilderRequest message for CreateRestorePlan.
Protobuf type google.cloud.gkebackup.v1.CreateRestorePlanRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateRestorePlanRequest.BuilderImplements
CreateRestorePlanRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateRestorePlanRequest build()| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest |
|
buildPartial()
public CreateRestorePlanRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest |
|
clear()
public CreateRestorePlanRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest.Builder |
|
clearParent()
public CreateRestorePlanRequest.Builder clearParent() Required. The location within which to create the RestorePlan.
Format: projects/*/locations/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest.Builder |
This builder for chaining. |
clearRestorePlan()
public CreateRestorePlanRequest.Builder clearRestorePlan()Required. The RestorePlan resource object to create.
.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest.Builder |
|
clearRestorePlanId()
public CreateRestorePlanRequest.Builder clearRestorePlanId()Required. The client-provided short name for the RestorePlan resource. This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of RestorePlans in this location
string restore_plan_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateRestorePlanRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The location within which to create the RestorePlan.
Format: projects/*/locations/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The location within which to create the RestorePlan.
Format: projects/*/locations/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getRestorePlan()
public RestorePlan getRestorePlan()Required. The RestorePlan resource object to create.
.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RestorePlan |
The restorePlan. |
getRestorePlanBuilder()
public RestorePlan.Builder getRestorePlanBuilder()Required. The RestorePlan resource object to create.
.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RestorePlan.Builder |
|
getRestorePlanId()
public String getRestorePlanId()Required. The client-provided short name for the RestorePlan resource. This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of RestorePlans in this location
string restore_plan_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The restorePlanId. |
getRestorePlanIdBytes()
public ByteString getRestorePlanIdBytes()Required. The client-provided short name for the RestorePlan resource. This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of RestorePlans in this location
string restore_plan_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for restorePlanId. |
getRestorePlanOrBuilder()
public RestorePlanOrBuilder getRestorePlanOrBuilder()Required. The RestorePlan resource object to create.
.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RestorePlanOrBuilder |
|
hasRestorePlan()
public boolean hasRestorePlan()Required. The RestorePlan resource object to create.
.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the restorePlan field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateRestorePlanRequest other)
public CreateRestorePlanRequest.Builder mergeFrom(CreateRestorePlanRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateRestorePlanRequest |
| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateRestorePlanRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateRestorePlanRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest.Builder |
|
mergeRestorePlan(RestorePlan value)
public CreateRestorePlanRequest.Builder mergeRestorePlan(RestorePlan value)Required. The RestorePlan resource object to create.
.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
RestorePlan |
| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest.Builder |
|
setParent(String value)
public CreateRestorePlanRequest.Builder setParent(String value) Required. The location within which to create the RestorePlan.
Format: projects/*/locations/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateRestorePlanRequest.Builder setParentBytes(ByteString value) Required. The location within which to create the RestorePlan.
Format: projects/*/locations/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest.Builder |
This builder for chaining. |
setRestorePlan(RestorePlan value)
public CreateRestorePlanRequest.Builder setRestorePlan(RestorePlan value)Required. The RestorePlan resource object to create.
.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
RestorePlan |
| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest.Builder |
|
setRestorePlan(RestorePlan.Builder builderForValue)
public CreateRestorePlanRequest.Builder setRestorePlan(RestorePlan.Builder builderForValue)Required. The RestorePlan resource object to create.
.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RestorePlan.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest.Builder |
|
setRestorePlanId(String value)
public CreateRestorePlanRequest.Builder setRestorePlanId(String value)Required. The client-provided short name for the RestorePlan resource. This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of RestorePlans in this location
string restore_plan_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe restorePlanId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest.Builder |
This builder for chaining. |
setRestorePlanIdBytes(ByteString value)
public CreateRestorePlanRequest.Builder setRestorePlanIdBytes(ByteString value)Required. The client-provided short name for the RestorePlan resource. This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of RestorePlans in this location
string restore_plan_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for restorePlanId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateRestorePlanRequest.Builder |
This builder for chaining. |