Class Property (0.6.0)

public final class Property extends GeneratedMessageV3 implements PropertyOrBuilder

Property of a document.

Protobuf type google.cloud.contentwarehouse.v1.Property

Implements

PropertyOrBuilder

Static Fields

DATE_TIME_VALUES_FIELD_NUMBER

public static final int DATE_TIME_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

ENUM_VALUES_FIELD_NUMBER

public static final int ENUM_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

FLOAT_VALUES_FIELD_NUMBER

public static final int FLOAT_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

INTEGER_VALUES_FIELD_NUMBER

public static final int INTEGER_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

MAP_PROPERTY_FIELD_NUMBER

public static final int MAP_PROPERTY_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PROPERTY_VALUES_FIELD_NUMBER

public static final int PROPERTY_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

TEXT_VALUES_FIELD_NUMBER

public static final int TEXT_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

TIMESTAMP_VALUES_FIELD_NUMBER

public static final int TIMESTAMP_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Property getDefaultInstance()
Returns
TypeDescription
Property

getDescriptor()

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

newBuilder()

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

newBuilder(Property prototype)

public static Property.Builder newBuilder(Property prototype)
Parameter
NameDescription
prototypeProperty
Returns
TypeDescription
Property.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDateTimeValues()

public DateTimeArray getDateTimeValues()

Date time property values. It is not supported by CMEK compliant deployment.

.google.cloud.contentwarehouse.v1.DateTimeArray date_time_values = 7;

Returns
TypeDescription
DateTimeArray

The dateTimeValues.

getDateTimeValuesOrBuilder()

public DateTimeArrayOrBuilder getDateTimeValuesOrBuilder()

Date time property values. It is not supported by CMEK compliant deployment.

.google.cloud.contentwarehouse.v1.DateTimeArray date_time_values = 7;

Returns
TypeDescription
DateTimeArrayOrBuilder

getDefaultInstanceForType()

public Property getDefaultInstanceForType()
Returns
TypeDescription
Property

getEnumValues()

public EnumArray getEnumValues()

Enum property values.

.google.cloud.contentwarehouse.v1.EnumArray enum_values = 5;

Returns
TypeDescription
EnumArray

The enumValues.

getEnumValuesOrBuilder()

public EnumArrayOrBuilder getEnumValuesOrBuilder()

Enum property values.

.google.cloud.contentwarehouse.v1.EnumArray enum_values = 5;

Returns
TypeDescription
EnumArrayOrBuilder

getFloatValues()

public FloatArray getFloatValues()

Float property values.

.google.cloud.contentwarehouse.v1.FloatArray float_values = 3;

Returns
TypeDescription
FloatArray

The floatValues.

getFloatValuesOrBuilder()

public FloatArrayOrBuilder getFloatValuesOrBuilder()

Float property values.

.google.cloud.contentwarehouse.v1.FloatArray float_values = 3;

Returns
TypeDescription
FloatArrayOrBuilder

getIntegerValues()

public IntegerArray getIntegerValues()

Integer property values.

.google.cloud.contentwarehouse.v1.IntegerArray integer_values = 2;

Returns
TypeDescription
IntegerArray

The integerValues.

getIntegerValuesOrBuilder()

public IntegerArrayOrBuilder getIntegerValuesOrBuilder()

Integer property values.

.google.cloud.contentwarehouse.v1.IntegerArray integer_values = 2;

Returns
TypeDescription
IntegerArrayOrBuilder

getMapProperty()

public MapProperty getMapProperty()

Map property values.

.google.cloud.contentwarehouse.v1.MapProperty map_property = 8;

Returns
TypeDescription
MapProperty

The mapProperty.

getMapPropertyOrBuilder()

public MapPropertyOrBuilder getMapPropertyOrBuilder()

Map property values.

.google.cloud.contentwarehouse.v1.MapProperty map_property = 8;

