public static final class CreateRestorePlanRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateRestorePlanRequest.Builder> implements CreateRestorePlanRequestOrBuilder
Request message for CreateRestorePlan.Protobuf type
google.cloud.gkebackup.v1.CreateRestorePlanRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRestorePlanRequest.Builder>public CreateRestorePlanRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRestorePlanRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRestorePlanRequest.Builder>public CreateRestorePlanRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateRestorePlanRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateRestorePlanRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateRestorePlanRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRestorePlanRequest.Builder>public CreateRestorePlanRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRestorePlanRequest.Builder>public CreateRestorePlanRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRestorePlanRequest.Builder>public CreateRestorePlanRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRestorePlanRequest.Builder>public CreateRestorePlanRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRestorePlanRequest.Builder>public CreateRestorePlanRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRestorePlanRequest.Builder>public CreateRestorePlanRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateRestorePlanRequest.Builder>public CreateRestorePlanRequest.Builder mergeFrom(CreateRestorePlanRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRestorePlanRequest.Builder>public CreateRestorePlanRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateRestorePlanRequest.Builder>IOExceptionpublic 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) = { ... }
getParent in interface CreateRestorePlanRequestOrBuilderpublic com.google.protobuf.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) = { ... }
getParentBytes in interface CreateRestorePlanRequestOrBuilderpublic 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) = { ... }
value - The parent to set.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) = { ... }
public CreateRestorePlanRequest.Builder setParentBytes(com.google.protobuf.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) = { ... }
value - The bytes for parent to set.public boolean hasRestorePlan()
Required. The RestorePlan resource object to create.
.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];
hasRestorePlan in interface CreateRestorePlanRequestOrBuilderpublic RestorePlan getRestorePlan()
Required. The RestorePlan resource object to create.
.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];
getRestorePlan in interface CreateRestorePlanRequestOrBuilderpublic 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];
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];
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];
public CreateRestorePlanRequest.Builder clearRestorePlan()
Required. The RestorePlan resource object to create.
.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];
public RestorePlan.Builder getRestorePlanBuilder()
Required. The RestorePlan resource object to create.
.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];
public RestorePlanOrBuilder getRestorePlanOrBuilder()
Required. The RestorePlan resource object to create.
.google.cloud.gkebackup.v1.RestorePlan restore_plan = 2 [(.google.api.field_behavior) = REQUIRED];
getRestorePlanOrBuilder in interface CreateRestorePlanRequestOrBuilderpublic 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];getRestorePlanId in interface CreateRestorePlanRequestOrBuilderpublic com.google.protobuf.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];getRestorePlanIdBytes in interface CreateRestorePlanRequestOrBuilderpublic 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];value - The restorePlanId to set.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];public CreateRestorePlanRequest.Builder setRestorePlanIdBytes(com.google.protobuf.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];value - The bytes for restorePlanId to set.public final CreateRestorePlanRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRestorePlanRequest.Builder>public final CreateRestorePlanRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRestorePlanRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.