Class ListStoredInfoTypesResponse.Builder (3.31.0)

public static final class ListStoredInfoTypesResponse.Builder extends GeneratedMessageV3.Builder<ListStoredInfoTypesResponse.Builder> implements ListStoredInfoTypesResponseOrBuilder

Response message for ListStoredInfoTypes.

Protobuf type google.privacy.dlp.v2.ListStoredInfoTypesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllStoredInfoTypes(Iterable<? extends StoredInfoType> values)

public ListStoredInfoTypesResponse.Builder addAllStoredInfoTypes(Iterable<? extends StoredInfoType> values)

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.StoredInfoType>
Returns
TypeDescription
ListStoredInfoTypesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addStoredInfoTypes(StoredInfoType value)

public ListStoredInfoTypesResponse.Builder addStoredInfoTypes(StoredInfoType value)

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Parameter
NameDescription
valueStoredInfoType
Returns
TypeDescription
ListStoredInfoTypesResponse.Builder

addStoredInfoTypes(StoredInfoType.Builder builderForValue)

public ListStoredInfoTypesResponse.Builder addStoredInfoTypes(StoredInfoType.Builder builderForValue)

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Parameter
NameDescription
builderForValueStoredInfoType.Builder
Returns
TypeDescription
ListStoredInfoTypesResponse.Builder

addStoredInfoTypes(int index, StoredInfoType value)

public ListStoredInfoTypesResponse.Builder addStoredInfoTypes(int index, StoredInfoType value)

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Parameters
NameDescription
indexint
valueStoredInfoType
Returns
TypeDescription
ListStoredInfoTypesResponse.Builder

addStoredInfoTypes(int index, StoredInfoType.Builder builderForValue)

public ListStoredInfoTypesResponse.Builder addStoredInfoTypes(int index, StoredInfoType.Builder builderForValue)

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Parameters
NameDescription
indexint
builderForValueStoredInfoType.Builder
Returns
TypeDescription
ListStoredInfoTypesResponse.Builder

addStoredInfoTypesBuilder()

public StoredInfoType.Builder addStoredInfoTypesBuilder()

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Returns
TypeDescription
StoredInfoType.Builder

addStoredInfoTypesBuilder(int index)

public StoredInfoType.Builder addStoredInfoTypesBuilder(int index)

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StoredInfoType.Builder

build()

public ListStoredInfoTypesResponse build()
Returns
TypeDescription
ListStoredInfoTypesResponse

buildPartial()

public ListStoredInfoTypesResponse buildPartial()
Returns
TypeDescription
ListStoredInfoTypesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListStoredInfoTypesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListStoredInfoTypesResponse.Builder
Overrides

clearNextPageToken()

public ListStoredInfoTypesResponse.Builder clearNextPageToken()

If the next page is available then the next page token to be used in following ListStoredInfoTypes request.

string next_page_token = 2;

Returns
TypeDescription
ListStoredInfoTypesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStoredInfoTypes()

public ListStoredInfoTypesResponse.Builder clearStoredInfoTypes()

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Returns
TypeDescription
ListStoredInfoTypesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListStoredInfoTypesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListStoredInfoTypesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

If the next page is available then the next page token to be used in following ListStoredInfoTypes request.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If the next page is available then the next page token to be used in following ListStoredInfoTypes request.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getStoredInfoTypes(int index)

public StoredInfoType getStoredInfoTypes(int index)

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StoredInfoType

getStoredInfoTypesBuilder(int index)

public StoredInfoType.Builder getStoredInfoTypesBuilder(int index)

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StoredInfoType.Builder

getStoredInfoTypesBuilderList()

public List<StoredInfoType.Builder> getStoredInfoTypesBuilderList()

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Returns
TypeDescription
List<Builder>

getStoredInfoTypesCount()

public int getStoredInfoTypesCount()

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Returns
TypeDescription
int

getStoredInfoTypesList()

public List<StoredInfoType> getStoredInfoTypesList()

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Returns
TypeDescription
List<StoredInfoType>

getStoredInfoTypesOrBuilder(int index)

public StoredInfoTypeOrBuilder getStoredInfoTypesOrBuilder(int index)

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StoredInfoTypeOrBuilder

getStoredInfoTypesOrBuilderList()

public List<? extends StoredInfoTypeOrBuilder> getStoredInfoTypesOrBuilderList()

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListStoredInfoTypesResponse other)

public ListStoredInfoTypesResponse.Builder mergeFrom(ListStoredInfoTypesResponse other)
Parameter
NameDescription
otherListStoredInfoTypesResponse
Returns
TypeDescription
ListStoredInfoTypesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeStoredInfoTypes(int index)

public ListStoredInfoTypesResponse.Builder removeStoredInfoTypes(int index)

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListStoredInfoTypesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListStoredInfoTypesResponse.Builder setNextPageToken(String value)

If the next page is available then the next page token to be used in following ListStoredInfoTypes request.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListStoredInfoTypesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListStoredInfoTypesResponse.Builder setNextPageTokenBytes(ByteString value)

If the next page is available then the next page token to be used in following ListStoredInfoTypes request.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListStoredInfoTypesResponse.Builder

This builder for chaining.

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

public ListStoredInfoTypesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListStoredInfoTypesResponse.Builder
Overrides

setStoredInfoTypes(int index, StoredInfoType value)

public ListStoredInfoTypesResponse.Builder setStoredInfoTypes(int index, StoredInfoType value)

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Parameters
NameDescription
indexint
valueStoredInfoType
Returns
TypeDescription
ListStoredInfoTypesResponse.Builder

setStoredInfoTypes(int index, StoredInfoType.Builder builderForValue)

public ListStoredInfoTypesResponse.Builder setStoredInfoTypes(int index, StoredInfoType.Builder builderForValue)

List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.

repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;

Parameters
NameDescription
indexint
builderForValueStoredInfoType.Builder
Returns
TypeDescription
ListStoredInfoTypesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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