Package com.cognite.client.dto
Class FileMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.cognite.client.dto.FileMetadata
-
- All Implemented Interfaces:
FileMetadataOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class FileMetadata extends com.google.protobuf.GeneratedMessageV3 implements FileMetadataOrBuilder
Protobuf typecom.cognite.beam.proto.FileMetadata
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileMetadata.Builder
Protobuf typecom.cognite.beam.proto.FileMetadata
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ASSET_IDS_FIELD_NUMBER
static int
CREATED_TIME_FIELD_NUMBER
static int
DATA_SET_ID_FIELD_NUMBER
static int
DIRECTORY_FIELD_NUMBER
static int
EXTERNAL_ID_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
LAST_UPDATED_TIME_FIELD_NUMBER
static int
METADATA_FIELD_NUMBER
static int
MIME_TYPE_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
SECURITY_CATEGORIES_FIELD_NUMBER
static int
SOURCE_CREATED_TIME_FIELD_NUMBER
static int
SOURCE_FIELD_NUMBER
static int
SOURCE_MODIFIED_TIME_FIELD_NUMBER
static int
UPLOADED_FIELD_NUMBER
static int
UPLOADED_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsMetadata(String key)
map<string, string> metadata = 6;
boolean
equals(Object obj)
long
getAssetIds(int index)
repeated int64 asset_ids = 7;
int
getAssetIdsCount()
repeated int64 asset_ids = 7;
List<Long>
getAssetIdsList()
repeated int64 asset_ids = 7;
Int64Value
getCreatedTime()
.google.protobuf.Int64Value created_time = 11;
Int64ValueOrBuilder
getCreatedTimeOrBuilder()
.google.protobuf.Int64Value created_time = 11;
Int64Value
getDataSetId()
.google.protobuf.Int64Value data_set_id = 15;
Int64ValueOrBuilder
getDataSetIdOrBuilder()
.google.protobuf.Int64Value data_set_id = 15;
static FileMetadata
getDefaultInstance()
FileMetadata
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
StringValue
getDirectory()
.google.protobuf.StringValue directory = 3;
StringValueOrBuilder
getDirectoryOrBuilder()
.google.protobuf.StringValue directory = 3;
StringValue
getExternalId()
.google.protobuf.StringValue external_id = 1;
StringValueOrBuilder
getExternalIdOrBuilder()
.google.protobuf.StringValue external_id = 1;
Int64Value
getId()
.google.protobuf.Int64Value id = 8;
Int64ValueOrBuilder
getIdOrBuilder()
.google.protobuf.Int64Value id = 8;
String
getLabels(int index)
repeated string labels = 17;
com.google.protobuf.ByteString
getLabelsBytes(int index)
repeated string labels = 17;
int
getLabelsCount()
repeated string labels = 17;
com.google.protobuf.ProtocolStringList
getLabelsList()
repeated string labels = 17;
Int64Value
getLastUpdatedTime()
.google.protobuf.Int64Value last_updated_time = 12;
Int64ValueOrBuilder
getLastUpdatedTimeOrBuilder()
.google.protobuf.Int64Value last_updated_time = 12;
Map<String,String>
getMetadata()
Deprecated.int
getMetadataCount()
map<string, string> metadata = 6;
Map<String,String>
getMetadataMap()
map<string, string> metadata = 6;
String
getMetadataOrDefault(String key, String defaultValue)
map<string, string> metadata = 6;
String
getMetadataOrThrow(String key)
map<string, string> metadata = 6;
StringValue
getMimeType()
.google.protobuf.StringValue mime_type = 5;
StringValueOrBuilder
getMimeTypeOrBuilder()
.google.protobuf.StringValue mime_type = 5;
StringValue
getName()
.google.protobuf.StringValue name = 2;
StringValueOrBuilder
getNameOrBuilder()
.google.protobuf.StringValue name = 2;
com.google.protobuf.Parser<FileMetadata>
getParserForType()
long
getSecurityCategories(int index)
repeated int64 security_categories = 16;
int
getSecurityCategoriesCount()
repeated int64 security_categories = 16;
List<Long>
getSecurityCategoriesList()
repeated int64 security_categories = 16;
int
getSerializedSize()
StringValue
getSource()
.google.protobuf.StringValue source = 4;
Int64Value
getSourceCreatedTime()
.google.protobuf.Int64Value source_created_time = 13;
Int64ValueOrBuilder
getSourceCreatedTimeOrBuilder()
.google.protobuf.Int64Value source_created_time = 13;
Int64Value
getSourceModifiedTime()
.google.protobuf.Int64Value source_modified_time = 14;
Int64ValueOrBuilder
getSourceModifiedTimeOrBuilder()
.google.protobuf.Int64Value source_modified_time = 14;
StringValueOrBuilder
getSourceOrBuilder()
.google.protobuf.StringValue source = 4;
com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
getUploaded()
bool uploaded = 9;
Int64Value
getUploadedTime()
.google.protobuf.Int64Value uploaded_time = 10;
Int64ValueOrBuilder
getUploadedTimeOrBuilder()
.google.protobuf.Int64Value uploaded_time = 10;
boolean
hasCreatedTime()
.google.protobuf.Int64Value created_time = 11;
boolean
hasDataSetId()
.google.protobuf.Int64Value data_set_id = 15;
boolean
hasDirectory()
.google.protobuf.StringValue directory = 3;
boolean
hasExternalId()
.google.protobuf.StringValue external_id = 1;
int
hashCode()
boolean
hasId()
.google.protobuf.Int64Value id = 8;
boolean
hasLastUpdatedTime()
.google.protobuf.Int64Value last_updated_time = 12;
boolean
hasMimeType()
.google.protobuf.StringValue mime_type = 5;
boolean
hasName()
.google.protobuf.StringValue name = 2;
boolean
hasSource()
.google.protobuf.StringValue source = 4;
boolean
hasSourceCreatedTime()
.google.protobuf.Int64Value source_created_time = 13;
boolean
hasSourceModifiedTime()
.google.protobuf.Int64Value source_modified_time = 14;
boolean
hasUploadedTime()
.google.protobuf.Int64Value uploaded_time = 10;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static FileMetadata.Builder
newBuilder()
static FileMetadata.Builder
newBuilder(FileMetadata prototype)
FileMetadata.Builder
newBuilderForType()
protected FileMetadata.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static FileMetadata
parseDelimitedFrom(InputStream input)
static FileMetadata
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FileMetadata
parseFrom(byte[] data)
static FileMetadata
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FileMetadata
parseFrom(com.google.protobuf.ByteString data)
static FileMetadata
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FileMetadata
parseFrom(com.google.protobuf.CodedInputStream input)
static FileMetadata
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FileMetadata
parseFrom(InputStream input)
static FileMetadata
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FileMetadata
parseFrom(ByteBuffer data)
static FileMetadata
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<FileMetadata>
parser()
FileMetadata.Builder
toBuilder()
void
writeTo(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, hasField, hasOneof, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
EXTERNAL_ID_FIELD_NUMBER
public static final int EXTERNAL_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DIRECTORY_FIELD_NUMBER
public static final int DIRECTORY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MIME_TYPE_FIELD_NUMBER
public static final int MIME_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSET_IDS_FIELD_NUMBER
public static final int ASSET_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPLOADED_FIELD_NUMBER
public static final int UPLOADED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPLOADED_TIME_FIELD_NUMBER
public static final int UPLOADED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATED_TIME_FIELD_NUMBER
public static final int CREATED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_UPDATED_TIME_FIELD_NUMBER
public static final int LAST_UPDATED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_CREATED_TIME_FIELD_NUMBER
public static final int SOURCE_CREATED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_MODIFIED_TIME_FIELD_NUMBER
public static final int SOURCE_MODIFIED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_SET_ID_FIELD_NUMBER
public static final int DATA_SET_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECURITY_CATEGORIES_FIELD_NUMBER
public static final int SECURITY_CATEGORIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasExternalId
public boolean hasExternalId()
.google.protobuf.StringValue external_id = 1;
- Specified by:
hasExternalId
in interfaceFileMetadataOrBuilder
- Returns:
- Whether the externalId field is set.
-
getExternalId
public StringValue getExternalId()
.google.protobuf.StringValue external_id = 1;
- Specified by:
getExternalId
in interfaceFileMetadataOrBuilder
- Returns:
- The externalId.
-
getExternalIdOrBuilder
public StringValueOrBuilder getExternalIdOrBuilder()
.google.protobuf.StringValue external_id = 1;
- Specified by:
getExternalIdOrBuilder
in interfaceFileMetadataOrBuilder
-
hasName
public boolean hasName()
.google.protobuf.StringValue name = 2;
- Specified by:
hasName
in interfaceFileMetadataOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public StringValue getName()
.google.protobuf.StringValue name = 2;
- Specified by:
getName
in interfaceFileMetadataOrBuilder
- Returns:
- The name.
-
getNameOrBuilder
public StringValueOrBuilder getNameOrBuilder()
.google.protobuf.StringValue name = 2;
- Specified by:
getNameOrBuilder
in interfaceFileMetadataOrBuilder
-
hasDirectory
public boolean hasDirectory()
.google.protobuf.StringValue directory = 3;
- Specified by:
hasDirectory
in interfaceFileMetadataOrBuilder
- Returns:
- Whether the directory field is set.
-
getDirectory
public StringValue getDirectory()
.google.protobuf.StringValue directory = 3;
- Specified by:
getDirectory
in interfaceFileMetadataOrBuilder
- Returns:
- The directory.
-
getDirectoryOrBuilder
public StringValueOrBuilder getDirectoryOrBuilder()
.google.protobuf.StringValue directory = 3;
- Specified by:
getDirectoryOrBuilder
in interfaceFileMetadataOrBuilder
-
hasSource
public boolean hasSource()
.google.protobuf.StringValue source = 4;
- Specified by:
hasSource
in interfaceFileMetadataOrBuilder
- Returns:
- Whether the source field is set.
-
getSource
public StringValue getSource()
.google.protobuf.StringValue source = 4;
- Specified by:
getSource
in interfaceFileMetadataOrBuilder
- Returns:
- The source.
-
getSourceOrBuilder
public StringValueOrBuilder getSourceOrBuilder()
.google.protobuf.StringValue source = 4;
- Specified by:
getSourceOrBuilder
in interfaceFileMetadataOrBuilder
-
hasMimeType
public boolean hasMimeType()
.google.protobuf.StringValue mime_type = 5;
- Specified by:
hasMimeType
in interfaceFileMetadataOrBuilder
- Returns:
- Whether the mimeType field is set.
-
getMimeType
public StringValue getMimeType()
.google.protobuf.StringValue mime_type = 5;
- Specified by:
getMimeType
in interfaceFileMetadataOrBuilder
- Returns:
- The mimeType.
-
getMimeTypeOrBuilder
public StringValueOrBuilder getMimeTypeOrBuilder()
.google.protobuf.StringValue mime_type = 5;
- Specified by:
getMimeTypeOrBuilder
in interfaceFileMetadataOrBuilder
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:FileMetadataOrBuilder
map<string, string> metadata = 6;
- Specified by:
getMetadataCount
in interfaceFileMetadataOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
map<string, string> metadata = 6;
- Specified by:
containsMetadata
in interfaceFileMetadataOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceFileMetadataOrBuilder
-
getMetadataMap
public Map<String,String> getMetadataMap()
map<string, string> metadata = 6;
- Specified by:
getMetadataMap
in interfaceFileMetadataOrBuilder
-
getMetadataOrDefault
public String getMetadataOrDefault(String key, String defaultValue)
map<string, string> metadata = 6;
- Specified by:
getMetadataOrDefault
in interfaceFileMetadataOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
map<string, string> metadata = 6;
- Specified by:
getMetadataOrThrow
in interfaceFileMetadataOrBuilder
-
getAssetIdsList
public List<Long> getAssetIdsList()
repeated int64 asset_ids = 7;
- Specified by:
getAssetIdsList
in interfaceFileMetadataOrBuilder
- Returns:
- A list containing the assetIds.
-
getAssetIdsCount
public int getAssetIdsCount()
repeated int64 asset_ids = 7;
- Specified by:
getAssetIdsCount
in interfaceFileMetadataOrBuilder
- Returns:
- The count of assetIds.
-
getAssetIds
public long getAssetIds(int index)
repeated int64 asset_ids = 7;
- Specified by:
getAssetIds
in interfaceFileMetadataOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The assetIds at the given index.
-
hasId
public boolean hasId()
.google.protobuf.Int64Value id = 8;
- Specified by:
hasId
in interfaceFileMetadataOrBuilder
- Returns:
- Whether the id field is set.
-
getId
public Int64Value getId()
.google.protobuf.Int64Value id = 8;
- Specified by:
getId
in interfaceFileMetadataOrBuilder
- Returns:
- The id.
-
getIdOrBuilder
public Int64ValueOrBuilder getIdOrBuilder()
.google.protobuf.Int64Value id = 8;
- Specified by:
getIdOrBuilder
in interfaceFileMetadataOrBuilder
-
getUploaded
public boolean getUploaded()
bool uploaded = 9;
- Specified by:
getUploaded
in interfaceFileMetadataOrBuilder
- Returns:
- The uploaded.
-
hasUploadedTime
public boolean hasUploadedTime()
.google.protobuf.Int64Value uploaded_time = 10;
- Specified by:
hasUploadedTime
in interfaceFileMetadataOrBuilder
- Returns:
- Whether the uploadedTime field is set.
-
getUploadedTime
public Int64Value getUploadedTime()
.google.protobuf.Int64Value uploaded_time = 10;
- Specified by:
getUploadedTime
in interfaceFileMetadataOrBuilder
- Returns:
- The uploadedTime.
-
getUploadedTimeOrBuilder
public Int64ValueOrBuilder getUploadedTimeOrBuilder()
.google.protobuf.Int64Value uploaded_time = 10;
- Specified by:
getUploadedTimeOrBuilder
in interfaceFileMetadataOrBuilder
-
hasCreatedTime
public boolean hasCreatedTime()
.google.protobuf.Int64Value created_time = 11;
- Specified by:
hasCreatedTime
in interfaceFileMetadataOrBuilder
- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
public Int64Value getCreatedTime()
.google.protobuf.Int64Value created_time = 11;
- Specified by:
getCreatedTime
in interfaceFileMetadataOrBuilder
- Returns:
- The createdTime.
-
getCreatedTimeOrBuilder
public Int64ValueOrBuilder getCreatedTimeOrBuilder()
.google.protobuf.Int64Value created_time = 11;
- Specified by:
getCreatedTimeOrBuilder
in interfaceFileMetadataOrBuilder
-
hasLastUpdatedTime
public boolean hasLastUpdatedTime()
.google.protobuf.Int64Value last_updated_time = 12;
- Specified by:
hasLastUpdatedTime
in interfaceFileMetadataOrBuilder
- Returns:
- Whether the lastUpdatedTime field is set.
-
getLastUpdatedTime
public Int64Value getLastUpdatedTime()
.google.protobuf.Int64Value last_updated_time = 12;
- Specified by:
getLastUpdatedTime
in interfaceFileMetadataOrBuilder
- Returns:
- The lastUpdatedTime.
-
getLastUpdatedTimeOrBuilder
public Int64ValueOrBuilder getLastUpdatedTimeOrBuilder()
.google.protobuf.Int64Value last_updated_time = 12;
- Specified by:
getLastUpdatedTimeOrBuilder
in interfaceFileMetadataOrBuilder
-
hasSourceCreatedTime
public boolean hasSourceCreatedTime()
.google.protobuf.Int64Value source_created_time = 13;
- Specified by:
hasSourceCreatedTime
in interfaceFileMetadataOrBuilder
- Returns:
- Whether the sourceCreatedTime field is set.
-
getSourceCreatedTime
public Int64Value getSourceCreatedTime()
.google.protobuf.Int64Value source_created_time = 13;
- Specified by:
getSourceCreatedTime
in interfaceFileMetadataOrBuilder
- Returns:
- The sourceCreatedTime.
-
getSourceCreatedTimeOrBuilder
public Int64ValueOrBuilder getSourceCreatedTimeOrBuilder()
.google.protobuf.Int64Value source_created_time = 13;
- Specified by:
getSourceCreatedTimeOrBuilder
in interfaceFileMetadataOrBuilder
-
hasSourceModifiedTime
public boolean hasSourceModifiedTime()
.google.protobuf.Int64Value source_modified_time = 14;
- Specified by:
hasSourceModifiedTime
in interfaceFileMetadataOrBuilder
- Returns:
- Whether the sourceModifiedTime field is set.
-
getSourceModifiedTime
public Int64Value getSourceModifiedTime()
.google.protobuf.Int64Value source_modified_time = 14;
- Specified by:
getSourceModifiedTime
in interfaceFileMetadataOrBuilder
- Returns:
- The sourceModifiedTime.
-
getSourceModifiedTimeOrBuilder
public Int64ValueOrBuilder getSourceModifiedTimeOrBuilder()
.google.protobuf.Int64Value source_modified_time = 14;
- Specified by:
getSourceModifiedTimeOrBuilder
in interfaceFileMetadataOrBuilder
-
hasDataSetId
public boolean hasDataSetId()
.google.protobuf.Int64Value data_set_id = 15;
- Specified by:
hasDataSetId
in interfaceFileMetadataOrBuilder
- Returns:
- Whether the dataSetId field is set.
-
getDataSetId
public Int64Value getDataSetId()
.google.protobuf.Int64Value data_set_id = 15;
- Specified by:
getDataSetId
in interfaceFileMetadataOrBuilder
- Returns:
- The dataSetId.
-
getDataSetIdOrBuilder
public Int64ValueOrBuilder getDataSetIdOrBuilder()
.google.protobuf.Int64Value data_set_id = 15;
- Specified by:
getDataSetIdOrBuilder
in interfaceFileMetadataOrBuilder
-
getSecurityCategoriesList
public List<Long> getSecurityCategoriesList()
repeated int64 security_categories = 16;
- Specified by:
getSecurityCategoriesList
in interfaceFileMetadataOrBuilder
- Returns:
- A list containing the securityCategories.
-
getSecurityCategoriesCount
public int getSecurityCategoriesCount()
repeated int64 security_categories = 16;
- Specified by:
getSecurityCategoriesCount
in interfaceFileMetadataOrBuilder
- Returns:
- The count of securityCategories.
-
getSecurityCategories
public long getSecurityCategories(int index)
repeated int64 security_categories = 16;
- Specified by:
getSecurityCategories
in interfaceFileMetadataOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The securityCategories at the given index.
-
getLabelsList
public com.google.protobuf.ProtocolStringList getLabelsList()
repeated string labels = 17;
- Specified by:
getLabelsList
in interfaceFileMetadataOrBuilder
- Returns:
- A list containing the labels.
-
getLabelsCount
public int getLabelsCount()
repeated string labels = 17;
- Specified by:
getLabelsCount
in interfaceFileMetadataOrBuilder
- Returns:
- The count of labels.
-
getLabels
public String getLabels(int index)
repeated string labels = 17;
- Specified by:
getLabels
in interfaceFileMetadataOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
public com.google.protobuf.ByteString getLabelsBytes(int index)
repeated string labels = 17;
- Specified by:
getLabelsBytes
in interfaceFileMetadataOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FileMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileMetadata parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static FileMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static FileMetadata parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static FileMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static FileMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static FileMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public FileMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static FileMetadata.Builder newBuilder()
-
newBuilder
public static FileMetadata.Builder newBuilder(FileMetadata prototype)
-
toBuilder
public FileMetadata.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FileMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static FileMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<FileMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<FileMetadata> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public FileMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-