Class FilestoreReference.Builder (0.5.0)

public static final class FilestoreReference.Builder extends GeneratedMessage.Builder<FilestoreReference.Builder> implements FilestoreReferenceOrBuilder

A reference to a Filestore instance.

Protobuf type google.cloud.hypercomputecluster.v1beta.FilestoreReference

Static Methods

getDescriptor()

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

Methods

build()

public FilestoreReference build()
Returns
Type Description
FilestoreReference

buildPartial()

public FilestoreReference buildPartial()
Returns
Type Description
FilestoreReference

clear()

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

clearFilestore()

public FilestoreReference.Builder clearFilestore()

Output only. Name of the Filestore instance, in the format projects/{project}/locations/{location}/instances/{instance}

string filestore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
FilestoreReference.Builder

This builder for chaining.

getDefaultInstanceForType()

public FilestoreReference getDefaultInstanceForType()
Returns
Type Description
FilestoreReference

getDescriptorForType()

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

getFilestore()

public String getFilestore()

Output only. Name of the Filestore instance, in the format projects/{project}/locations/{location}/instances/{instance}

string filestore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The filestore.

getFilestoreBytes()

public ByteString getFilestoreBytes()

Output only. Name of the Filestore instance, in the format projects/{project}/locations/{location}/instances/{instance}

string filestore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for filestore.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FilestoreReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFilestore(String value)

public FilestoreReference.Builder setFilestore(String value)

Output only. Name of the Filestore instance, in the format projects/{project}/locations/{location}/instances/{instance}

string filestore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The filestore to set.

Returns
Type Description
FilestoreReference.Builder

This builder for chaining.

setFilestoreBytes(ByteString value)

public FilestoreReference.Builder setFilestoreBytes(ByteString value)

Output only. Name of the Filestore instance, in the format projects/{project}/locations/{location}/instances/{instance}

string filestore = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for filestore to set.

Returns
Type Description
FilestoreReference.Builder

This builder for chaining.