public final class Value extends GeneratedMessageV3 implements ValueOrBuilder
Set of primitive values supported by the system.Protobuf type
google.privacy.dlp.v2beta1.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 |
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, unknownFieldsmemoizedSizememoizedHashCode| 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; |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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 final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public Value.TypeCase getTypeCase()
getTypeCase in interface ValueOrBuilderpublic long getIntegerValue()
int64 integer_value = 1;getIntegerValue in interface ValueOrBuilderpublic double getFloatValue()
double float_value = 2;getFloatValue in interface ValueOrBuilderpublic java.lang.String getStringValue()
string string_value = 3;getStringValue in interface ValueOrBuilderpublic ByteString getStringValueBytes()
string string_value = 3;getStringValueBytes in interface ValueOrBuilderpublic boolean getBooleanValue()
bool boolean_value = 4;getBooleanValue in interface ValueOrBuilderpublic boolean hasTimestampValue()
.google.protobuf.Timestamp timestamp_value = 5;hasTimestampValue in interface ValueOrBuilderpublic Timestamp getTimestampValue()
.google.protobuf.Timestamp timestamp_value = 5;getTimestampValue in interface ValueOrBuilderpublic TimestampOrBuilder getTimestampValueOrBuilder()
.google.protobuf.Timestamp timestamp_value = 5;getTimestampValueOrBuilder in interface ValueOrBuilderpublic boolean hasTimeValue()
.google.type.TimeOfDay time_value = 6;hasTimeValue in interface ValueOrBuilderpublic TimeOfDay getTimeValue()
.google.type.TimeOfDay time_value = 6;getTimeValue in interface ValueOrBuilderpublic TimeOfDayOrBuilder getTimeValueOrBuilder()
.google.type.TimeOfDay time_value = 6;getTimeValueOrBuilder in interface ValueOrBuilderpublic boolean hasDateValue()
.google.type.Date date_value = 7;hasDateValue in interface ValueOrBuilderpublic Date getDateValue()
.google.type.Date date_value = 7;getDateValue in interface ValueOrBuilderpublic DateOrBuilder getDateValueOrBuilder()
.google.type.Date date_value = 7;getDateValueOrBuilder in interface ValueOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Value parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Value parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Value parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Value parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Value parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Value parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Value parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Value parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Value parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Value parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Value parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Value parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Value.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Value.Builder newBuilder()
public static Value.Builder newBuilder(Value prototype)
public Value.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Value.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Value getDefaultInstance()
public Parser<Value> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Value getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder