Interface TreeEntryOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TreeEntry, TreeEntry.Builder

@Generated public interface TreeEntryOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Output only.
    com.google.protobuf.ByteString
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    long
    Output only.
    Output only.
    int
    Output only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getTypeValue

      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:
      The enum numeric value on the wire for type.
    • 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:
      The type.
    • getSha

      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:
      The sha.
    • getShaBytes

      com.google.protobuf.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:
      The bytes for sha.
    • getPath

      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:
      The path.
    • getPathBytes

      com.google.protobuf.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:
      The bytes for path.
    • getMode

      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:
      The mode.
    • getModeBytes

      com.google.protobuf.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:
      The bytes for mode.
    • getSize

      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:
      The size.