Interface CommitWorkspaceChangesRequestOrBuilder (0.51.0)

public interface CommitWorkspaceChangesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthor()

public abstract CommitAuthor getAuthor()

Required. The commit's author.

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

Returns
Type Description
CommitAuthor

The author.

getAuthorOrBuilder()

public abstract CommitAuthorOrBuilder getAuthorOrBuilder()

Required. The commit's author.

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

Returns
Type Description
CommitAuthorOrBuilder

getCommitMessage()

public abstract String getCommitMessage()

Optional. The commit's message.

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

Returns
Type Description
String

The commitMessage.

getCommitMessageBytes()

public abstract ByteString getCommitMessageBytes()

Optional. The commit's message.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the paths.

hasAuthor()

public abstract boolean hasAuthor()

Required. The commit's author.

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

Returns
Type Description
boolean

Whether the author field is set.