Class GetNfsShareRequest.Builder (0.54.0)

public static final class GetNfsShareRequest.Builder extends GeneratedMessageV3.Builder<GetNfsShareRequest.Builder> implements GetNfsShareRequestOrBuilder

Message for requesting NFS share information.

Protobuf type google.cloud.baremetalsolution.v2.GetNfsShareRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetNfsShareRequest build()
Returns
Type Description
GetNfsShareRequest

buildPartial()

public GetNfsShareRequest buildPartial()
Returns
Type Description
GetNfsShareRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetNfsShareRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetNfsShareRequest.Builder
Overrides

clearName()

public GetNfsShareRequest.Builder clearName()

Required. Name of the resource.

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

Returns
Type Description
GetNfsShareRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetNfsShareRequest getDefaultInstanceForType()
Returns
Type Description
GetNfsShareRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Name of the resource.

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetNfsShareRequest.Builder setName(String value)

Required. Name of the resource.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetNfsShareRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetNfsShareRequest.Builder setNameBytes(ByteString value)

Required. Name of the resource.

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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