Package com.cognite.client.dto
Interface FileBinaryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FileBinary,FileBinary.Builder
public interface FileBinaryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringbytes binary = 3;string binary_uri = 4;com.google.protobuf.ByteStringstring binary_uri = 4;longint64 content_length = 5;string external_id = 2;com.google.protobuf.ByteStringstring external_id = 2;longgetId()int64 id = 1;booleanbytes binary = 3;booleanstring binary_uri = 4;booleanstring external_id = 2;booleanhasId()int64 id = 1;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()int64 id = 1;- Returns:
- Whether the id field is set.
-
getId
long getId()int64 id = 1;- Returns:
- The id.
-
hasExternalId
boolean hasExternalId()string external_id = 2;- Returns:
- Whether the externalId field is set.
-
getExternalId
String getExternalId()string external_id = 2;- Returns:
- The externalId.
-
getExternalIdBytes
com.google.protobuf.ByteString getExternalIdBytes()string external_id = 2;- Returns:
- The bytes for externalId.
-
hasBinary
boolean hasBinary()bytes binary = 3;- Returns:
- Whether the binary field is set.
-
getBinary
com.google.protobuf.ByteString getBinary()bytes binary = 3;- Returns:
- The binary.
-
hasBinaryUri
boolean hasBinaryUri()string binary_uri = 4;- Returns:
- Whether the binaryUri field is set.
-
getBinaryUri
String getBinaryUri()string binary_uri = 4;- Returns:
- The binaryUri.
-
getBinaryUriBytes
com.google.protobuf.ByteString getBinaryUriBytes()string binary_uri = 4;- Returns:
- The bytes for binaryUri.
-
getContentLength
long getContentLength()int64 content_length = 5;- Returns:
- The contentLength.
-
getIdTypeCase
FileBinary.IdTypeCase getIdTypeCase() -
getBinaryTypeCase
FileBinary.BinaryTypeCase getBinaryTypeCase()
-