Class ListMirrorsResponse.Builder (0.39.0)

public static final class ListMirrorsResponse.Builder extends GeneratedMessage.Builder<ListMirrorsResponse.Builder> implements ListMirrorsResponseOrBuilder

Response for ListMirrors.

Protobuf type google.cloud.lustre.v1.ListMirrorsResponse

Static 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 String

The 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 ByteString

The 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
Overrides

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
Overrides

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 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)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

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

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

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 String

The 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 ByteString

The 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 int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListMirrorsResponse.Builder

This builder for chaining.