public static final class ListInspectTemplatesResponse.Builder extends GeneratedMessageV3.Builder<ListInspectTemplatesResponse.Builder> implements ListInspectTemplatesResponseOrBuilder
Response message for ListInspectTemplates.
Protobuf type google.privacy.dlp.v2.ListInspectTemplatesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllInspectTemplates(Iterable<? extends InspectTemplate> values)
public ListInspectTemplatesResponse.Builder addAllInspectTemplates(Iterable<? extends InspectTemplate> values)
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.InspectTemplate>
|
Returns
addInspectTemplates(InspectTemplate value)
public ListInspectTemplatesResponse.Builder addInspectTemplates(InspectTemplate value)
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Parameter
Returns
addInspectTemplates(InspectTemplate.Builder builderForValue)
public ListInspectTemplatesResponse.Builder addInspectTemplates(InspectTemplate.Builder builderForValue)
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Parameter
Returns
addInspectTemplates(int index, InspectTemplate value)
public ListInspectTemplatesResponse.Builder addInspectTemplates(int index, InspectTemplate value)
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Parameters
Returns
addInspectTemplates(int index, InspectTemplate.Builder builderForValue)
public ListInspectTemplatesResponse.Builder addInspectTemplates(int index, InspectTemplate.Builder builderForValue)
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Parameters
Returns
addInspectTemplatesBuilder()
public InspectTemplate.Builder addInspectTemplatesBuilder()
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Returns
addInspectTemplatesBuilder(int index)
public InspectTemplate.Builder addInspectTemplatesBuilder(int index)
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListInspectTemplatesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListInspectTemplatesResponse build()
Returns
buildPartial()
public ListInspectTemplatesResponse buildPartial()
Returns
clear()
public ListInspectTemplatesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListInspectTemplatesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInspectTemplates()
public ListInspectTemplatesResponse.Builder clearInspectTemplates()
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Returns
clearNextPageToken()
public ListInspectTemplatesResponse.Builder clearNextPageToken()
If the next page is available then the next page token to be used
in following ListInspectTemplates request.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListInspectTemplatesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListInspectTemplatesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListInspectTemplatesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInspectTemplates(int index)
public InspectTemplate getInspectTemplates(int index)
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Parameter
Returns
getInspectTemplatesBuilder(int index)
public InspectTemplate.Builder getInspectTemplatesBuilder(int index)
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Parameter
Returns
getInspectTemplatesBuilderList()
public List<InspectTemplate.Builder> getInspectTemplatesBuilderList()
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Returns
getInspectTemplatesCount()
public int getInspectTemplatesCount()
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Returns
getInspectTemplatesList()
public List<InspectTemplate> getInspectTemplatesList()
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Returns
getInspectTemplatesOrBuilder(int index)
public InspectTemplateOrBuilder getInspectTemplatesOrBuilder(int index)
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Parameter
Returns
getInspectTemplatesOrBuilderList()
public List<? extends InspectTemplateOrBuilder> getInspectTemplatesOrBuilderList()
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Returns
Type | Description |
List<? extends com.google.privacy.dlp.v2.InspectTemplateOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
If the next page is available then the next page token to be used
in following ListInspectTemplates 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 ListInspectTemplates 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(ListInspectTemplatesResponse other)
public ListInspectTemplatesResponse.Builder mergeFrom(ListInspectTemplatesResponse other)
Parameter
Returns
public ListInspectTemplatesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListInspectTemplatesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListInspectTemplatesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeInspectTemplates(int index)
public ListInspectTemplatesResponse.Builder removeInspectTemplates(int index)
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListInspectTemplatesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setInspectTemplates(int index, InspectTemplate value)
public ListInspectTemplatesResponse.Builder setInspectTemplates(int index, InspectTemplate value)
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Parameters
Returns
setInspectTemplates(int index, InspectTemplate.Builder builderForValue)
public ListInspectTemplatesResponse.Builder setInspectTemplates(int index, InspectTemplate.Builder builderForValue)
List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
Parameters
Returns
setNextPageToken(String value)
public ListInspectTemplatesResponse.Builder setNextPageToken(String value)
If the next page is available then the next page token to be used
in following ListInspectTemplates request.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListInspectTemplatesResponse.Builder setNextPageTokenBytes(ByteString value)
If the next page is available then the next page token to be used
in following ListInspectTemplates 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 ListInspectTemplatesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListInspectTemplatesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides