public final class Value extends com.google.protobuf.GeneratedMessageV3 implements ValueOrBuilder
Set of primitive values supported by the system. Note that for the purposes of inspection or transformation, the number of bytes considered to comprise a 'Value' is based on its representation as a UTF-8 encoded string. For example, if 'integer_value' is set to 123456789, the number of bytes would be counted as 9, even though an int64 only holds up to 8 bytes of data.Protobuf type
google.privacy.dlp.v2.Value| Modifier and Type | Class and Description |
|---|---|
static class |
Value.Builder
Set of primitive values supported by the system.
|
static class |
Value.TypeCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BOOLEAN_VALUE_FIELD_NUMBER |
static int |
DATE_VALUE_FIELD_NUMBER |
static int |
DAY_OF_WEEK_VALUE_FIELD_NUMBER |
static int |
FLOAT_VALUE_FIELD_NUMBER |
static int |
INTEGER_VALUE_FIELD_NUMBER |
static int |
STRING_VALUE_FIELD_NUMBER |
static int |
TIME_VALUE_FIELD_NUMBER |
static int |
TIMESTAMP_VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getBooleanValue()
boolean
|
com.google.type.Date |
getDateValue()
date
|
com.google.type.DateOrBuilder |
getDateValueOrBuilder()
date
|
com.google.type.DayOfWeek |
getDayOfWeekValue()
day of week
|
int |
getDayOfWeekValueValue()
day of week
|
static Value |
getDefaultInstance() |
Value |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
double |
getFloatValue()
float
|
long |
getIntegerValue()
integer
|
com.google.protobuf.Parser<Value> |
getParserForType() |
int |
getSerializedSize() |
String |
getStringValue()
string
|
com.google.protobuf.ByteString |
getStringValueBytes()
string
|
com.google.protobuf.Timestamp |
getTimestampValue()
timestamp
|
com.google.protobuf.TimestampOrBuilder |
getTimestampValueOrBuilder()
timestamp
|
com.google.type.TimeOfDay |
getTimeValue()
time of day
|
com.google.type.TimeOfDayOrBuilder |
getTimeValueOrBuilder()
time of day
|
Value.TypeCase |
getTypeCase() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBooleanValue()
boolean
|
boolean |
hasDateValue()
date
|
boolean |
hasDayOfWeekValue()
day of week
|
boolean |
hasFloatValue()
float
|
int |
hashCode() |
boolean |
hasIntegerValue()
integer
|
boolean |
hasStringValue()
string
|
boolean |
hasTimestampValue()
timestamp
|
boolean |
hasTimeValue()
time of day
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Value.Builder |
newBuilder() |
static Value.Builder |
newBuilder(Value prototype) |
Value.Builder |
newBuilderForType() |
protected Value.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Value |
parseDelimitedFrom(InputStream input) |
static Value |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(byte[] data) |
static Value |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(ByteBuffer data) |
static Value |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(com.google.protobuf.ByteString data) |
static Value |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Value |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(InputStream input) |
static Value |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Value> |
parser() |
Value.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int INTEGER_VALUE_FIELD_NUMBER
public static final int FLOAT_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER
public static final int BOOLEAN_VALUE_FIELD_NUMBER
public static final int TIMESTAMP_VALUE_FIELD_NUMBER
public static final int TIME_VALUE_FIELD_NUMBER
public static final int DATE_VALUE_FIELD_NUMBER
public static final int DAY_OF_WEEK_VALUE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Value.TypeCase getTypeCase()
getTypeCase in interface ValueOrBuilderpublic boolean hasIntegerValue()
integer
int64 integer_value = 1;hasIntegerValue in interface ValueOrBuilderpublic long getIntegerValue()
integer
int64 integer_value = 1;getIntegerValue in interface ValueOrBuilderpublic boolean hasFloatValue()
float
double float_value = 2;hasFloatValue in interface ValueOrBuilderpublic double getFloatValue()
float
double float_value = 2;getFloatValue in interface ValueOrBuilderpublic boolean hasStringValue()
string
string string_value = 3;hasStringValue in interface ValueOrBuilderpublic String getStringValue()
string
string string_value = 3;getStringValue in interface ValueOrBuilderpublic com.google.protobuf.ByteString getStringValueBytes()
string
string string_value = 3;getStringValueBytes in interface ValueOrBuilderpublic boolean hasBooleanValue()
boolean
bool boolean_value = 4;hasBooleanValue in interface ValueOrBuilderpublic boolean getBooleanValue()
boolean
bool boolean_value = 4;getBooleanValue in interface ValueOrBuilderpublic boolean hasTimestampValue()
timestamp
.google.protobuf.Timestamp timestamp_value = 5;hasTimestampValue in interface ValueOrBuilderpublic com.google.protobuf.Timestamp getTimestampValue()
timestamp
.google.protobuf.Timestamp timestamp_value = 5;getTimestampValue in interface ValueOrBuilderpublic com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder()
timestamp
.google.protobuf.Timestamp timestamp_value = 5;getTimestampValueOrBuilder in interface ValueOrBuilderpublic boolean hasTimeValue()
time of day
.google.type.TimeOfDay time_value = 6;hasTimeValue in interface ValueOrBuilderpublic com.google.type.TimeOfDay getTimeValue()
time of day
.google.type.TimeOfDay time_value = 6;getTimeValue in interface ValueOrBuilderpublic com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder()
time of day
.google.type.TimeOfDay time_value = 6;getTimeValueOrBuilder in interface ValueOrBuilderpublic boolean hasDateValue()
date
.google.type.Date date_value = 7;hasDateValue in interface ValueOrBuilderpublic com.google.type.Date getDateValue()
date
.google.type.Date date_value = 7;getDateValue in interface ValueOrBuilderpublic com.google.type.DateOrBuilder getDateValueOrBuilder()
date
.google.type.Date date_value = 7;getDateValueOrBuilder in interface ValueOrBuilderpublic boolean hasDayOfWeekValue()
day of week
.google.type.DayOfWeek day_of_week_value = 8;hasDayOfWeekValue in interface ValueOrBuilderpublic int getDayOfWeekValueValue()
day of week
.google.type.DayOfWeek day_of_week_value = 8;getDayOfWeekValueValue in interface ValueOrBuilderpublic com.google.type.DayOfWeek getDayOfWeekValue()
day of week
.google.type.DayOfWeek day_of_week_value = 8;getDayOfWeekValue in interface ValueOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Value parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Value parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Value parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Value parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Value parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Value parseFrom(InputStream input) throws IOException
IOExceptionpublic static Value parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Value parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Value parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Value parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Value parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Value.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Value.Builder newBuilder()
public static Value.Builder newBuilder(Value prototype)
public Value.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Value.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Value getDefaultInstance()
public static com.google.protobuf.Parser<Value> parser()
public com.google.protobuf.Parser<Value> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Value getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.