Class GetNfsShareRequest.Builder (0.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetNfsShareRequest build()
Returns
TypeDescription
GetNfsShareRequest

buildPartial()

public GetNfsShareRequest buildPartial()
Returns
TypeDescription
GetNfsShareRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetNfsShareRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetNfsShareRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetNfsShareRequest getDefaultInstanceForType()
Returns
TypeDescription
GetNfsShareRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the resource.

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

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

public GetNfsShareRequest.Builder mergeFrom(GetNfsShareRequest other)
Parameter
NameDescription
otherGetNfsShareRequest
Returns
TypeDescription
GetNfsShareRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GetNfsShareRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetNfsShareRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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