public static final class SearchConnectionsResponse.Builder extends GeneratedMessageV3.Builder<SearchConnectionsResponse.Builder> implements SearchConnectionsResponseOrBuilder
Response message for SearchConnections.
Protobuf type google.privacy.dlp.v2.SearchConnectionsResponse
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 SearchConnectionsResponse.Builder addAllConnections(Iterable<? extends Connection> values)
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.privacy.dlp.v2.Connection>
|
addConnections(Connection value)
public SearchConnectionsResponse.Builder addConnections(Connection value)
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
addConnections(Connection.Builder builderForValue)
public SearchConnectionsResponse.Builder addConnections(Connection.Builder builderForValue)
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
addConnections(int index, Connection value)
public SearchConnectionsResponse.Builder addConnections(int index, Connection value)
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
addConnections(int index, Connection.Builder builderForValue)
public SearchConnectionsResponse.Builder addConnections(int index, Connection.Builder builderForValue)
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
addConnectionsBuilder()
public Connection.Builder addConnectionsBuilder()
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
addConnectionsBuilder(int index)
public Connection.Builder addConnectionsBuilder(int index)
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchConnectionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchConnectionsResponse build()
buildPartial()
public SearchConnectionsResponse buildPartial()
clear()
public SearchConnectionsResponse.Builder clear()
Overrides
clearConnections()
public SearchConnectionsResponse.Builder clearConnections()
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
clearField(Descriptors.FieldDescriptor field)
public SearchConnectionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public SearchConnectionsResponse.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 SearchConnectionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SearchConnectionsResponse.Builder clone()
Overrides
getConnections(int index)
public Connection getConnections(int index)
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
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 that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
Parameter |
Name |
Description |
index |
int
|
getConnectionsBuilderList()
public List<Connection.Builder> getConnectionsBuilderList()
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
getConnectionsCount()
public int getConnectionsCount()
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
Returns |
Type |
Description |
int |
|
getConnectionsList()
public List<Connection> getConnectionsList()
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
getConnectionsOrBuilder(int index)
public ConnectionOrBuilder getConnectionsOrBuilder(int index)
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
Parameter |
Name |
Description |
index |
int
|
getConnectionsOrBuilderList()
public List<? extends ConnectionOrBuilder> getConnectionsOrBuilderList()
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
Returns |
Type |
Description |
List<? extends com.google.privacy.dlp.v2.ConnectionOrBuilder> |
|
getDefaultInstanceForType()
public SearchConnectionsResponse 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(SearchConnectionsResponse other)
public SearchConnectionsResponse.Builder mergeFrom(SearchConnectionsResponse other)
public SearchConnectionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchConnectionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchConnectionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeConnections(int index)
public SearchConnectionsResponse.Builder removeConnections(int index)
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
Parameter |
Name |
Description |
index |
int
|
setConnections(int index, Connection value)
public SearchConnectionsResponse.Builder setConnections(int index, Connection value)
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
setConnections(int index, Connection.Builder builderForValue)
public SearchConnectionsResponse.Builder setConnections(int index, Connection.Builder builderForValue)
List of connections that match the search query. Note that only a subset
of the fields will be populated, and only "name" is guaranteed to be set.
For full details of a Connection, call GetConnection with the name.
repeated .google.privacy.dlp.v2.Connection connections = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public SearchConnectionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public SearchConnectionsResponse.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 SearchConnectionsResponse.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 SearchConnectionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchConnectionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides