public static final class ListConnectionsResponse.Builder extends GeneratedMessageV3.Builder<ListConnectionsResponse.Builder> implements ListConnectionsResponseOrBuilder
Message for response to listing Connections.
Protobuf type google.devtools.cloudbuild.v2.ListConnectionsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ListConnectionsResponse.Builder addAllConnections(Iterable<? extends Connection> values)
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Parameter
Name | Description |
values | Iterable<? extends google.devtools.cloudbuild.v2.Connection>
|
Returns
public ListConnectionsResponse.Builder addConnections(Connection value)
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Parameter
Returns
public ListConnectionsResponse.Builder addConnections(Connection.Builder builderForValue)
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Parameter
Returns
public ListConnectionsResponse.Builder addConnections(int index, Connection value)
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Parameters
Returns
public ListConnectionsResponse.Builder addConnections(int index, Connection.Builder builderForValue)
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Parameters
Returns
public Connection.Builder addConnectionsBuilder()
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Returns
public Connection.Builder addConnectionsBuilder(int index)
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Parameter
Returns
public ListConnectionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListConnectionsResponse build()
Returns
public ListConnectionsResponse buildPartial()
Returns
public ListConnectionsResponse.Builder clear()
Returns
Overrides
public ListConnectionsResponse.Builder clearConnections()
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Returns
public ListConnectionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListConnectionsResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns
public ListConnectionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListConnectionsResponse.Builder clone()
Returns
Overrides
public Connection getConnections(int index)
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Parameter
Returns
public Connection.Builder getConnectionsBuilder(int index)
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Parameter
Returns
public List<Connection.Builder> getConnectionsBuilderList()
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Returns
public int getConnectionsCount()
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Returns
public List<Connection> getConnectionsList()
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Returns
public ConnectionOrBuilder getConnectionsOrBuilder(int index)
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Parameter
Returns
public List<? extends ConnectionOrBuilder> getConnectionsOrBuilderList()
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Returns
Type | Description |
List<? extends google.devtools.cloudbuild.v2.ConnectionOrBuilder> | |
public ListConnectionsResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListConnectionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListConnectionsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public ListConnectionsResponse.Builder mergeFrom(ListConnectionsResponse other)
Parameter
Returns
public final ListConnectionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListConnectionsResponse.Builder removeConnections(int index)
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Parameter
Returns
public ListConnectionsResponse.Builder setConnections(int index, Connection value)
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Parameters
Returns
public ListConnectionsResponse.Builder setConnections(int index, Connection.Builder builderForValue)
The list of Connections.
repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
Parameters
Returns
public ListConnectionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListConnectionsResponse.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
setNextPageTokenBytes(ByteString value)
public ListConnectionsResponse.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
public ListConnectionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListConnectionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides