Class ListClientGatewaysResponse.Builder (0.7.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.beyondcorp.clientgateways.v1.ClientGateway>
Returns
TypeDescription
ListClientGatewaysResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListClientGatewaysResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueClientGateway
Returns
TypeDescription
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
NameDescription
builderForValueClientGateway.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueClientGateway
Returns
TypeDescription
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
NameDescription
indexint
builderForValueClientGateway.Builder
Returns
TypeDescription
ListClientGatewaysResponse.Builder

addClientGatewaysBuilder()

public ClientGateway.Builder addClientGatewaysBuilder()

The list of ClientGateway.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ClientGateway.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListClientGatewaysResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListClientGatewaysResponse.Builder
Overrides

addUnreachable(String value)

public ListClientGatewaysResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListClientGatewaysResponse.Builder

This builder for chaining.

build()

public ListClientGatewaysResponse build()
Returns
TypeDescription
ListClientGatewaysResponse

buildPartial()

public ListClientGatewaysResponse buildPartial()
Returns
TypeDescription
ListClientGatewaysResponse

clear()

public ListClientGatewaysResponse.Builder clear()
Returns
TypeDescription
ListClientGatewaysResponse.Builder
Overrides

clearClientGateways()

public ListClientGatewaysResponse.Builder clearClientGateways()

The list of ClientGateway.

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

Returns
TypeDescription
ListClientGatewaysResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListClientGatewaysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListClientGatewaysResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListClientGatewaysResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListClientGatewaysResponse.Builder
Overrides

clearUnreachable()

public ListClientGatewaysResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListClientGatewaysResponse.Builder

This builder for chaining.

clone()

public ListClientGatewaysResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ClientGateway.Builder

getClientGatewaysBuilderList()

public List<ClientGateway.Builder> getClientGatewaysBuilderList()

The list of ClientGateway.

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

Returns
TypeDescription
List<Builder>

getClientGatewaysCount()

public int getClientGatewaysCount()

The list of ClientGateway.

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

Returns
TypeDescription
int

getClientGatewaysList()

public List<ClientGateway> getClientGatewaysList()

The list of ClientGateway.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ClientGatewayOrBuilder

getClientGatewaysOrBuilderList()

public List<? extends ClientGatewayOrBuilder> getClientGatewaysOrBuilderList()

The list of ClientGateway.

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

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

getDefaultInstanceForType()

public ListClientGatewaysResponse getDefaultInstanceForType()
Returns
TypeDescription
ListClientGatewaysResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListClientGatewaysResponse other)

public ListClientGatewaysResponse.Builder mergeFrom(ListClientGatewaysResponse other)
Parameter
NameDescription
otherListClientGatewaysResponse
Returns
TypeDescription
ListClientGatewaysResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListClientGatewaysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListClientGatewaysResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListClientGatewaysResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListClientGatewaysResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListClientGatewaysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueClientGateway
Returns
TypeDescription
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
NameDescription
indexint
builderForValueClientGateway.Builder
Returns
TypeDescription
ListClientGatewaysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListClientGatewaysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListClientGatewaysResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListClientGatewaysResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListClientGatewaysResponse.Builder

This builder for chaining.