Package com.cognite.client.dto
Class Annotation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.cognite.client.dto.Annotation
- All Implemented Interfaces:
AnnotationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Annotation
extends com.google.protobuf.GeneratedMessageV3
implements AnnotationOrBuilder
Protobuf type
com.cognite.client.dto.Annotation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumProtobuf enumcom.cognite.client.dto.Annotation.AnnotationTypestatic final classProtobuf typecom.cognite.client.dto.AnnotationNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongint64 annotated_resource_id = 3;.com.cognite.client.dto.Annotation.AnnotationType annotated_resource_type = 2;int.com.cognite.client.dto.Annotation.AnnotationType annotated_resource_type = 2;longoptional int64 created_time = 9;optional string creating_app = 4;com.google.protobuf.ByteStringoptional string creating_app = 4;optional string creating_app_version = 5;com.google.protobuf.ByteStringoptional string creating_app_version = 5;optional string creating_user = 6;com.google.protobuf.ByteStringoptional string creating_user = 6;static Annotationstatic final com.google.protobuf.Descriptors.DescriptorlonggetId()optional int64 id = 1;longoptional int64 last_updated_time = 10;com.google.protobuf.Parser<Annotation>intstring status = 8;com.google.protobuf.ByteStringstring status = 8;booleanoptional int64 created_time = 9;booleanoptional string creating_app = 4;booleanoptional string creating_app_version = 5;booleanoptional string creating_user = 6;inthashCode()booleanhasId()optional int64 id = 1;booleanoptional int64 last_updated_time = 10;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Annotation.Builderstatic Annotation.BuildernewBuilder(Annotation prototype) protected Annotation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AnnotationparseDelimitedFrom(InputStream input) static AnnotationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotationparseFrom(byte[] data) static AnnotationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotationparseFrom(com.google.protobuf.ByteString data) static AnnotationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotationparseFrom(com.google.protobuf.CodedInputStream input) static AnnotationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotationparseFrom(InputStream input) static AnnotationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotationparseFrom(ByteBuffer data) static AnnotationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Annotation>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
ANNOTATED_RESOURCE_TYPE_FIELD_NUMBER
public static final int ANNOTATED_RESOURCE_TYPE_FIELD_NUMBER- See Also:
-
ANNOTATED_RESOURCE_ID_FIELD_NUMBER
public static final int ANNOTATED_RESOURCE_ID_FIELD_NUMBER- See Also:
-
CREATING_APP_FIELD_NUMBER
public static final int CREATING_APP_FIELD_NUMBER- See Also:
-
CREATING_APP_VERSION_FIELD_NUMBER
public static final int CREATING_APP_VERSION_FIELD_NUMBER- See Also:
-
CREATING_USER_FIELD_NUMBER
public static final int CREATING_USER_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
CREATED_TIME_FIELD_NUMBER
public static final int CREATED_TIME_FIELD_NUMBER- See Also:
-
LAST_UPDATED_TIME_FIELD_NUMBER
public static final int LAST_UPDATED_TIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasId
public boolean hasId()optional int64 id = 1;- Specified by:
hasIdin interfaceAnnotationOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()optional int64 id = 1;- Specified by:
getIdin interfaceAnnotationOrBuilder- Returns:
- The id.
-
getAnnotatedResourceTypeValue
public int getAnnotatedResourceTypeValue().com.cognite.client.dto.Annotation.AnnotationType annotated_resource_type = 2;- Specified by:
getAnnotatedResourceTypeValuein interfaceAnnotationOrBuilder- Returns:
- The enum numeric value on the wire for annotatedResourceType.
-
getAnnotatedResourceType
.com.cognite.client.dto.Annotation.AnnotationType annotated_resource_type = 2;- Specified by:
getAnnotatedResourceTypein interfaceAnnotationOrBuilder- Returns:
- The annotatedResourceType.
-
getAnnotatedResourceId
public long getAnnotatedResourceId()int64 annotated_resource_id = 3;- Specified by:
getAnnotatedResourceIdin interfaceAnnotationOrBuilder- Returns:
- The annotatedResourceId.
-
hasCreatingApp
public boolean hasCreatingApp()optional string creating_app = 4;- Specified by:
hasCreatingAppin interfaceAnnotationOrBuilder- Returns:
- Whether the creatingApp field is set.
-
getCreatingApp
optional string creating_app = 4;- Specified by:
getCreatingAppin interfaceAnnotationOrBuilder- Returns:
- The creatingApp.
-
getCreatingAppBytes
public com.google.protobuf.ByteString getCreatingAppBytes()optional string creating_app = 4;- Specified by:
getCreatingAppBytesin interfaceAnnotationOrBuilder- Returns:
- The bytes for creatingApp.
-
hasCreatingAppVersion
public boolean hasCreatingAppVersion()optional string creating_app_version = 5;- Specified by:
hasCreatingAppVersionin interfaceAnnotationOrBuilder- Returns:
- Whether the creatingAppVersion field is set.
-
getCreatingAppVersion
optional string creating_app_version = 5;- Specified by:
getCreatingAppVersionin interfaceAnnotationOrBuilder- Returns:
- The creatingAppVersion.
-
getCreatingAppVersionBytes
public com.google.protobuf.ByteString getCreatingAppVersionBytes()optional string creating_app_version = 5;- Specified by:
getCreatingAppVersionBytesin interfaceAnnotationOrBuilder- Returns:
- The bytes for creatingAppVersion.
-
hasCreatingUser
public boolean hasCreatingUser()optional string creating_user = 6;- Specified by:
hasCreatingUserin interfaceAnnotationOrBuilder- Returns:
- Whether the creatingUser field is set.
-
getCreatingUser
optional string creating_user = 6;- Specified by:
getCreatingUserin interfaceAnnotationOrBuilder- Returns:
- The creatingUser.
-
getCreatingUserBytes
public com.google.protobuf.ByteString getCreatingUserBytes()optional string creating_user = 6;- Specified by:
getCreatingUserBytesin interfaceAnnotationOrBuilder- Returns:
- The bytes for creatingUser.
-
getStatus
string status = 8;- Specified by:
getStatusin interfaceAnnotationOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()string status = 8;- Specified by:
getStatusBytesin interfaceAnnotationOrBuilder- Returns:
- The bytes for status.
-
hasCreatedTime
public boolean hasCreatedTime()optional int64 created_time = 9;- Specified by:
hasCreatedTimein interfaceAnnotationOrBuilder- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
public long getCreatedTime()optional int64 created_time = 9;- Specified by:
getCreatedTimein interfaceAnnotationOrBuilder- Returns:
- The createdTime.
-
hasLastUpdatedTime
public boolean hasLastUpdatedTime()optional int64 last_updated_time = 10;- Specified by:
hasLastUpdatedTimein interfaceAnnotationOrBuilder- Returns:
- Whether the lastUpdatedTime field is set.
-
getLastUpdatedTime
public long getLastUpdatedTime()optional int64 last_updated_time = 10;- Specified by:
getLastUpdatedTimein interfaceAnnotationOrBuilder- Returns:
- The lastUpdatedTime.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Annotation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Annotation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Annotation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Annotation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Annotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Annotation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Annotation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Annotation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Annotation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Annotation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-