public static final class ListConnectionsResponse.Builder extends GeneratedMessage.Builder<ListConnectionsResponse.Builder> implements ListConnectionsResponseOrBuilderMessage for response to listing connections.
Protobuf type google.cloud.designcenter.v1.ListConnectionsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListConnectionsResponse.BuilderImplements
ListConnectionsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllConnections(Iterable<? extends Connection> values)
public ListConnectionsResponse.Builder addAllConnections(Iterable<? extends Connection> values)The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.designcenter.v1.Connection> |
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
public ListConnectionsResponse.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 |
ListConnectionsResponse.Builder |
This builder for chaining. |
addConnections(Connection value)
public ListConnectionsResponse.Builder addConnections(Connection value)The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Connection |
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
|
addConnections(Connection.Builder builderForValue)
public ListConnectionsResponse.Builder addConnections(Connection.Builder builderForValue)The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Connection.Builder |
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
|
addConnections(int index, Connection value)
public ListConnectionsResponse.Builder addConnections(int index, Connection value)The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Connection |
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
|
addConnections(int index, Connection.Builder builderForValue)
public ListConnectionsResponse.Builder addConnections(int index, Connection.Builder builderForValue)The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Connection.Builder |
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
|
addConnectionsBuilder()
public Connection.Builder addConnectionsBuilder()The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Returns | |
|---|---|
| Type | Description |
Connection.Builder |
|
addConnectionsBuilder(int index)
public Connection.Builder addConnectionsBuilder(int index)The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Connection.Builder |
|
addUnreachable(String value)
public ListConnectionsResponse.Builder addUnreachable(String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListConnectionsResponse.Builder addUnreachableBytes(ByteString value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
This builder for chaining. |
build()
public ListConnectionsResponse build()| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse |
|
buildPartial()
public ListConnectionsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse |
|
clear()
public ListConnectionsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
|
clearConnections()
public ListConnectionsResponse.Builder clearConnections()The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
|
clearNextPageToken()
public ListConnectionsResponse.Builder clearNextPageToken()If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
This builder for chaining. |
clearUnreachable()
public ListConnectionsResponse.Builder clearUnreachable()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
This builder for chaining. |
getConnections(int index)
public Connection getConnections(int index)The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Connection |
|
getConnectionsBuilder(int index)
public Connection.Builder getConnectionsBuilder(int index)The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Connection.Builder |
|
getConnectionsBuilderList()
public List<Connection.Builder> getConnectionsBuilderList()The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getConnectionsCount()
public int getConnectionsCount()The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getConnectionsList()
public List<Connection> getConnectionsList()The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Returns | |
|---|---|
| Type | Description |
List<Connection> |
|
getConnectionsOrBuilder(int index)
public ConnectionOrBuilder getConnectionsOrBuilder(int index)The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ConnectionOrBuilder |
|
getConnectionsOrBuilderList()
public List<? extends ConnectionOrBuilder> getConnectionsOrBuilderList()The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.designcenter.v1.ConnectionOrBuilder> |
|
getDefaultInstanceForType()
public ListConnectionsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.
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 |
intThe 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 |
intThe 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListConnectionsResponse other)
public ListConnectionsResponse.Builder mergeFrom(ListConnectionsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListConnectionsResponse |
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListConnectionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListConnectionsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
|
removeConnections(int index)
public ListConnectionsResponse.Builder removeConnections(int index)The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
|
setConnections(int index, Connection value)
public ListConnectionsResponse.Builder setConnections(int index, Connection value)The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Connection |
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
|
setConnections(int index, Connection.Builder builderForValue)
public ListConnectionsResponse.Builder setConnections(int index, Connection.Builder builderForValue)The list of connections.
repeated .google.cloud.designcenter.v1.Connection connections = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Connection.Builder |
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
|
setNextPageToken(String value)
public ListConnectionsResponse.Builder setNextPageToken(String value)If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListConnectionsResponse.Builder setNextPageTokenBytes(ByteString value)If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
This builder for chaining. |
setUnreachable(int index, String value)
public ListConnectionsResponse.Builder setUnreachable(int index, String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListConnectionsResponse.Builder |
This builder for chaining. |