Class StringValueBatch (3.97.0)

public final class StringValueBatch extends GeneratedMessage implements StringValueBatchOrBuilder

Represents a batch of string values to inspect or redact.

Protobuf type google.privacy.dlp.v2.StringValueBatch

Static Fields

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StringValueBatch getDefaultInstance()
Returns
Type Description
StringValueBatch

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StringValueBatch.Builder newBuilder()
Returns
Type Description
StringValueBatch.Builder

newBuilder(StringValueBatch prototype)

public static StringValueBatch.Builder newBuilder(StringValueBatch prototype)
Parameter
Name Description
prototype StringValueBatch
Returns
Type Description
StringValueBatch.Builder

parseDelimitedFrom(InputStream input)

public static StringValueBatch parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StringValueBatch
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StringValueBatch parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StringValueBatch
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StringValueBatch parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StringValueBatch
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StringValueBatch parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StringValueBatch
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StringValueBatch parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StringValueBatch
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StringValueBatch parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StringValueBatch
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StringValueBatch parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StringValueBatch
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StringValueBatch parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StringValueBatch
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StringValueBatch parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StringValueBatch
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StringValueBatch parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StringValueBatch
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StringValueBatch parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StringValueBatch
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StringValueBatch parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StringValueBatch
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StringValueBatch> parser()
Returns
Type Description
Parser<StringValueBatch>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StringValueBatch getDefaultInstanceForType()
Returns
Type Description
StringValueBatch

getParserForType()

public Parser<StringValueBatch> getParserForType()
Returns
Type Description
Parser<StringValueBatch>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValues(int index)

public String getValues(int index)

Optional. Represents string data to inspect or redact.

repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The values at the given index.

getValuesBytes(int index)

public ByteString getValuesBytes(int index)

Optional. Represents string data to inspect or redact.

repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the values at the given index.

getValuesCount()

public int getValuesCount()

Optional. Represents string data to inspect or redact.

repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of values.

getValuesList()

public ProtocolStringList getValuesList()

Optional. Represents string data to inspect or redact.

repeated string values = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the values.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StringValueBatch.Builder newBuilderForType()
Returns
Type Description
StringValueBatch.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected StringValueBatch.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StringValueBatch.Builder
Overrides

toBuilder()

public StringValueBatch.Builder toBuilder()
Returns
Type Description
StringValueBatch.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException