public static final class CreateRestorePlanRequest.Builder extends GeneratedMessageV3.Builder<CreateRestorePlanRequest.Builder> implements CreateRestorePlanRequestOrBuilder
Request message for CreateRestorePlan.
Protobuf type google.cloud.gkebackup.v1.CreateRestorePlanRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 CreateRestorePlanRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateRestorePlanRequest build()
buildPartial()
public CreateRestorePlanRequest buildPartial()
clear()
public CreateRestorePlanRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateRestorePlanRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateRestorePlanRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
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];
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];
clone()
public CreateRestorePlanRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateRestorePlanRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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];
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];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateRestorePlanRequest other)
public CreateRestorePlanRequest.Builder mergeFrom(CreateRestorePlanRequest other)
public CreateRestorePlanRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateRestorePlanRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateRestorePlanRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateRestorePlanRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 | String
The parent to set.
|
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 | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateRestorePlanRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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];
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];
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 | String
The restorePlanId to set.
|
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 | ByteString
The bytes for restorePlanId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateRestorePlanRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides