Package com.google.privacy.dlp.v2
Class ListInfoTypesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListInfoTypesRequest.Builder>
com.google.privacy.dlp.v2.ListInfoTypesRequest.Builder
- All Implemented Interfaces:
ListInfoTypesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListInfoTypesRequest
public static final class ListInfoTypesRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListInfoTypesRequest.Builder>
implements ListInfoTypesRequestOrBuilder
Request for the list of infoTypes.Protobuf type
google.privacy.dlp.v2.ListInfoTypesRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()filter to only return infoTypes supported by certain parts of the API.BCP-47 language code for localized infoType friendly names.Deprecated.The parent resource name.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorfilter to only return infoTypes supported by certain parts of the API.com.google.protobuf.ByteStringfilter to only return infoTypes supported by certain parts of the API.BCP-47 language code for localized infoType friendly names.com.google.protobuf.ByteStringBCP-47 language code for localized infoType friendly names.Deprecated.com.google.protobuf.ByteStringDeprecated.The parent resource name.com.google.protobuf.ByteStringThe parent resource name.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListInfoTypesRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) filter to only return infoTypes supported by certain parts of the API.setFilterBytes(com.google.protobuf.ByteString value) filter to only return infoTypes supported by certain parts of the API.setLanguageCode(String value) BCP-47 language code for localized infoType friendly names.setLanguageCodeBytes(com.google.protobuf.ByteString value) BCP-47 language code for localized infoType friendly names.setLocationId(String value) Deprecated.setLocationIdBytes(com.google.protobuf.ByteString value) Deprecated.The parent resource name.setParentBytes(com.google.protobuf.ByteString value) The parent resource name.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<ListInfoTypesRequest.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<ListInfoTypesRequest.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<ListInfoTypesRequest.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<ListInfoTypesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListInfoTypesRequest.Builder>
-
mergeFrom
public ListInfoTypesRequest.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<ListInfoTypesRequest.Builder>- Throws:
IOException
-
getParent
The parent resource name. The format of this value is as follows: `locations/{location_id}`string parent = 4;- Specified by:
getParentin interfaceListInfoTypesRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()The parent resource name. The format of this value is as follows: `locations/{location_id}`string parent = 4;- Specified by:
getParentBytesin interfaceListInfoTypesRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
The parent resource name. The format of this value is as follows: `locations/{location_id}`string parent = 4;- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
The parent resource name. The format of this value is as follows: `locations/{location_id}`string parent = 4;- Returns:
- This builder for chaining.
-
setParentBytes
The parent resource name. The format of this value is as follows: `locations/{location_id}`string parent = 4;- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getLanguageCode
BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned.
string language_code = 1;- Specified by:
getLanguageCodein interfaceListInfoTypesRequestOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned.
string language_code = 1;- Specified by:
getLanguageCodeBytesin interfaceListInfoTypesRequestOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned.
string language_code = 1;- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
clearLanguageCode
BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned.
string language_code = 1;- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned.
string language_code = 1;- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
getFilter
filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.
string filter = 2;- Specified by:
getFilterin interfaceListInfoTypesRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.
string filter = 2;- Specified by:
getFilterBytesin interfaceListInfoTypesRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.
string filter = 2;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.
string filter = 2;- Returns:
- This builder for chaining.
-
setFilterBytes
filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.
string filter = 2;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getLocationId
Deprecated. This field has no effect.
string location_id = 3;- Specified by:
getLocationIdin interfaceListInfoTypesRequestOrBuilder- Returns:
- The locationId.
-
getLocationIdBytes
public com.google.protobuf.ByteString getLocationIdBytes()Deprecated. This field has no effect.
string location_id = 3;- Specified by:
getLocationIdBytesin interfaceListInfoTypesRequestOrBuilder- Returns:
- The bytes for locationId.
-
setLocationId
Deprecated. This field has no effect.
string location_id = 3;- Parameters:
value- The locationId to set.- Returns:
- This builder for chaining.
-
clearLocationId
Deprecated. This field has no effect.
string location_id = 3;- Returns:
- This builder for chaining.
-
setLocationIdBytes
Deprecated. This field has no effect.
string location_id = 3;- Parameters:
value- The bytes for locationId to set.- Returns:
- This builder for chaining.
-