public static final class ListMirrorsResponse.Builder extends GeneratedMessage.Builder<ListMirrorsResponse.Builder> implements ListMirrorsResponseOrBuilderResponse for ListMirrors.
Protobuf type google.cloud.lustre.v1.ListMirrorsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListMirrorsResponse.BuilderImplements
ListMirrorsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllMirrors(Iterable<? extends Mirror> values)
public ListMirrorsResponse.Builder addAllMirrors(Iterable<? extends Mirror> values)List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.lustre.v1.Mirror> |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
public ListMirrorsResponse.Builder addAllUnreachable(Iterable<String> values)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
This builder for chaining. |
addMirrors(Mirror value)
public ListMirrorsResponse.Builder addMirrors(Mirror value)List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Mirror |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
|
addMirrors(Mirror.Builder builderForValue)
public ListMirrorsResponse.Builder addMirrors(Mirror.Builder builderForValue)List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Mirror.Builder |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
|
addMirrors(int index, Mirror value)
public ListMirrorsResponse.Builder addMirrors(int index, Mirror value)List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Mirror |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
|
addMirrors(int index, Mirror.Builder builderForValue)
public ListMirrorsResponse.Builder addMirrors(int index, Mirror.Builder builderForValue)List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Mirror.Builder |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
|
addMirrorsBuilder()
public Mirror.Builder addMirrorsBuilder()List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Returns | |
|---|---|
| Type | Description |
Mirror.Builder |
|
addMirrorsBuilder(int index)
public Mirror.Builder addMirrorsBuilder(int index)List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Mirror.Builder |
|
addUnreachable(String value)
public ListMirrorsResponse.Builder addUnreachable(String value)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListMirrorsResponse.Builder addUnreachableBytes(ByteString value)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
This builder for chaining. |
build()
public ListMirrorsResponse build()| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse |
|
buildPartial()
public ListMirrorsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse |
|
clear()
public ListMirrorsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
|
clearMirrors()
public ListMirrorsResponse.Builder clearMirrors()List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
|
clearNextPageToken()
public ListMirrorsResponse.Builder clearNextPageToken()A token identifying a page of results the server should return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
This builder for chaining. |
clearUnreachable()
public ListMirrorsResponse.Builder clearUnreachable()Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListMirrorsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMirrors(int index)
public Mirror getMirrors(int index)List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Mirror |
|
getMirrorsBuilder(int index)
public Mirror.Builder getMirrorsBuilder(int index)List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Mirror.Builder |
|
getMirrorsBuilderList()
public List<Mirror.Builder> getMirrorsBuilderList()List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getMirrorsCount()
public int getMirrorsCount()List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getMirrorsList()
public List<Mirror> getMirrorsList()List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Returns | |
|---|---|
| Type | Description |
List<Mirror> |
|
getMirrorsOrBuilder(int index)
public MirrorOrBuilder getMirrorsOrBuilder(int index)List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MirrorOrBuilder |
|
getMirrorsOrBuilderList()
public List<? extends MirrorOrBuilder> getMirrorsOrBuilderList()List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.lustre.v1.MirrorOrBuilder> |
|
getNextPageToken()
public String getNextPageToken()A token identifying a page of results the server should return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()A token identifying a page of results the server should return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getUnreachable(int index)
public String getUnreachable(int index)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| 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)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| 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()Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| 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(ListMirrorsResponse other)
public ListMirrorsResponse.Builder mergeFrom(ListMirrorsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListMirrorsResponse |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListMirrorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListMirrorsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
|
removeMirrors(int index)
public ListMirrorsResponse.Builder removeMirrors(int index)List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
|
setMirrors(int index, Mirror value)
public ListMirrorsResponse.Builder setMirrors(int index, Mirror value)List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Mirror |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
|
setMirrors(int index, Mirror.Builder builderForValue)
public ListMirrorsResponse.Builder setMirrors(int index, Mirror.Builder builderForValue)List of mirrors on the instance.
repeated .google.cloud.lustre.v1.Mirror mirrors = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Mirror.Builder |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
|
setNextPageToken(String value)
public ListMirrorsResponse.Builder setNextPageToken(String value)A token identifying a page of results the server should return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListMirrorsResponse.Builder setNextPageTokenBytes(ByteString value)A token identifying a page of results the server should return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
This builder for chaining. |
setUnreachable(int index, String value)
public ListMirrorsResponse.Builder setUnreachable(int index, String value)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListMirrorsResponse.Builder |
This builder for chaining. |