Class ListAppConnectionsResponse.Builder (0.40.0)

public static final class ListAppConnectionsResponse.Builder extends GeneratedMessageV3.Builder<ListAppConnectionsResponse.Builder> implements ListAppConnectionsResponseOrBuilder

Response message for BeyondCorp.ListAppConnections.

Protobuf type google.cloud.beyondcorp.appconnections.v1.ListAppConnectionsResponse

Static Methods

getDescriptor()

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

Methods

addAllAppConnections(Iterable<? extends AppConnection> values)

public ListAppConnectionsResponse.Builder addAllAppConnections(Iterable<? extends AppConnection> values)

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.beyondcorp.appconnections.v1.AppConnection>
Returns
Type Description
ListAppConnectionsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

A list of locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListAppConnectionsResponse.Builder

This builder for chaining.

addAppConnections(AppConnection value)

public ListAppConnectionsResponse.Builder addAppConnections(AppConnection value)

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Parameter
Name Description
value AppConnection
Returns
Type Description
ListAppConnectionsResponse.Builder

addAppConnections(AppConnection.Builder builderForValue)

public ListAppConnectionsResponse.Builder addAppConnections(AppConnection.Builder builderForValue)

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Parameter
Name Description
builderForValue AppConnection.Builder
Returns
Type Description
ListAppConnectionsResponse.Builder

addAppConnections(int index, AppConnection value)

public ListAppConnectionsResponse.Builder addAppConnections(int index, AppConnection value)

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Parameters
Name Description
index int
value AppConnection
Returns
Type Description
ListAppConnectionsResponse.Builder

addAppConnections(int index, AppConnection.Builder builderForValue)

public ListAppConnectionsResponse.Builder addAppConnections(int index, AppConnection.Builder builderForValue)

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Parameters
Name Description
index int
builderForValue AppConnection.Builder
Returns
Type Description
ListAppConnectionsResponse.Builder

addAppConnectionsBuilder()

public AppConnection.Builder addAppConnectionsBuilder()

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Returns
Type Description
AppConnection.Builder

addAppConnectionsBuilder(int index)

public AppConnection.Builder addAppConnectionsBuilder(int index)

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
AppConnection.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListAppConnectionsResponse.Builder addUnreachable(String value)

A list of locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListAppConnectionsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListAppConnectionsResponse.Builder addUnreachableBytes(ByteString value)

A list of 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
ListAppConnectionsResponse.Builder

This builder for chaining.

build()

public ListAppConnectionsResponse build()
Returns
Type Description
ListAppConnectionsResponse

buildPartial()

public ListAppConnectionsResponse buildPartial()
Returns
Type Description
ListAppConnectionsResponse

clear()

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

clearAppConnections()

public ListAppConnectionsResponse.Builder clearAppConnections()

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Returns
Type Description
ListAppConnectionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListAppConnectionsResponse.Builder clearNextPageToken()

A token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListAppConnectionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListAppConnectionsResponse.Builder clearUnreachable()

A list of locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListAppConnectionsResponse.Builder

This builder for chaining.

clone()

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

getAppConnections(int index)

public AppConnection getAppConnections(int index)

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
AppConnection

getAppConnectionsBuilder(int index)

public AppConnection.Builder getAppConnectionsBuilder(int index)

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
AppConnection.Builder

getAppConnectionsBuilderList()

public List<AppConnection.Builder> getAppConnectionsBuilderList()

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Returns
Type Description
List<Builder>

getAppConnectionsCount()

public int getAppConnectionsCount()

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Returns
Type Description
int

getAppConnectionsList()

public List<AppConnection> getAppConnectionsList()

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Returns
Type Description
List<AppConnection>

getAppConnectionsOrBuilder(int index)

public AppConnectionOrBuilder getAppConnectionsOrBuilder(int index)

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
AppConnectionOrBuilder

getAppConnectionsOrBuilderList()

public List<? extends AppConnectionOrBuilder> getAppConnectionsOrBuilderList()

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Returns
Type Description
List<? extends com.google.cloud.beyondcorp.appconnections.v1.AppConnectionOrBuilder>

getDefaultInstanceForType()

public ListAppConnectionsResponse getDefaultInstanceForType()
Returns
Type Description
ListAppConnectionsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

A list of 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)

A list of 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()

A list of locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

A list of 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(ListAppConnectionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAppConnections(int index)

public ListAppConnectionsResponse.Builder removeAppConnections(int index)

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAppConnectionsResponse.Builder

setAppConnections(int index, AppConnection value)

public ListAppConnectionsResponse.Builder setAppConnections(int index, AppConnection value)

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Parameters
Name Description
index int
value AppConnection
Returns
Type Description
ListAppConnectionsResponse.Builder

setAppConnections(int index, AppConnection.Builder builderForValue)

public ListAppConnectionsResponse.Builder setAppConnections(int index, AppConnection.Builder builderForValue)

A list of BeyondCorp AppConnections in the project.

repeated .google.cloud.beyondcorp.appconnections.v1.AppConnection app_connections = 1;

Parameters
Name Description
index int
builderForValue AppConnection.Builder
Returns
Type Description
ListAppConnectionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListAppConnectionsResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListAppConnectionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAppConnectionsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAppConnectionsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListAppConnectionsResponse.Builder setUnreachable(int index, String value)

A list of 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
ListAppConnectionsResponse.Builder

This builder for chaining.