Interface FileOrBuilder (0.13.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for path.