Class StartSplitRequest.Builder (0.82.0)

public static final class StartSplitRequest.Builder extends GeneratedMessage.Builder<StartSplitRequest.Builder> implements StartSplitRequestOrBuilder

Request message for splitting a volume.

Protobuf type google.cloud.netapp.v1.StartSplitRequest

Static Methods

getDescriptor()

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

Methods

build()

public StartSplitRequest build()
Returns
Type Description
StartSplitRequest

buildPartial()

public StartSplitRequest buildPartial()
Returns
Type Description
StartSplitRequest

clear()

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

clearName()

public StartSplitRequest.Builder clearName()

Required. The full name of the clone volume to be split from its source. Format: projects/{project_number}/locations/{location}/volumes/{volume_id}

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

Returns
Type Description
StartSplitRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public StartSplitRequest getDefaultInstanceForType()
Returns
Type Description
StartSplitRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The full name of the clone volume to be split from its source. Format: projects/{project_number}/locations/{location}/volumes/{volume_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 full name of the clone volume to be split from its source. Format: projects/{project_number}/locations/{location}/volumes/{volume_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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StartSplitRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public StartSplitRequest.Builder setName(String value)

Required. The full name of the clone volume to be split from its source. Format: projects/{project_number}/locations/{location}/volumes/{volume_id}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
StartSplitRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public StartSplitRequest.Builder setNameBytes(ByteString value)

Required. The full name of the clone volume to be split from its source. Format: projects/{project_number}/locations/{location}/volumes/{volume_id}

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

This builder for chaining.