Class GetRestoreChannelRequest.Builder (0.86.0)

public static final class GetRestoreChannelRequest.Builder extends GeneratedMessage.Builder<GetRestoreChannelRequest.Builder> implements GetRestoreChannelRequestOrBuilder

Request message for GetRestoreChannel.

Protobuf type google.cloud.gkebackup.v1.GetRestoreChannelRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetRestoreChannelRequest build()
Returns
Type Description
GetRestoreChannelRequest

buildPartial()

public GetRestoreChannelRequest buildPartial()
Returns
Type Description
GetRestoreChannelRequest

clear()

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

clearName()

public GetRestoreChannelRequest.Builder clearName()

Required. Fully qualified RestoreChannel name. Format: projects/*/locations/*/restoreChannels/*

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

Returns
Type Description
GetRestoreChannelRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetRestoreChannelRequest getDefaultInstanceForType()
Returns
Type Description
GetRestoreChannelRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Fully qualified RestoreChannel name. Format: projects/*/locations/*/restoreChannels/*

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Fully qualified RestoreChannel name. Format: projects/*/locations/*/restoreChannels/*

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(GetRestoreChannelRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetRestoreChannelRequest.Builder setName(String value)

Required. Fully qualified RestoreChannel name. Format: projects/*/locations/*/restoreChannels/*

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetRestoreChannelRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetRestoreChannelRequest.Builder setNameBytes(ByteString value)

Required. Fully qualified RestoreChannel name. Format: projects/*/locations/*/restoreChannels/*

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
GetRestoreChannelRequest.Builder

This builder for chaining.