Package com.google.cloud.gkebackup.v1
Interface CreateRestoreChannelRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateRestoreChannelRequest,CreateRestoreChannelRequest.Builder
@Generated
public interface CreateRestoreChannelRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Optional.com.google.protobuf.ByteStringOptional.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. The location within which to create the RestoreChannel. Format: `projects/*/locations/*`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The location within which to create the RestoreChannel. Format: `projects/*/locations/*`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasRestoreChannel
boolean hasRestoreChannel()Required. The RestoreChannel resource object to create.
.google.cloud.gkebackup.v1.RestoreChannel restore_channel = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the restoreChannel field is set.
-
getRestoreChannel
RestoreChannel getRestoreChannel()Required. The RestoreChannel resource object to create.
.google.cloud.gkebackup.v1.RestoreChannel restore_channel = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The restoreChannel.
-
getRestoreChannelOrBuilder
RestoreChannelOrBuilder getRestoreChannelOrBuilder()Required. The RestoreChannel resource object to create.
.google.cloud.gkebackup.v1.RestoreChannel restore_channel = 2 [(.google.api.field_behavior) = REQUIRED]; -
getRestoreChannelId
String getRestoreChannelId()Optional. The client-provided short name for the RestoreChannel 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 RestoreChannels in this location If the user does not provide a name, a uuid will be used as the name.
string restore_channel_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The restoreChannelId.
-
getRestoreChannelIdBytes
com.google.protobuf.ByteString getRestoreChannelIdBytes()Optional. The client-provided short name for the RestoreChannel 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 RestoreChannels in this location If the user does not provide a name, a uuid will be used as the name.
string restore_channel_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for restoreChannelId.
-