public static final class CreateBackupChannelRequest.Builder extends GeneratedMessage.Builder<CreateBackupChannelRequest.Builder> implements CreateBackupChannelRequestOrBuilderRequest message for CreateBackupChannel.
Protobuf type google.cloud.gkebackup.v1.CreateBackupChannelRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateBackupChannelRequest.BuilderImplements
CreateBackupChannelRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateBackupChannelRequest build()| Returns | |
|---|---|
| Type | Description |
CreateBackupChannelRequest |
|
buildPartial()
public CreateBackupChannelRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateBackupChannelRequest |
|
clear()
public CreateBackupChannelRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateBackupChannelRequest.Builder |
|
clearBackupChannel()
public CreateBackupChannelRequest.Builder clearBackupChannel()Required. The BackupChannel resource object to create.
.google.cloud.gkebackup.v1.BackupChannel backup_channel = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateBackupChannelRequest.Builder |
|
clearBackupChannelId()
public CreateBackupChannelRequest.Builder clearBackupChannelId()Optional. The client-provided short name for the BackupChannel 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 BackupChannels in this location If the user does not provide a name, a uuid will be used as the name.
string backup_channel_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateBackupChannelRequest.Builder |
This builder for chaining. |
clearParent()
public CreateBackupChannelRequest.Builder clearParent() Required. The location within which to create the BackupChannel.
Format: projects/*/locations/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateBackupChannelRequest.Builder |
This builder for chaining. |
getBackupChannel()
public BackupChannel getBackupChannel()Required. The BackupChannel resource object to create.
.google.cloud.gkebackup.v1.BackupChannel backup_channel = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BackupChannel |
The backupChannel. |
getBackupChannelBuilder()
public BackupChannel.Builder getBackupChannelBuilder()Required. The BackupChannel resource object to create.
.google.cloud.gkebackup.v1.BackupChannel backup_channel = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BackupChannel.Builder |
|
getBackupChannelId()
public String getBackupChannelId()Optional. The client-provided short name for the BackupChannel 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 BackupChannels in this location If the user does not provide a name, a uuid will be used as the name.
string backup_channel_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The backupChannelId. |
getBackupChannelIdBytes()
public ByteString getBackupChannelIdBytes()Optional. The client-provided short name for the BackupChannel 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 BackupChannels in this location If the user does not provide a name, a uuid will be used as the name.
string backup_channel_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for backupChannelId. |
getBackupChannelOrBuilder()
public BackupChannelOrBuilder getBackupChannelOrBuilder()Required. The BackupChannel resource object to create.
.google.cloud.gkebackup.v1.BackupChannel backup_channel = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BackupChannelOrBuilder |
|
getDefaultInstanceForType()
public CreateBackupChannelRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateBackupChannelRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The location within which to create the BackupChannel.
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 BackupChannel.
Format: projects/*/locations/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasBackupChannel()
public boolean hasBackupChannel()Required. The BackupChannel resource object to create.
.google.cloud.gkebackup.v1.BackupChannel backup_channel = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the backupChannel field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBackupChannel(BackupChannel value)
public CreateBackupChannelRequest.Builder mergeBackupChannel(BackupChannel value)Required. The BackupChannel resource object to create.
.google.cloud.gkebackup.v1.BackupChannel backup_channel = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
BackupChannel |
| Returns | |
|---|---|
| Type | Description |
CreateBackupChannelRequest.Builder |
|
mergeFrom(CreateBackupChannelRequest other)
public CreateBackupChannelRequest.Builder mergeFrom(CreateBackupChannelRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateBackupChannelRequest |
| Returns | |
|---|---|
| Type | Description |
CreateBackupChannelRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateBackupChannelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateBackupChannelRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateBackupChannelRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateBackupChannelRequest.Builder |
|
setBackupChannel(BackupChannel value)
public CreateBackupChannelRequest.Builder setBackupChannel(BackupChannel value)Required. The BackupChannel resource object to create.
.google.cloud.gkebackup.v1.BackupChannel backup_channel = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
BackupChannel |
| Returns | |
|---|---|
| Type | Description |
CreateBackupChannelRequest.Builder |
|
setBackupChannel(BackupChannel.Builder builderForValue)
public CreateBackupChannelRequest.Builder setBackupChannel(BackupChannel.Builder builderForValue)Required. The BackupChannel resource object to create.
.google.cloud.gkebackup.v1.BackupChannel backup_channel = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BackupChannel.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateBackupChannelRequest.Builder |
|
setBackupChannelId(String value)
public CreateBackupChannelRequest.Builder setBackupChannelId(String value)Optional. The client-provided short name for the BackupChannel 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 BackupChannels in this location If the user does not provide a name, a uuid will be used as the name.
string backup_channel_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe backupChannelId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateBackupChannelRequest.Builder |
This builder for chaining. |
setBackupChannelIdBytes(ByteString value)
public CreateBackupChannelRequest.Builder setBackupChannelIdBytes(ByteString value)Optional. The client-provided short name for the BackupChannel 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 BackupChannels in this location If the user does not provide a name, a uuid will be used as the name.
string backup_channel_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for backupChannelId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateBackupChannelRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateBackupChannelRequest.Builder setParent(String value) Required. The location within which to create the BackupChannel.
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 |
CreateBackupChannelRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateBackupChannelRequest.Builder setParentBytes(ByteString value) Required. The location within which to create the BackupChannel.
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 |
CreateBackupChannelRequest.Builder |
This builder for chaining. |