Package com.google.privacy.dlp.v2
Class SearchConnectionsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchConnectionsResponse.Builder>
com.google.privacy.dlp.v2.SearchConnectionsResponse.Builder
- All Implemented Interfaces:
SearchConnectionsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchConnectionsResponse
public static final class SearchConnectionsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SearchConnectionsResponse.Builder>
implements SearchConnectionsResponseOrBuilder
Response message for SearchConnections.Protobuf type
google.privacy.dlp.v2.SearchConnectionsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllConnections(Iterable<? extends Connection> values) List of connections that match the search query.addConnections(int index, Connection value) List of connections that match the search query.addConnections(int index, Connection.Builder builderForValue) List of connections that match the search query.addConnections(Connection value) List of connections that match the search query.addConnections(Connection.Builder builderForValue) List of connections that match the search query.List of connections that match the search query.addConnectionsBuilder(int index) List of connections that match the search query.build()clear()List of connections that match the search query.Token to retrieve the next page of results.getConnections(int index) List of connections that match the search query.getConnectionsBuilder(int index) List of connections that match the search query.List of connections that match the search query.intList of connections that match the search query.List of connections that match the search query.getConnectionsOrBuilder(int index) List of connections that match the search query.List<? extends ConnectionOrBuilder>List of connections that match the search query.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorToken to retrieve the next page of results.com.google.protobuf.ByteStringToken to retrieve the next page of results.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeConnections(int index) List of connections that match the search query.setConnections(int index, Connection value) List of connections that match the search query.setConnections(int index, Connection.Builder builderForValue) List of connections that match the search query.setNextPageToken(String value) Token to retrieve the next page of results.setNextPageTokenBytes(com.google.protobuf.ByteString value) Token to retrieve the next page of results.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SearchConnectionsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SearchConnectionsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SearchConnectionsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchConnectionsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchConnectionsResponse.Builder>
-
mergeFrom
public SearchConnectionsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchConnectionsResponse.Builder>- Throws:
IOException
-
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;- Specified by:
getConnectionsListin interfaceSearchConnectionsResponseOrBuilder
-
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;- Specified by:
getConnectionsCountin interfaceSearchConnectionsResponseOrBuilder
-
getConnections
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;- Specified by:
getConnectionsin interfaceSearchConnectionsResponseOrBuilder
-
setConnections
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
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; -
addConnections
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
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
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
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; -
addAllConnections
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; -
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; -
removeConnections
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; -
getConnectionsBuilder
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
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;- Specified by:
getConnectionsOrBuilderin interfaceSearchConnectionsResponseOrBuilder
-
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;- Specified by:
getConnectionsOrBuilderListin interfaceSearchConnectionsResponseOrBuilder
-
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
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; -
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; -
getNextPageToken
Token to retrieve the next page of results. An empty value means there are no more results.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceSearchConnectionsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()Token to retrieve the next page of results. An empty value means there are no more results.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceSearchConnectionsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
Token to retrieve the next page of results. An empty value means there are no more results.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
Token to retrieve the next page of results. An empty value means there are no more results.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public SearchConnectionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) Token to retrieve the next page of results. An empty value means there are no more results.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-