Class GetBackupPlanRequest.Builder (0.28.0)

public static final class GetBackupPlanRequest.Builder extends GeneratedMessageV3.Builder<GetBackupPlanRequest.Builder> implements GetBackupPlanRequestOrBuilder

Request message for GetBackupPlan.

Protobuf type google.cloud.gkebackup.v1.GetBackupPlanRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetBackupPlanRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetBackupPlanRequest.Builder
Overrides

build()

public GetBackupPlanRequest build()
Returns
TypeDescription
GetBackupPlanRequest

buildPartial()

public GetBackupPlanRequest buildPartial()
Returns
TypeDescription
GetBackupPlanRequest

clear()

public GetBackupPlanRequest.Builder clear()
Returns
TypeDescription
GetBackupPlanRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetBackupPlanRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetBackupPlanRequest.Builder
Overrides

clearName()

public GetBackupPlanRequest.Builder clearName()

Required. Fully qualified BackupPlan name. Format: projects/*/locations/*/backupPlans/*

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

Returns
TypeDescription
GetBackupPlanRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetBackupPlanRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetBackupPlanRequest.Builder
Overrides

clone()

public GetBackupPlanRequest.Builder clone()
Returns
TypeDescription
GetBackupPlanRequest.Builder
Overrides

getDefaultInstanceForType()

public GetBackupPlanRequest getDefaultInstanceForType()
Returns
TypeDescription
GetBackupPlanRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Fully qualified BackupPlan name. Format: projects/*/locations/*/backupPlans/*

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Fully qualified BackupPlan name. Format: projects/*/locations/*/backupPlans/*

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetBackupPlanRequest other)

public GetBackupPlanRequest.Builder mergeFrom(GetBackupPlanRequest other)
Parameter
NameDescription
otherGetBackupPlanRequest
Returns
TypeDescription
GetBackupPlanRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetBackupPlanRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetBackupPlanRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetBackupPlanRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetBackupPlanRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetBackupPlanRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetBackupPlanRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetBackupPlanRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetBackupPlanRequest.Builder
Overrides

setName(String value)

public GetBackupPlanRequest.Builder setName(String value)

Required. Fully qualified BackupPlan name. Format: projects/*/locations/*/backupPlans/*

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetBackupPlanRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetBackupPlanRequest.Builder setNameBytes(ByteString value)

Required. Fully qualified BackupPlan name. Format: projects/*/locations/*/backupPlans/*

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetBackupPlanRequest.Builder

This builder for chaining.

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

public GetBackupPlanRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetBackupPlanRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetBackupPlanRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetBackupPlanRequest.Builder
Overrides