Class ListClientGatewaysResponse.Builder (0.41.0)

public static final class ListClientGatewaysResponse.Builder extends GeneratedMessageV3.Builder<ListClientGatewaysResponse.Builder> implements ListClientGatewaysResponseOrBuilder

Message for response to listing ClientGateways.

Protobuf type google.cloud.beyondcorp.clientgateways.v1.ListClientGatewaysResponse

Static Methods

getDescriptor()

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

Methods

addAllClientGateways(Iterable<? extends ClientGateway> values)

public ListClientGatewaysResponse.Builder addAllClientGateways(Iterable<? extends ClientGateway> values)

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.beyondcorp.clientgateways.v1.ClientGateway>
Returns
Type Description
ListClientGatewaysResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListClientGatewaysResponse.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
ListClientGatewaysResponse.Builder

This builder for chaining.

addClientGateways(ClientGateway value)

public ListClientGatewaysResponse.Builder addClientGateways(ClientGateway value)

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Parameter
Name Description
value ClientGateway
Returns
Type Description
ListClientGatewaysResponse.Builder

addClientGateways(ClientGateway.Builder builderForValue)

public ListClientGatewaysResponse.Builder addClientGateways(ClientGateway.Builder builderForValue)

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Parameter
Name Description
builderForValue ClientGateway.Builder
Returns
Type Description
ListClientGatewaysResponse.Builder

addClientGateways(int index, ClientGateway value)

public ListClientGatewaysResponse.Builder addClientGateways(int index, ClientGateway value)

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Parameters
Name Description
index int
value ClientGateway
Returns
Type Description
ListClientGatewaysResponse.Builder

addClientGateways(int index, ClientGateway.Builder builderForValue)

public ListClientGatewaysResponse.Builder addClientGateways(int index, ClientGateway.Builder builderForValue)

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Parameters
Name Description
index int
builderForValue ClientGateway.Builder
Returns
Type Description
ListClientGatewaysResponse.Builder

addClientGatewaysBuilder()

public ClientGateway.Builder addClientGatewaysBuilder()

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Returns
Type Description
ClientGateway.Builder

addClientGatewaysBuilder(int index)

public ClientGateway.Builder addClientGatewaysBuilder(int index)

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Parameter
Name Description
index int
Returns
Type Description
ClientGateway.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListClientGatewaysResponse.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
ListClientGatewaysResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListClientGatewaysResponse.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
ListClientGatewaysResponse.Builder

This builder for chaining.

build()

public ListClientGatewaysResponse build()
Returns
Type Description
ListClientGatewaysResponse

buildPartial()

public ListClientGatewaysResponse buildPartial()
Returns
Type Description
ListClientGatewaysResponse

clear()

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

clearClientGateways()

public ListClientGatewaysResponse.Builder clearClientGateways()

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Returns
Type Description
ListClientGatewaysResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListClientGatewaysResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListClientGatewaysResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListClientGatewaysResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListClientGatewaysResponse.Builder

This builder for chaining.

clone()

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

getClientGateways(int index)

public ClientGateway getClientGateways(int index)

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Parameter
Name Description
index int
Returns
Type Description
ClientGateway

getClientGatewaysBuilder(int index)

public ClientGateway.Builder getClientGatewaysBuilder(int index)

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Parameter
Name Description
index int
Returns
Type Description
ClientGateway.Builder

getClientGatewaysBuilderList()

public List<ClientGateway.Builder> getClientGatewaysBuilderList()

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Returns
Type Description
List<Builder>

getClientGatewaysCount()

public int getClientGatewaysCount()

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Returns
Type Description
int

getClientGatewaysList()

public List<ClientGateway> getClientGatewaysList()

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Returns
Type Description
List<ClientGateway>

getClientGatewaysOrBuilder(int index)

public ClientGatewayOrBuilder getClientGatewaysOrBuilder(int index)

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Parameter
Name Description
index int
Returns
Type Description
ClientGatewayOrBuilder

getClientGatewaysOrBuilderList()

public List<? extends ClientGatewayOrBuilder> getClientGatewaysOrBuilderList()

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Returns
Type Description
List<? extends com.google.cloud.beyondcorp.clientgateways.v1.ClientGatewayOrBuilder>

getDefaultInstanceForType()

public ListClientGatewaysResponse getDefaultInstanceForType()
Returns
Type Description
ListClientGatewaysResponse

getDescriptorForType()

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

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)

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeClientGateways(int index)

public ListClientGatewaysResponse.Builder removeClientGateways(int index)

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Parameter
Name Description
index int
Returns
Type Description
ListClientGatewaysResponse.Builder

setClientGateways(int index, ClientGateway value)

public ListClientGatewaysResponse.Builder setClientGateways(int index, ClientGateway value)

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Parameters
Name Description
index int
value ClientGateway
Returns
Type Description
ListClientGatewaysResponse.Builder

setClientGateways(int index, ClientGateway.Builder builderForValue)

public ListClientGatewaysResponse.Builder setClientGateways(int index, ClientGateway.Builder builderForValue)

The list of ClientGateway.

repeated .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateways = 1;

Parameters
Name Description
index int
builderForValue ClientGateway.Builder
Returns
Type Description
ListClientGatewaysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListClientGatewaysResponse.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
ListClientGatewaysResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListClientGatewaysResponse.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
ListClientGatewaysResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListClientGatewaysResponse.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
ListClientGatewaysResponse.Builder

This builder for chaining.