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 Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    boolean
    Optional.
    boolean
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.

    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

    • getPath

      String getPath()
       Required. Path of the file in package.
       e.g. `gdce/v1/cluster.yaml`
       
      string path = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The path.
    • getPathBytes

      com.google.protobuf.ByteString getPathBytes()
       Required. Path of the file in package.
       e.g. `gdce/v1/cluster.yaml`
       
      string path = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for path.
    • getContent

      String getContent()
       Optional. The contents of a file in string format.
       
      string content = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The content.
    • getContentBytes

      com.google.protobuf.ByteString getContentBytes()
       Optional. The contents of a file in string format.
       
      string content = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for content.
    • getDeleted

      boolean getDeleted()
       Optional. Signifies whether a file is marked for deletion.
       
      bool deleted = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The deleted.
    • getEditable

      boolean getEditable()
       Optional. Indicates whether changes are allowed to a file. If the field is
       not set, the file cannot be edited.
       
      bool editable = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The editable.