public final class Value extends 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 |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
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 |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
getBooleanValue()
bool boolean_value = 4; |
Date |
getDateValue()
.google.type.Date date_value = 7; |
DateOrBuilder |
getDateValueOrBuilder()
.google.type.Date date_value = 7; |
DayOfWeek |
getDayOfWeekValue()
.google.type.DayOfWeek day_of_week_value = 8; |
int |
getDayOfWeekValueValue()
.google.type.DayOfWeek day_of_week_value = 8; |
static Value |
getDefaultInstance() |
Value |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
double |
getFloatValue()
double float_value = 2; |
long |
getIntegerValue()
int64 integer_value = 1; |
Parser<Value> |
getParserForType() |
int |
getSerializedSize() |
java.lang.String |
getStringValue()
string string_value = 3; |
ByteString |
getStringValueBytes()
string string_value = 3; |
Timestamp |
getTimestampValue()
.google.protobuf.Timestamp timestamp_value = 5; |
TimestampOrBuilder |
getTimestampValueOrBuilder()
.google.protobuf.Timestamp timestamp_value = 5; |
TimeOfDay |
getTimeValue()
.google.type.TimeOfDay time_value = 6; |
TimeOfDayOrBuilder |
getTimeValueOrBuilder()
.google.type.TimeOfDay time_value = 6; |
Value.TypeCase |
getTypeCase() |
UnknownFieldSet |
getUnknownFields() |
boolean |
hasDateValue()
.google.type.Date date_value = 7; |
int |
hashCode() |
boolean |
hasTimestampValue()
.google.protobuf.Timestamp timestamp_value = 5; |
boolean |
hasTimeValue()
.google.type.TimeOfDay time_value = 6; |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Value.Builder |
newBuilder() |
static Value.Builder |
newBuilder(Value prototype) |
Value.Builder |
newBuilderForType() |
protected Value.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static Value |
parseDelimitedFrom(java.io.InputStream input) |
static Value |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(byte[] data) |
static Value |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(java.nio.ByteBuffer data) |
static Value |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(ByteString data) |
static Value |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(CodedInputStream input) |
static Value |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(java.io.InputStream input) |
static Value |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Value> |
parser() |
Value.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public Value.TypeCase getTypeCase()
getTypeCase
in interface ValueOrBuilder
public long getIntegerValue()
int64 integer_value = 1;
getIntegerValue
in interface ValueOrBuilder
public double getFloatValue()
double float_value = 2;
getFloatValue
in interface ValueOrBuilder
public java.lang.String getStringValue()
string string_value = 3;
getStringValue
in interface ValueOrBuilder
public ByteString getStringValueBytes()
string string_value = 3;
getStringValueBytes
in interface ValueOrBuilder
public boolean getBooleanValue()
bool boolean_value = 4;
getBooleanValue
in interface ValueOrBuilder
public boolean hasTimestampValue()
.google.protobuf.Timestamp timestamp_value = 5;
hasTimestampValue
in interface ValueOrBuilder
public Timestamp getTimestampValue()
.google.protobuf.Timestamp timestamp_value = 5;
getTimestampValue
in interface ValueOrBuilder
public TimestampOrBuilder getTimestampValueOrBuilder()
.google.protobuf.Timestamp timestamp_value = 5;
getTimestampValueOrBuilder
in interface ValueOrBuilder
public boolean hasTimeValue()
.google.type.TimeOfDay time_value = 6;
hasTimeValue
in interface ValueOrBuilder
public TimeOfDay getTimeValue()
.google.type.TimeOfDay time_value = 6;
getTimeValue
in interface ValueOrBuilder
public TimeOfDayOrBuilder getTimeValueOrBuilder()
.google.type.TimeOfDay time_value = 6;
getTimeValueOrBuilder
in interface ValueOrBuilder
public boolean hasDateValue()
.google.type.Date date_value = 7;
hasDateValue
in interface ValueOrBuilder
public Date getDateValue()
.google.type.Date date_value = 7;
getDateValue
in interface ValueOrBuilder
public DateOrBuilder getDateValueOrBuilder()
.google.type.Date date_value = 7;
getDateValueOrBuilder
in interface ValueOrBuilder
public int getDayOfWeekValueValue()
.google.type.DayOfWeek day_of_week_value = 8;
getDayOfWeekValueValue
in interface ValueOrBuilder
public DayOfWeek getDayOfWeekValue()
.google.type.DayOfWeek day_of_week_value = 8;
getDayOfWeekValue
in interface ValueOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Value parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Value parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Value parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Value parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Value parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Value parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Value parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Value parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Value parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Value parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Value parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Value parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Value.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Value.Builder newBuilder()
public static Value.Builder newBuilder(Value prototype)
public Value.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Value.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Value getDefaultInstance()
public Parser<Value> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Value getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder