Class ListDiscoveryConfigsResponse (3.40.0)

public final class ListDiscoveryConfigsResponse extends GeneratedMessageV3 implements ListDiscoveryConfigsResponseOrBuilder

Response message for ListDiscoveryConfigs.

Protobuf type google.privacy.dlp.v2.ListDiscoveryConfigsResponse

Static Fields

DISCOVERY_CONFIGS_FIELD_NUMBER

public static final int DISCOVERY_CONFIGS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListDiscoveryConfigsResponse getDefaultInstance()
Returns
TypeDescription
ListDiscoveryConfigsResponse

getDescriptor()

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

newBuilder()

public static ListDiscoveryConfigsResponse.Builder newBuilder()
Returns
TypeDescription
ListDiscoveryConfigsResponse.Builder

newBuilder(ListDiscoveryConfigsResponse prototype)

public static ListDiscoveryConfigsResponse.Builder newBuilder(ListDiscoveryConfigsResponse prototype)
Parameter
NameDescription
prototypeListDiscoveryConfigsResponse
Returns
TypeDescription
ListDiscoveryConfigsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListDiscoveryConfigsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListDiscoveryConfigsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDiscoveryConfigsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDiscoveryConfigsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListDiscoveryConfigsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListDiscoveryConfigsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListDiscoveryConfigsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDiscoveryConfigsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListDiscoveryConfigsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListDiscoveryConfigsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListDiscoveryConfigsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDiscoveryConfigsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListDiscoveryConfigsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListDiscoveryConfigsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDiscoveryConfigsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDiscoveryConfigsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListDiscoveryConfigsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListDiscoveryConfigsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDiscoveryConfigsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDiscoveryConfigsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListDiscoveryConfigsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListDiscoveryConfigsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListDiscoveryConfigsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDiscoveryConfigsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListDiscoveryConfigsResponse> parser()
Returns
TypeDescription
Parser<ListDiscoveryConfigsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListDiscoveryConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDiscoveryConfigsResponse

getDiscoveryConfigs(int index)

public DiscoveryConfig getDiscoveryConfigs(int index)

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DiscoveryConfig

getDiscoveryConfigsCount()

public int getDiscoveryConfigsCount()

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Returns
TypeDescription
int

getDiscoveryConfigsList()

public List<DiscoveryConfig> getDiscoveryConfigsList()

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Returns
TypeDescription
List<DiscoveryConfig>

getDiscoveryConfigsOrBuilder(int index)

public DiscoveryConfigOrBuilder getDiscoveryConfigsOrBuilder(int index)

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DiscoveryConfigOrBuilder

getDiscoveryConfigsOrBuilderList()

public List<? extends DiscoveryConfigOrBuilder> getDiscoveryConfigsOrBuilderList()

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

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

getNextPageToken()

public String getNextPageToken()

If the next page is available then this value is the next page token to be used in the following ListDiscoveryConfigs request.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If the next page is available then this value is the next page token to be used in the following ListDiscoveryConfigs request.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListDiscoveryConfigsResponse> getParserForType()
Returns
TypeDescription
Parser<ListDiscoveryConfigsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListDiscoveryConfigsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListDiscoveryConfigsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListDiscoveryConfigsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListDiscoveryConfigsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListDiscoveryConfigsResponse.Builder toBuilder()
Returns
TypeDescription
ListDiscoveryConfigsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException