Class GetBackupPlanAssociationRequest.Builder (0.13.0)

public static final class GetBackupPlanAssociationRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetBackupPlanAssociationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetBackupPlanAssociationRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public GetBackupPlanAssociationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetBackupPlanAssociationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetBackupPlanAssociationRequest.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetBackupPlanAssociationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetBackupPlanAssociationRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetBackupPlanAssociationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetBackupPlanAssociationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetBackupPlanAssociationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetBackupPlanAssociationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetBackupPlanAssociationRequest.Builder
Overrides