Class GetBackupPlanAssociationRequest.Builder (0.42.0)

public static final class GetBackupPlanAssociationRequest.Builder extends GeneratedMessage.Builder<GetBackupPlanAssociationRequest.Builder> implements GetBackupPlanAssociationRequestOrBuilder

Request message for getting a BackupPlanAssociation resource.

Protobuf type google.cloud.backupdr.v1.GetBackupPlanAssociationRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public GetBackupPlanAssociationRequest build()
Returns
Type Description
GetBackupPlanAssociationRequest

buildPartial()

public GetBackupPlanAssociationRequest buildPartial()
Returns
Type Description
GetBackupPlanAssociationRequest

clear()

public GetBackupPlanAssociationRequest.Builder clear()
Returns
Type Description
GetBackupPlanAssociationRequest.Builder
Overrides

clearName()

public GetBackupPlanAssociationRequest.Builder clearName()

Required. Name of the backup plan association resource, in the format projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetBackupPlanAssociationRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetBackupPlanAssociationRequest getDefaultInstanceForType()
Returns
Type Description
GetBackupPlanAssociationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. Name of the backup plan association resource, in the format projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the backup plan association resource, in the format projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetBackupPlanAssociationRequest other)

public GetBackupPlanAssociationRequest.Builder mergeFrom(GetBackupPlanAssociationRequest other)
Parameter
Name Description
other GetBackupPlanAssociationRequest
Returns
Type Description
GetBackupPlanAssociationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetBackupPlanAssociationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetBackupPlanAssociationRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetBackupPlanAssociationRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetBackupPlanAssociationRequest.Builder
Overrides

setName(String value)

public GetBackupPlanAssociationRequest.Builder setName(String value)

Required. Name of the backup plan association resource, in the format projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetBackupPlanAssociationRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetBackupPlanAssociationRequest.Builder setNameBytes(ByteString value)

Required. Name of the backup plan association resource, in the format projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetBackupPlanAssociationRequest.Builder

This builder for chaining.