Class ListNfsSharesResponse.Builder (0.54.0)

public static final class ListNfsSharesResponse.Builder extends GeneratedMessageV3.Builder<ListNfsSharesResponse.Builder> implements ListNfsSharesResponseOrBuilder

Response message containing the list of NFS shares.

Protobuf type google.cloud.baremetalsolution.v2.ListNfsSharesResponse

Static Methods

getDescriptor()

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

Methods

addAllNfsShares(Iterable<? extends NfsShare> values)

public ListNfsSharesResponse.Builder addAllNfsShares(Iterable<? extends NfsShare> values)

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.baremetalsolution.v2.NfsShare>
Returns
Type Description
ListNfsSharesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListNfsSharesResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListNfsSharesResponse.Builder

This builder for chaining.

addNfsShares(NfsShare value)

public ListNfsSharesResponse.Builder addNfsShares(NfsShare value)

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Parameter
Name Description
value NfsShare
Returns
Type Description
ListNfsSharesResponse.Builder

addNfsShares(NfsShare.Builder builderForValue)

public ListNfsSharesResponse.Builder addNfsShares(NfsShare.Builder builderForValue)

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Parameter
Name Description
builderForValue NfsShare.Builder
Returns
Type Description
ListNfsSharesResponse.Builder

addNfsShares(int index, NfsShare value)

public ListNfsSharesResponse.Builder addNfsShares(int index, NfsShare value)

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Parameters
Name Description
index int
value NfsShare
Returns
Type Description
ListNfsSharesResponse.Builder

addNfsShares(int index, NfsShare.Builder builderForValue)

public ListNfsSharesResponse.Builder addNfsShares(int index, NfsShare.Builder builderForValue)

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Parameters
Name Description
index int
builderForValue NfsShare.Builder
Returns
Type Description
ListNfsSharesResponse.Builder

addNfsSharesBuilder()

public NfsShare.Builder addNfsSharesBuilder()

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Returns
Type Description
NfsShare.Builder

addNfsSharesBuilder(int index)

public NfsShare.Builder addNfsSharesBuilder(int index)

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Parameter
Name Description
index int
Returns
Type Description
NfsShare.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListNfsSharesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListNfsSharesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListNfsSharesResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListNfsSharesResponse.Builder

This builder for chaining.

build()

public ListNfsSharesResponse build()
Returns
Type Description
ListNfsSharesResponse

buildPartial()

public ListNfsSharesResponse buildPartial()
Returns
Type Description
ListNfsSharesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListNfsSharesResponse.Builder clearNextPageToken()

A token identifying a page of results from the server.

string next_page_token = 2;

Returns
Type Description
ListNfsSharesResponse.Builder

This builder for chaining.

clearNfsShares()

public ListNfsSharesResponse.Builder clearNfsShares()

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Returns
Type Description
ListNfsSharesResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListNfsSharesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListNfsSharesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListNfsSharesResponse getDefaultInstanceForType()
Returns
Type Description
ListNfsSharesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results from the server.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results from the server.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getNfsShares(int index)

public NfsShare getNfsShares(int index)

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Parameter
Name Description
index int
Returns
Type Description
NfsShare

getNfsSharesBuilder(int index)

public NfsShare.Builder getNfsSharesBuilder(int index)

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Parameter
Name Description
index int
Returns
Type Description
NfsShare.Builder

getNfsSharesBuilderList()

public List<NfsShare.Builder> getNfsSharesBuilderList()

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Returns
Type Description
List<Builder>

getNfsSharesCount()

public int getNfsSharesCount()

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Returns
Type Description
int

getNfsSharesList()

public List<NfsShare> getNfsSharesList()

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Returns
Type Description
List<NfsShare>

getNfsSharesOrBuilder(int index)

public NfsShareOrBuilder getNfsSharesOrBuilder(int index)

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Parameter
Name Description
index int
Returns
Type Description
NfsShareOrBuilder

getNfsSharesOrBuilderList()

public List<? extends NfsShareOrBuilder> getNfsSharesOrBuilderList()

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Returns
Type Description
List<? extends com.google.cloud.baremetalsolution.v2.NfsShareOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListNfsSharesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNfsShares(int index)

public ListNfsSharesResponse.Builder removeNfsShares(int index)

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Parameter
Name Description
index int
Returns
Type Description
ListNfsSharesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListNfsSharesResponse.Builder setNextPageToken(String value)

A token identifying a page of results from the server.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListNfsSharesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListNfsSharesResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results from the server.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListNfsSharesResponse.Builder

This builder for chaining.

setNfsShares(int index, NfsShare value)

public ListNfsSharesResponse.Builder setNfsShares(int index, NfsShare value)

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Parameters
Name Description
index int
value NfsShare
Returns
Type Description
ListNfsSharesResponse.Builder

setNfsShares(int index, NfsShare.Builder builderForValue)

public ListNfsSharesResponse.Builder setNfsShares(int index, NfsShare.Builder builderForValue)

The list of NFS shares.

repeated .google.cloud.baremetalsolution.v2.NfsShare nfs_shares = 1;

Parameters
Name Description
index int
builderForValue NfsShare.Builder
Returns
Type Description
ListNfsSharesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListNfsSharesResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListNfsSharesResponse.Builder

This builder for chaining.