public static final class ListNfsSharesResponse.Builder extends GeneratedMessage.Builder<ListNfsSharesResponse.Builder> implements ListNfsSharesResponseOrBuilderResponse message containing the list of NFS shares.
Protobuf type google.cloud.baremetalsolution.v2.ListNfsSharesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListNfsSharesResponse.BuilderImplements
ListNfsSharesResponseOrBuilderStatic 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 |
|
addUnreachable(String value)
public ListNfsSharesResponse.Builder addUnreachable(String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe 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 |
|
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 |
|
clearUnreachable()
public ListNfsSharesResponse.Builder clearUnreachable()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ListNfsSharesResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListNfsSharesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListNfsSharesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
intThe 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 |
intThe 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListNfsSharesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListNfsSharesResponse.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
|
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 |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListNfsSharesResponse.Builder |
This builder for chaining. |