public static final class ListConnectionsResponse.Builder extends GeneratedMessageV3.Builder<ListConnectionsResponse.Builder> implements ListConnectionsResponseOrBuilder
Response message for ListConnections.
Protobuf type google.privacy.dlp.v2.ListConnectionsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllConnections(Iterable<? extends Connection> values)
public ListConnectionsResponse.Builder addAllConnections(Iterable<? extends Connection> values)
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.privacy.dlp.v2.Connection>
|
addConnections(Connection value)
public ListConnectionsResponse.Builder addConnections(Connection value)
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
addConnections(Connection.Builder builderForValue)
public ListConnectionsResponse.Builder addConnections(Connection.Builder builderForValue)
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
addConnections(int index, Connection value)
public ListConnectionsResponse.Builder addConnections(int index, Connection value)
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
addConnections(int index, Connection.Builder builderForValue)
public ListConnectionsResponse.Builder addConnections(int index, Connection.Builder builderForValue)
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
addConnectionsBuilder()
public Connection.Builder addConnectionsBuilder()
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
addConnectionsBuilder(int index)
public Connection.Builder addConnectionsBuilder(int index)
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListConnectionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListConnectionsResponse build()
buildPartial()
public ListConnectionsResponse buildPartial()
clear()
public ListConnectionsResponse.Builder clear()
Overrides
clearConnections()
public ListConnectionsResponse.Builder clearConnections()
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
clearField(Descriptors.FieldDescriptor field)
public ListConnectionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListConnectionsResponse.Builder clearNextPageToken()
Token to retrieve the next page of results. An empty value means there are
no more results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListConnectionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListConnectionsResponse.Builder clone()
Overrides
getConnections(int index)
public Connection getConnections(int index)
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
Parameter |
Name |
Description |
index |
int
|
getConnectionsBuilder(int index)
public Connection.Builder getConnectionsBuilder(int index)
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
Parameter |
Name |
Description |
index |
int
|
getConnectionsBuilderList()
public List<Connection.Builder> getConnectionsBuilderList()
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
getConnectionsCount()
public int getConnectionsCount()
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
Returns |
Type |
Description |
int |
|
getConnectionsList()
public List<Connection> getConnectionsList()
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
getConnectionsOrBuilder(int index)
public ConnectionOrBuilder getConnectionsOrBuilder(int index)
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
Parameter |
Name |
Description |
index |
int
|
getConnectionsOrBuilderList()
public List<? extends ConnectionOrBuilder> getConnectionsOrBuilderList()
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
Returns |
Type |
Description |
List<? extends com.google.privacy.dlp.v2.ConnectionOrBuilder> |
|
getDefaultInstanceForType()
public ListConnectionsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
Token to retrieve the next page of results. An empty value means there are
no more results.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Token to retrieve the next page of results. An empty value means there are
no more results.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListConnectionsResponse other)
public ListConnectionsResponse.Builder mergeFrom(ListConnectionsResponse other)
public ListConnectionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListConnectionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListConnectionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeConnections(int index)
public ListConnectionsResponse.Builder removeConnections(int index)
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
Parameter |
Name |
Description |
index |
int
|
setConnections(int index, Connection value)
public ListConnectionsResponse.Builder setConnections(int index, Connection value)
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
setConnections(int index, Connection.Builder builderForValue)
public ListConnectionsResponse.Builder setConnections(int index, Connection.Builder builderForValue)
List of connections.
repeated .google.privacy.dlp.v2.Connection connections = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListConnectionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListConnectionsResponse.Builder setNextPageToken(String value)
Token to retrieve the next page of results. An empty value means there are
no more results.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListConnectionsResponse.Builder setNextPageTokenBytes(ByteString value)
Token to retrieve the next page of results. An empty value means there are
no more results.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListConnectionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListConnectionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides