Interface DiffGitRepositoryLinkCommitRequestOrBuilder (0.60.0)

public interface DiffGitRepositoryLinkCommitRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBaseSha()

public abstract String getBaseSha()

Required. The base commit SHA or ref.

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

Returns
Type Description
String

The baseSha.

getBaseShaBytes()

public abstract ByteString getBaseShaBytes()

Required. The base commit SHA or ref.

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

Returns
Type Description
ByteString

The bytes for baseSha.

getHeadSha()

public abstract String getHeadSha()

Required. The head commit SHA or ref.

string head_sha = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The headSha.

getHeadShaBytes()

public abstract ByteString getHeadShaBytes()

Required. The head commit SHA or ref.

string head_sha = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for headSha.

getName()

public abstract String getName()

Required. The resource name of the GitRepositoryLink.

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 resource name of the GitRepositoryLink.

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

Returns
Type Description
ByteString

The bytes for name.

getPathFilters(int index)

public abstract String getPathFilters(int index)

Optional. Path patterns or exact paths to filter returned files. When path_filters is specified, FileDiff.patch is populated for all matching files (use ["**"] to include patches for all changed files). When path_filters is omitted or empty, the full list of FileDiff is returned without patch diffs (FileDiff.patch is empty).

repeated string path_filters = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The pathFilters at the given index.

getPathFiltersBytes(int index)

public abstract ByteString getPathFiltersBytes(int index)

Optional. Path patterns or exact paths to filter returned files. When path_filters is specified, FileDiff.patch is populated for all matching files (use ["**"] to include patches for all changed files). When path_filters is omitted or empty, the full list of FileDiff is returned without patch diffs (FileDiff.patch is empty).

repeated string path_filters = 4 [(.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 pathFilters at the given index.

getPathFiltersCount()

public abstract int getPathFiltersCount()

Optional. Path patterns or exact paths to filter returned files. When path_filters is specified, FileDiff.patch is populated for all matching files (use ["**"] to include patches for all changed files). When path_filters is omitted or empty, the full list of FileDiff is returned without patch diffs (FileDiff.patch is empty).

repeated string path_filters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of pathFilters.

getPathFiltersList()

public abstract List<String> getPathFiltersList()

Optional. Path patterns or exact paths to filter returned files. When path_filters is specified, FileDiff.patch is populated for all matching files (use ["**"] to include patches for all changed files). When path_filters is omitted or empty, the full list of FileDiff is returned without patch diffs (FileDiff.patch is empty).

repeated string path_filters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the pathFilters.