public interface TreeEntryOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getMode()
public abstract String getMode()
Output only. The file mode as a string (e.g., "100644"). Indicates file type. Output-only.
string mode = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The mode. |
getModeBytes()
public abstract ByteString getModeBytes()
Output only. The file mode as a string (e.g., "100644"). Indicates file type. Output-only.
string mode = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for mode. |
getPath()
public abstract String getPath()
Output only. The path of the file or directory within the tree (e.g., "src/main/java/MyClass.java"). Output-only.
string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The path. |
getPathBytes()
public abstract ByteString getPathBytes()
Output only. The path of the file or directory within the tree (e.g., "src/main/java/MyClass.java"). Output-only.
string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for path. |
getSha()
public abstract String getSha()
Output only. The SHA-1 hash of the object (unique identifier). Output-only.
string sha = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The sha. |
getShaBytes()
public abstract ByteString getShaBytes()
Output only. The SHA-1 hash of the object (unique identifier). Output-only.
string sha = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for sha. |
getSize()
public abstract long getSize()
Output only. The size of the object in bytes (only for blobs). Output-only.
int64 size = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
long |
The size. |
getType()
public abstract TreeEntry.ObjectType getType()
Output only. The type of the object (TREE, BLOB, COMMIT). Output-only.
.google.cloud.securesourcemanager.v1.TreeEntry.ObjectType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TreeEntry.ObjectType |
The type. |
getTypeValue()
public abstract int getTypeValue()
Output only. The type of the object (TREE, BLOB, COMMIT). Output-only.
.google.cloud.securesourcemanager.v1.TreeEntry.ObjectType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for type. |