Interface FileOrBuilder (0.9.0)

public interface FileOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract String getContent()

Optional. The contents of a file in string format.

string content = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The content.

getContentBytes()

public abstract ByteString getContentBytes()

Optional. The contents of a file in string format.

string content = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for content.

getDeleted()

public abstract boolean getDeleted()

Optional. Signifies whether a file is marked for deletion.

bool deleted = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The deleted.

getEditable()

public abstract 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
TypeDescription
boolean

The editable.

getPath()

public abstract String getPath()

Required. Path of the file in package. e.g. gdce/v1/cluster.yaml

string path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

Required. Path of the file in package. e.g. gdce/v1/cluster.yaml

string path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for path.