Interface FileOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
File,File.Builder
@Generated
public interface FileOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampThe time when the File was created.com.google.protobuf.TimestampOrBuilderThe time when the File was created.getHashes(int index) The hashes of the file content.intThe hashes of the file content.The hashes of the file content.getHashesOrBuilder(int index) The hashes of the file content.List<? extends HashOrBuilder>The hashes of the file content.getName()The name of the file, for example: "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".com.google.protobuf.ByteStringThe name of the file, for example: "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".getOwner()The name of the Package or Version that owns this file, if any.com.google.protobuf.ByteStringThe name of the Package or Version that owns this file, if any.longThe size of the File in bytes.com.google.protobuf.TimestampThe time when the File was last updated.com.google.protobuf.TimestampOrBuilderThe time when the File was last updated.booleanThe time when the File was created.booleanThe time when the File was last updated.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
-
getName
String getName()The name of the file, for example: "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt". If the file ID part contains slashes, they are escaped.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the file, for example: "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt". If the file ID part contains slashes, they are escaped.
string name = 1;- Returns:
- The bytes for name.
-
getSizeBytes
long getSizeBytes()The size of the File in bytes.
int64 size_bytes = 3;- Returns:
- The sizeBytes.
-
getHashesList
The hashes of the file content.
repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; -
getHashes
The hashes of the file content.
repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; -
getHashesCount
int getHashesCount()The hashes of the file content.
repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; -
getHashesOrBuilderList
List<? extends HashOrBuilder> getHashesOrBuilderList()The hashes of the file content.
repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; -
getHashesOrBuilder
The hashes of the file content.
repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; -
hasCreateTime
boolean hasCreateTime()The time when the File was created.
.google.protobuf.Timestamp create_time = 5;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()The time when the File was created.
.google.protobuf.Timestamp create_time = 5;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The time when the File was created.
.google.protobuf.Timestamp create_time = 5; -
hasUpdateTime
boolean hasUpdateTime()The time when the File was last updated.
.google.protobuf.Timestamp update_time = 6;- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()The time when the File was last updated.
.google.protobuf.Timestamp update_time = 6;- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()The time when the File was last updated.
.google.protobuf.Timestamp update_time = 6; -
getOwner
String getOwner()The name of the Package or Version that owns this file, if any.
string owner = 7;- Returns:
- The owner.
-
getOwnerBytes
com.google.protobuf.ByteString getOwnerBytes()The name of the Package or Version that owns this file, if any.
string owner = 7;- Returns:
- The bytes for owner.
-