Class ListAppConnectionsResponse.Builder (0.30.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.beyondcorp.appconnections.v1.AppConnection>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueAppConnection
Returns
TypeDescription
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
NameDescription
builderForValueAppConnection.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAppConnection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAppConnection.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AppConnection.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListAppConnectionsResponse.Builder

This builder for chaining.

build()

public ListAppConnectionsResponse build()
Returns
TypeDescription
ListAppConnectionsResponse

buildPartial()

public ListAppConnectionsResponse buildPartial()
Returns
TypeDescription
ListAppConnectionsResponse

clear()

public ListAppConnectionsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListAppConnectionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListAppConnectionsResponse.Builder clearUnreachable()

A list of locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListAppConnectionsResponse.Builder

This builder for chaining.

clone()

public ListAppConnectionsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.beyondcorp.appconnections.v1.AppConnectionOrBuilder>

getDefaultInstanceForType()

public ListAppConnectionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAppConnectionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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)

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

A list of locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

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

public ListAppConnectionsResponse.Builder mergeFrom(ListAppConnectionsResponse other)
Parameter
NameDescription
otherListAppConnectionsResponse
Returns
TypeDescription
ListAppConnectionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAppConnectionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAppConnection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAppConnection.Builder
Returns
TypeDescription
ListAppConnectionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListAppConnectionsResponse.Builder

This builder for chaining.