Interface CommitWorkspaceChangesRequestOrBuilder (0.41.0)

public interface CommitWorkspaceChangesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthor()

public abstract CommitAuthor getAuthor()

Required. The commit's author.

.google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CommitAuthor

The author.

getAuthorOrBuilder()

public abstract CommitAuthorOrBuilder getAuthorOrBuilder()

Required. The commit's author.

.google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CommitAuthorOrBuilder

getCommitMessage()

public abstract String getCommitMessage()

Optional. The commit's message.

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

Returns
TypeDescription
String

The commitMessage.

getCommitMessageBytes()

public abstract ByteString getCommitMessageBytes()

Optional. The commit's message.

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

Returns
TypeDescription
ByteString

The bytes for commitMessage.

getName()

public abstract String getName()

Required. The workspace's name.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The workspace's name.

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

Returns
TypeDescription
ByteString

The bytes for name.

getPaths(int index)

public abstract String getPaths(int index)

Optional. Full file paths to commit including filename, rooted at workspace root. If left empty, all files will be committed.

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

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The paths at the given index.

getPathsBytes(int index)

public abstract ByteString getPathsBytes(int index)

Optional. Full file paths to commit including filename, rooted at workspace root. If left empty, all files will be committed.

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

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the paths at the given index.

getPathsCount()

public abstract int getPathsCount()

Optional. Full file paths to commit including filename, rooted at workspace root. If left empty, all files will be committed.

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

Returns
TypeDescription
int

The count of paths.

getPathsList()

public abstract List<String> getPathsList()

Optional. Full file paths to commit including filename, rooted at workspace root. If left empty, all files will be committed.

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

Returns
TypeDescription
List<String>

A list containing the paths.

hasAuthor()

public abstract boolean hasAuthor()

Required. The commit's author.

.google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the author field is set.