public static final class ListDeidentifyTemplatesResponse.Builder extends GeneratedMessageV3.Builder<ListDeidentifyTemplatesResponse.Builder> implements ListDeidentifyTemplatesResponseOrBuilder
Response message for ListDeidentifyTemplates.
Protobuf type google.privacy.dlp.v2.ListDeidentifyTemplatesResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllDeidentifyTemplates(Iterable<? extends DeidentifyTemplate> values)
public ListDeidentifyTemplatesResponse.Builder addAllDeidentifyTemplates(Iterable<? extends DeidentifyTemplate> values)
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.DeidentifyTemplate>
|
Returns
addDeidentifyTemplates(DeidentifyTemplate value)
public ListDeidentifyTemplatesResponse.Builder addDeidentifyTemplates(DeidentifyTemplate value)
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Parameter
Returns
addDeidentifyTemplates(DeidentifyTemplate.Builder builderForValue)
public ListDeidentifyTemplatesResponse.Builder addDeidentifyTemplates(DeidentifyTemplate.Builder builderForValue)
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Parameter
Returns
addDeidentifyTemplates(int index, DeidentifyTemplate value)
public ListDeidentifyTemplatesResponse.Builder addDeidentifyTemplates(int index, DeidentifyTemplate value)
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Parameters
Returns
addDeidentifyTemplates(int index, DeidentifyTemplate.Builder builderForValue)
public ListDeidentifyTemplatesResponse.Builder addDeidentifyTemplates(int index, DeidentifyTemplate.Builder builderForValue)
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Parameters
Returns
addDeidentifyTemplatesBuilder()
public DeidentifyTemplate.Builder addDeidentifyTemplatesBuilder()
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Returns
addDeidentifyTemplatesBuilder(int index)
public DeidentifyTemplate.Builder addDeidentifyTemplatesBuilder(int index)
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDeidentifyTemplatesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListDeidentifyTemplatesResponse build()
Returns
buildPartial()
public ListDeidentifyTemplatesResponse buildPartial()
Returns
clear()
public ListDeidentifyTemplatesResponse.Builder clear()
Returns
Overrides
clearDeidentifyTemplates()
public ListDeidentifyTemplatesResponse.Builder clearDeidentifyTemplates()
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListDeidentifyTemplatesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListDeidentifyTemplatesResponse.Builder clearNextPageToken()
If the next page is available then the next page token to be used
in following ListDeidentifyTemplates request.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDeidentifyTemplatesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListDeidentifyTemplatesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListDeidentifyTemplatesResponse getDefaultInstanceForType()
Returns
getDeidentifyTemplates(int index)
public DeidentifyTemplate getDeidentifyTemplates(int index)
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Parameter
Returns
getDeidentifyTemplatesBuilder(int index)
public DeidentifyTemplate.Builder getDeidentifyTemplatesBuilder(int index)
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Parameter
Returns
getDeidentifyTemplatesBuilderList()
public List<DeidentifyTemplate.Builder> getDeidentifyTemplatesBuilderList()
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Returns
getDeidentifyTemplatesCount()
public int getDeidentifyTemplatesCount()
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Returns
getDeidentifyTemplatesList()
public List<DeidentifyTemplate> getDeidentifyTemplatesList()
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Returns
getDeidentifyTemplatesOrBuilder(int index)
public DeidentifyTemplateOrBuilder getDeidentifyTemplatesOrBuilder(int index)
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Parameter
Returns
getDeidentifyTemplatesOrBuilderList()
public List<? extends DeidentifyTemplateOrBuilder> getDeidentifyTemplatesOrBuilderList()
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Returns
Type | Description |
List<? extends com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
If the next page is available then the next page token to be used
in following ListDeidentifyTemplates request.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
If the next page is available then the next page token to be used
in following ListDeidentifyTemplates request.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListDeidentifyTemplatesResponse other)
public ListDeidentifyTemplatesResponse.Builder mergeFrom(ListDeidentifyTemplatesResponse other)
Parameter
Returns
public ListDeidentifyTemplatesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListDeidentifyTemplatesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDeidentifyTemplatesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeDeidentifyTemplates(int index)
public ListDeidentifyTemplatesResponse.Builder removeDeidentifyTemplates(int index)
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Parameter
Returns
setDeidentifyTemplates(int index, DeidentifyTemplate value)
public ListDeidentifyTemplatesResponse.Builder setDeidentifyTemplates(int index, DeidentifyTemplate value)
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Parameters
Returns
setDeidentifyTemplates(int index, DeidentifyTemplate.Builder builderForValue)
public ListDeidentifyTemplatesResponse.Builder setDeidentifyTemplates(int index, DeidentifyTemplate.Builder builderForValue)
List of deidentify templates, up to page_size in
ListDeidentifyTemplatesRequest.
repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListDeidentifyTemplatesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListDeidentifyTemplatesResponse.Builder setNextPageToken(String value)
If the next page is available then the next page token to be used
in following ListDeidentifyTemplates request.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListDeidentifyTemplatesResponse.Builder setNextPageTokenBytes(ByteString value)
If the next page is available then the next page token to be used
in following ListDeidentifyTemplates request.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDeidentifyTemplatesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDeidentifyTemplatesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides