Interface ReadFileRequestOrBuilder (0.59.0)

public interface ReadFileRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPath()

public abstract String getPath()

Required. The file's full path including filename, relative to the workspace root.

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

Returns
Type Description
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

Required. The file's full path including filename, relative to the workspace root.

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

Returns
Type Description
ByteString

The bytes for path.

getRevision()

public abstract String getRevision()

Optional. The Git revision of the file to return. If left empty, the current contents of path will be returned.

string revision = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The revision.

getRevisionBytes()

public abstract ByteString getRevisionBytes()

Optional. The Git revision of the file to return. If left empty, the current contents of path will be returned.

string revision = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for revision.

getWorkspace()

public abstract String getWorkspace()

Required. The workspace's name.

string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The workspace.

getWorkspaceBytes()

public abstract ByteString getWorkspaceBytes()

Required. The workspace's name.

string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for workspace.