Package com.cognite.client.dto
Interface AnnotationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Annotation,Annotation.Builder
public interface AnnotationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongint64 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;longgetId()optional int64 id = 1;longoptional int64 last_updated_time = 10;string 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;booleanhasId()optional int64 id = 1;booleanoptional int64 last_updated_time = 10;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasId
boolean hasId()optional int64 id = 1;- Returns:
- Whether the id field is set.
-
getId
long getId()optional int64 id = 1;- Returns:
- The id.
-
getAnnotatedResourceTypeValue
int getAnnotatedResourceTypeValue().com.cognite.client.dto.Annotation.AnnotationType annotated_resource_type = 2;- Returns:
- The enum numeric value on the wire for annotatedResourceType.
-
getAnnotatedResourceType
Annotation.AnnotationType getAnnotatedResourceType().com.cognite.client.dto.Annotation.AnnotationType annotated_resource_type = 2;- Returns:
- The annotatedResourceType.
-
getAnnotatedResourceId
long getAnnotatedResourceId()int64 annotated_resource_id = 3;- Returns:
- The annotatedResourceId.
-
hasCreatingApp
boolean hasCreatingApp()optional string creating_app = 4;- Returns:
- Whether the creatingApp field is set.
-
getCreatingApp
String getCreatingApp()optional string creating_app = 4;- Returns:
- The creatingApp.
-
getCreatingAppBytes
com.google.protobuf.ByteString getCreatingAppBytes()optional string creating_app = 4;- Returns:
- The bytes for creatingApp.
-
hasCreatingAppVersion
boolean hasCreatingAppVersion()optional string creating_app_version = 5;- Returns:
- Whether the creatingAppVersion field is set.
-
getCreatingAppVersion
String getCreatingAppVersion()optional string creating_app_version = 5;- Returns:
- The creatingAppVersion.
-
getCreatingAppVersionBytes
com.google.protobuf.ByteString getCreatingAppVersionBytes()optional string creating_app_version = 5;- Returns:
- The bytes for creatingAppVersion.
-
hasCreatingUser
boolean hasCreatingUser()optional string creating_user = 6;- Returns:
- Whether the creatingUser field is set.
-
getCreatingUser
String getCreatingUser()optional string creating_user = 6;- Returns:
- The creatingUser.
-
getCreatingUserBytes
com.google.protobuf.ByteString getCreatingUserBytes()optional string creating_user = 6;- Returns:
- The bytes for creatingUser.
-
getStatus
String getStatus()string status = 8;- Returns:
- The status.
-
getStatusBytes
com.google.protobuf.ByteString getStatusBytes()string status = 8;- Returns:
- The bytes for status.
-
hasCreatedTime
boolean hasCreatedTime()optional int64 created_time = 9;- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
long getCreatedTime()optional int64 created_time = 9;- Returns:
- The createdTime.
-
hasLastUpdatedTime
boolean hasLastUpdatedTime()optional int64 last_updated_time = 10;- Returns:
- Whether the lastUpdatedTime field is set.
-
getLastUpdatedTime
long getLastUpdatedTime()optional int64 last_updated_time = 10;- Returns:
- The lastUpdatedTime.
-