Class ListInfoTypesRequest.Builder (3.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListInfoTypesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListInfoTypesRequest.Builder
Overrides

build()

public ListInfoTypesRequest build()
Returns
TypeDescription
ListInfoTypesRequest

buildPartial()

public ListInfoTypesRequest buildPartial()
Returns
TypeDescription
ListInfoTypesRequest

clear()

public ListInfoTypesRequest.Builder clear()
Returns
TypeDescription
ListInfoTypesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListInfoTypesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListInfoTypesRequest.Builder

This builder for chaining.

clearLocationId()

public ListInfoTypesRequest.Builder clearLocationId()

Deprecated. This field has no effect.

string location_id = 3;

Returns
TypeDescription
ListInfoTypesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListInfoTypesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListInfoTypesRequest.Builder
Overrides

clearParent()

public ListInfoTypesRequest.Builder clearParent()

The parent resource name. The format of this value is as follows: locations/<var>LOCATION_ID</var>

string parent = 4;

Returns
TypeDescription
ListInfoTypesRequest.Builder

This builder for chaining.

clone()

public ListInfoTypesRequest.Builder clone()
Returns
TypeDescription
ListInfoTypesRequest.Builder
Overrides

getDefaultInstanceForType()

public ListInfoTypesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListInfoTypesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for languageCode.

getLocationId()

public String getLocationId()

Deprecated. This field has no effect.

string location_id = 3;

Returns
TypeDescription
String

The locationId.

getLocationIdBytes()

public ByteString getLocationIdBytes()

Deprecated. This field has no effect.

string location_id = 3;

Returns
TypeDescription
ByteString

The bytes for locationId.

getParent()

public String getParent()

The parent resource name. The format of this value is as follows: locations/<var>LOCATION_ID</var>

string parent = 4;

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

The parent resource name. The format of this value is as follows: locations/<var>LOCATION_ID</var>

string parent = 4;

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListInfoTypesRequest other)

public ListInfoTypesRequest.Builder mergeFrom(ListInfoTypesRequest other)
Parameter
NameDescription
otherListInfoTypesRequest
Returns
TypeDescription
ListInfoTypesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListInfoTypesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListInfoTypesRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListInfoTypesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListInfoTypesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListInfoTypesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListInfoTypesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListInfoTypesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The filter to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
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
NameDescription
valueString

The languageCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for languageCode to set.

Returns
TypeDescription
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
NameDescription
valueString

The locationId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for locationId to set.

Returns
TypeDescription
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/<var>LOCATION_ID</var>

string parent = 4;

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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/<var>LOCATION_ID</var>

string parent = 4;

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListInfoTypesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListInfoTypesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListInfoTypesRequest.Builder
Overrides