Class ListManagementServersResponse.Builder (0.14.0)

publicstaticfinalclass ListManagementServersResponse.BuilderextendsGeneratedMessageV3.Builder<ListManagementServersResponse.Builder>implementsListManagementServersResponseOrBuilder

Response message for listing management servers.

Protobuf type google.cloud.backupdr.v1.ListManagementServersResponse

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addAllManagementServers(Iterable<? extends ManagementServer> values)

publicListManagementServersResponse.BuilderaddAllManagementServers(Iterable<?extendsManagementServer>values)

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.backupdr.v1.ManagementServer>
Returns
Type Description
ListManagementServersResponse.Builder

addAllUnreachable(Iterable<String> values)

publicListManagementServersResponse.BuilderaddAllUnreachable(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
ListManagementServersResponse.Builder

This builder for chaining.

addManagementServers(ManagementServer value)

publicListManagementServersResponse.BuilderaddManagementServers(ManagementServervalue)

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Parameter
Name Description
value ManagementServer
Returns
Type Description
ListManagementServersResponse.Builder

addManagementServers(ManagementServer.Builder builderForValue)

publicListManagementServersResponse.BuilderaddManagementServers(ManagementServer.BuilderbuilderForValue)

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Parameter
Name Description
builderForValue ManagementServer.Builder
Returns
Type Description
ListManagementServersResponse.Builder

addManagementServers(int index, ManagementServer value)

publicListManagementServersResponse.BuilderaddManagementServers(intindex,ManagementServervalue)

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Parameters
Name Description
index int
value ManagementServer
Returns
Type Description
ListManagementServersResponse.Builder

addManagementServers(int index, ManagementServer.Builder builderForValue)

publicListManagementServersResponse.BuilderaddManagementServers(intindex,ManagementServer.BuilderbuilderForValue)

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Parameters
Name Description
index int
builderForValue ManagementServer.Builder
Returns
Type Description
ListManagementServersResponse.Builder

addManagementServersBuilder()

publicManagementServer.BuilderaddManagementServersBuilder()

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Returns
Type Description
ManagementServer.Builder

addManagementServersBuilder(int index)

publicManagementServer.BuilderaddManagementServersBuilder(intindex)

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Parameter
Name Description
index int
Returns
Type Description
ManagementServer.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicListManagementServersResponse.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListManagementServersResponse.Builder
Overrides

addUnreachable(String value)

publicListManagementServersResponse.BuilderaddUnreachable(Stringvalue)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListManagementServersResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

publicListManagementServersResponse.BuilderaddUnreachableBytes(ByteStringvalue)

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
ListManagementServersResponse.Builder

This builder for chaining.

build()

publicListManagementServersResponsebuild()
Returns
Type Description
ListManagementServersResponse

buildPartial()

publicListManagementServersResponsebuildPartial()
Returns
Type Description
ListManagementServersResponse

clear()

publicListManagementServersResponse.Builderclear()
Returns
Type Description
ListManagementServersResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicListManagementServersResponse.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListManagementServersResponse.Builder
Overrides

clearManagementServers()

publicListManagementServersResponse.BuilderclearManagementServers()

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Returns
Type Description
ListManagementServersResponse.Builder

clearNextPageToken()

publicListManagementServersResponse.BuilderclearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ListManagementServersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicListManagementServersResponse.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListManagementServersResponse.Builder
Overrides

clearUnreachable()

publicListManagementServersResponse.BuilderclearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListManagementServersResponse.Builder

This builder for chaining.

clone()

publicListManagementServersResponse.Builderclone()
Returns
Type Description
ListManagementServersResponse.Builder
Overrides

getDefaultInstanceForType()

publicListManagementServersResponsegetDefaultInstanceForType()
Returns
Type Description
ListManagementServersResponse

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getManagementServers(int index)

publicManagementServergetManagementServers(intindex)

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Parameter
Name Description
index int
Returns
Type Description
ManagementServer

getManagementServersBuilder(int index)

publicManagementServer.BuildergetManagementServersBuilder(intindex)

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Parameter
Name Description
index int
Returns
Type Description
ManagementServer.Builder

getManagementServersBuilderList()

publicList<ManagementServer.Builder>getManagementServersBuilderList()

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Returns
Type Description
List<Builder>

getManagementServersCount()

publicintgetManagementServersCount()

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Returns
Type Description
int

getManagementServersList()

publicList<ManagementServer>getManagementServersList()

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Returns
Type Description
List<ManagementServer>

getManagementServersOrBuilder(int index)

publicManagementServerOrBuildergetManagementServersOrBuilder(intindex)

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Parameter
Name Description
index int
Returns
Type Description
ManagementServerOrBuilder

getManagementServersOrBuilderList()

publicList<?extendsManagementServerOrBuilder>getManagementServersOrBuilderList()

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.ManagementServerOrBuilder>

getNextPageToken()

publicStringgetNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

publicByteStringgetNextPageTokenBytes()

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)

publicStringgetUnreachable(intindex)

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)

publicByteStringgetUnreachableBytes(intindex)

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

publicintgetUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

publicProtocolStringListgetUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListManagementServersResponse other)

publicListManagementServersResponse.BuildermergeFrom(ListManagementServersResponseother)
Parameter
Name Description
other ListManagementServersResponse
Returns
Type Description
ListManagementServersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicListManagementServersResponse.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListManagementServersResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicListManagementServersResponse.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
ListManagementServersResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalListManagementServersResponse.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListManagementServersResponse.Builder
Overrides

removeManagementServers(int index)

publicListManagementServersResponse.BuilderremoveManagementServers(intindex)

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Parameter
Name Description
index int
Returns
Type Description
ListManagementServersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicListManagementServersResponse.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListManagementServersResponse.Builder
Overrides

setManagementServers(int index, ManagementServer value)

publicListManagementServersResponse.BuildersetManagementServers(intindex,ManagementServervalue)

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Parameters
Name Description
index int
value ManagementServer
Returns
Type Description
ListManagementServersResponse.Builder

setManagementServers(int index, ManagementServer.Builder builderForValue)

publicListManagementServersResponse.BuildersetManagementServers(intindex,ManagementServer.BuilderbuilderForValue)

The list of ManagementServer instances in the project for the specified location.

If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.ManagementServer management_servers = 1;

Parameters
Name Description
index int
builderForValue ManagementServer.Builder
Returns
Type Description
ListManagementServersResponse.Builder

setNextPageToken(String value)

publicListManagementServersResponse.BuildersetNextPageToken(Stringvalue)

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
ListManagementServersResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

publicListManagementServersResponse.BuildersetNextPageTokenBytes(ByteStringvalue)

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
ListManagementServersResponse.Builder

This builder for chaining.

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

publicListManagementServersResponse.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListManagementServersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalListManagementServersResponse.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListManagementServersResponse.Builder
Overrides

setUnreachable(int index, String value)

publicListManagementServersResponse.BuildersetUnreachable(intindex,Stringvalue)

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
ListManagementServersResponse.Builder

This builder for chaining.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.