public interface FetchGitRepositoryLinkCommitRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCommitSha()
public abstract String getCommitSha()Required. The commit SHA, or symbolic revision (e.g., branch name, tag, or Git reference).
string commit_sha = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The commitSha. |
getCommitShaBytes()
public abstract ByteString getCommitShaBytes()Required. The commit SHA, or symbolic revision (e.g., branch name, tag, or Git reference).
string commit_sha = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for commitSha. |
getName()
public abstract String getName() Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
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 in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
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 (only
applicable in FULL view).
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 |
intThe 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 (only
applicable in FULL view).
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 |
intThe 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 (only
applicable in FULL view).
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 (only
applicable in FULL view).
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. |
getView()
public abstract CommitView getView() Optional. The level of commit details to return in the response.
Defaults to FULL if unspecified. In FULL view, files metadata (paths
and statuses) are returned; path_filters must also be specified to
populate line patch hunks.
.google.cloud.developerconnect.v1.CommitView view = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CommitView |
The view. |
getViewValue()
public abstract int getViewValue() Optional. The level of commit details to return in the response.
Defaults to FULL if unspecified. In FULL view, files metadata (paths
and statuses) are returned; path_filters must also be specified to
populate line patch hunks.
.google.cloud.developerconnect.v1.CommitView view = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for view. |