public static final class GetBackupRequest.Builder extends GeneratedMessage.Builder<GetBackupRequest.Builder> implements GetBackupRequestOrBuilderRequest message for DataprocMetastore.GetBackup.
Protobuf type google.cloud.metastore.v1alpha.GetBackupRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetBackupRequest.BuilderImplements
GetBackupRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetBackupRequest build()| Returns | |
|---|---|
| Type | Description |
GetBackupRequest |
|
buildPartial()
public GetBackupRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetBackupRequest |
|
clear()
public GetBackupRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetBackupRequest.Builder |
|
clearName()
public GetBackupRequest.Builder clearName()Required. The relative resource name of the backup to retrieve, in the following form:
projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GetBackupRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetBackupRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetBackupRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The relative resource name of the backup to retrieve, in the following form:
projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The relative resource name of the backup to retrieve, in the following form:
projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetBackupRequest other)
public GetBackupRequest.Builder mergeFrom(GetBackupRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetBackupRequest |
| Returns | |
|---|---|
| Type | Description |
GetBackupRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetBackupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetBackupRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetBackupRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetBackupRequest.Builder |
|
setName(String value)
public GetBackupRequest.Builder setName(String value)Required. The relative resource name of the backup to retrieve, in the following form:
projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GetBackupRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetBackupRequest.Builder setNameBytes(ByteString value)Required. The relative resource name of the backup to retrieve, in the following form:
projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GetBackupRequest.Builder |
This builder for chaining. |