Class ListInfoTypesRequest.Builder (3.46.0)

public static final class ListInfoTypesRequest.Builder extends GeneratedMessageV3.Builder<ListInfoTypesRequest.Builder> implements ListInfoTypesRequestOrBuilder

Request for the list of infoTypes.

Protobuf type google.privacy.dlp.v2.ListInfoTypesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListInfoTypesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListInfoTypesRequest.Builder
Overrides

build()

public ListInfoTypesRequest build()
Returns
Type Description
ListInfoTypesRequest

buildPartial()

public ListInfoTypesRequest buildPartial()
Returns
Type Description
ListInfoTypesRequest

clear()

public ListInfoTypesRequest.Builder clear()
Returns
Type Description
ListInfoTypesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListInfoTypesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListInfoTypesRequest.Builder
Overrides

clearFilter()

public ListInfoTypesRequest.Builder clearFilter()

filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.

string filter = 2;

Returns
Type Description
ListInfoTypesRequest.Builder

This builder for chaining.

clearLanguageCode()

public ListInfoTypesRequest.Builder 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
Type Description
ListInfoTypesRequest.Builder

This builder for chaining.

clearLocationId()

public ListInfoTypesRequest.Builder clearLocationId()

Deprecated. This field has no effect.

string location_id = 3;

Returns
Type Description
ListInfoTypesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListInfoTypesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListInfoTypesRequest.Builder
Overrides

clearParent()

public ListInfoTypesRequest.Builder clearParent()

The parent resource name.

The format of this value is as follows:

 locations/&lt;var&gt;LOCATION_ID&lt;/var&gt;

string parent = 4;

Returns
Type Description
ListInfoTypesRequest.Builder

This builder for chaining.

clone()

public ListInfoTypesRequest.Builder clone()
Returns
Type Description
ListInfoTypesRequest.Builder
Overrides

getDefaultInstanceForType()

public ListInfoTypesRequest getDefaultInstanceForType()
Returns
Type Description
ListInfoTypesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilter()

public String getFilter()

filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.

string filter = 2;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.

string filter = 2;

Returns
Type Description
ByteString

The bytes for filter.

getLanguageCode()

public String 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;

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public 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;

Returns
Type Description
ByteString

The bytes for languageCode.

getLocationId()

public String getLocationId()

Deprecated. This field has no effect.

string location_id = 3;

Returns
Type Description
String

The locationId.

getLocationIdBytes()

public ByteString getLocationIdBytes()

Deprecated. This field has no effect.

string location_id = 3;

Returns
Type Description
ByteString

The bytes for locationId.

getParent()

public String getParent()

The parent resource name.

The format of this value is as follows:

 locations/&lt;var&gt;LOCATION_ID&lt;/var&gt;

string parent = 4;

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

The parent resource name.

The format of this value is as follows:

 locations/&lt;var&gt;LOCATION_ID&lt;/var&gt;

string parent = 4;

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListInfoTypesRequest other)

public ListInfoTypesRequest.Builder mergeFrom(ListInfoTypesRequest other)
Parameter
Name Description
other ListInfoTypesRequest
Returns
Type Description
ListInfoTypesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListInfoTypesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListInfoTypesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListInfoTypesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListInfoTypesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListInfoTypesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListInfoTypesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListInfoTypesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListInfoTypesRequest.Builder
Overrides

setFilter(String value)

public ListInfoTypesRequest.Builder setFilter(String value)

filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.

string filter = 2;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListInfoTypesRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListInfoTypesRequest.Builder setFilterBytes(ByteString value)

filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.

string filter = 2;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListInfoTypesRequest.Builder

This builder for chaining.

setLanguageCode(String value)

public ListInfoTypesRequest.Builder setLanguageCode(String value)

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;

Parameter
Name Description
value String

The languageCode to set.

Returns
Type Description
ListInfoTypesRequest.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public ListInfoTypesRequest.Builder setLanguageCodeBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
ListInfoTypesRequest.Builder

This builder for chaining.

setLocationId(String value)

public ListInfoTypesRequest.Builder setLocationId(String value)

Deprecated. This field has no effect.

string location_id = 3;

Parameter
Name Description
value String

The locationId to set.

Returns
Type Description
ListInfoTypesRequest.Builder

This builder for chaining.

setLocationIdBytes(ByteString value)

public ListInfoTypesRequest.Builder setLocationIdBytes(ByteString value)

Deprecated. This field has no effect.

string location_id = 3;

Parameter
Name Description
value ByteString

The bytes for locationId to set.

Returns
Type Description
ListInfoTypesRequest.Builder

This builder for chaining.

setParent(String value)

public ListInfoTypesRequest.Builder setParent(String value)

The parent resource name.

The format of this value is as follows:

 locations/&lt;var&gt;LOCATION_ID&lt;/var&gt;

string parent = 4;

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListInfoTypesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListInfoTypesRequest.Builder setParentBytes(ByteString value)

The parent resource name.

The format of this value is as follows:

 locations/&lt;var&gt;LOCATION_ID&lt;/var&gt;

string parent = 4;

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListInfoTypesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListInfoTypesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListInfoTypesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListInfoTypesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListInfoTypesRequest.Builder
Overrides