Returns
TypeDescription
MapPropertyOrBuilder

getName()

public String getName()

Required. Must match the name of a PropertyDefinition in the DocumentSchema.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Must match the name of a PropertyDefinition in the DocumentSchema.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getPropertyValues()

public PropertyArray getPropertyValues()

Nested structured data property values.

.google.cloud.contentwarehouse.v1.PropertyArray property_values = 6;

Returns
TypeDescription
PropertyArray

The propertyValues.

getPropertyValuesOrBuilder()

public PropertyArrayOrBuilder getPropertyValuesOrBuilder()

Nested structured data property values.

.google.cloud.contentwarehouse.v1.PropertyArray property_values = 6;

Returns
TypeDescription
PropertyArrayOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTextValues()

public TextArray getTextValues()

String/text property values.

.google.cloud.contentwarehouse.v1.TextArray text_values = 4;

Returns
TypeDescription
TextArray

The textValues.

getTextValuesOrBuilder()

public TextArrayOrBuilder getTextValuesOrBuilder()

String/text property values.

.google.cloud.contentwarehouse.v1.TextArray text_values = 4;

Returns
TypeDescription
TextArrayOrBuilder

getTimestampValues()

public TimestampArray getTimestampValues()

Timestamp property values. It is not supported by CMEK compliant deployment.

.google.cloud.contentwarehouse.v1.TimestampArray timestamp_values = 9;

Returns
TypeDescription
TimestampArray

The timestampValues.

getTimestampValuesOrBuilder()

public TimestampArrayOrBuilder getTimestampValuesOrBuilder()

Timestamp property values. It is not supported by CMEK compliant deployment.

.google.cloud.contentwarehouse.v1.TimestampArray timestamp_values = 9;

Returns
TypeDescription
TimestampArrayOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValuesCase()

public Property.ValuesCase getValuesCase()
Returns
TypeDescription
Property.ValuesCase

hasDateTimeValues()

public boolean hasDateTimeValues()

Date time property values. It is not supported by CMEK compliant deployment.

.google.cloud.contentwarehouse.v1.DateTimeArray date_time_values = 7;

Returns
TypeDescription
boolean

Whether the dateTimeValues field is set.

hasEnumValues()

public boolean hasEnumValues()

Enum property values.

.google.cloud.contentwarehouse.v1.EnumArray enum_values = 5;

Returns
TypeDescription
boolean

Whether the enumValues field is set.

hasFloatValues()

public boolean hasFloatValues()

Float property values.

.google.cloud.contentwarehouse.v1.FloatArray float_values = 3;

Returns
TypeDescription
boolean

Whether the floatValues field is set.

hasIntegerValues()

public boolean hasIntegerValues()

Integer property values.

.google.cloud.contentwarehouse.v1.IntegerArray integer_values = 2;

Returns
TypeDescription
boolean

Whether the integerValues field is set.

hasMapProperty()

public boolean hasMapProperty()

Map property values.

.google.cloud.contentwarehouse.v1.MapProperty map_property = 8;

Returns
TypeDescription
boolean

Whether the mapProperty field is set.

hasPropertyValues()

public boolean hasPropertyValues()

Nested structured data property values.

.google.cloud.contentwarehouse.v1.PropertyArray property_values = 6;

Returns
TypeDescription
boolean

Whether the propertyValues field is set.

hasTextValues()

public boolean hasTextValues()

String/text property values.

.google.cloud.contentwarehouse.v1.TextArray text_values = 4;

Returns
TypeDescription
boolean

Whether the textValues field is set.

hasTimestampValues()

public boolean hasTimestampValues()

Timestamp property values. It is not supported by CMEK compliant deployment.

.google.cloud.contentwarehouse.v1.TimestampArray timestamp_values = 9;

Returns
TypeDescription
boolean

Whether the timestampValues field is set.

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 Property.Builder newBuilderForType()
Returns
TypeDescription
Property.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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