public static final class FetchGitRepositoryLinkCommitListRequest.Builder extends GeneratedMessage.Builder<FetchGitRepositoryLinkCommitListRequest.Builder> implements FetchGitRepositoryLinkCommitListRequestOrBuilderRequest message for FetchGitRepositoryLinkCommitList.
Protobuf type google.cloud.developerconnect.v1.FetchGitRepositoryLinkCommitListRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchGitRepositoryLinkCommitListRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FetchGitRepositoryLinkCommitListRequest build()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest |
|
buildPartial()
public FetchGitRepositoryLinkCommitListRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest |
|
clear()
public FetchGitRepositoryLinkCommitListRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
|
clearName()
public FetchGitRepositoryLinkCommitListRequest.Builder clearName() 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 |
FetchGitRepositoryLinkCommitListRequest.Builder |
This builder for chaining. |
clearPageSize()
public FetchGitRepositoryLinkCommitListRequest.Builder clearPageSize()Optional. Number of results to return in the list. Default is 50. Max is 100.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
This builder for chaining. |
clearPageToken()
public FetchGitRepositoryLinkCommitListRequest.Builder clearPageToken() Optional. A page token, received from a previous
FetchGitRepositoryLinkCommitList call. Provide this to retrieve the
subsequent page.
When paginating, all other parameters provided to
FetchGitRepositoryLinkCommitList must match the call that provided the
page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
This builder for chaining. |
clearRef()
public FetchGitRepositoryLinkCommitListRequest.Builder clearRef()Optional. The commit SHA, or symbolic revision (e.g., branch name, tag, or Git reference) from which to start listing commits.
string ref = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
This builder for chaining. |
clearView()
public FetchGitRepositoryLinkCommitListRequest.Builder clearView() Optional. The level of commit details to return in the response.
Only BASIC is supported; FULL returns INVALID_ARGUMENT. Defaults to
BASIC if unspecified. Use FetchGitRepositoryLinkCommit to get file
diffs for a single commit.
.google.cloud.developerconnect.v1.CommitView view = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FetchGitRepositoryLinkCommitListRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public 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 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. |
getPageSize()
public int getPageSize()Optional. Number of results to return in the list. Default is 50. Max is 100.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken() Optional. A page token, received from a previous
FetchGitRepositoryLinkCommitList call. Provide this to retrieve the
subsequent page.
When paginating, all other parameters provided to
FetchGitRepositoryLinkCommitList must match the call that provided the
page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes() Optional. A page token, received from a previous
FetchGitRepositoryLinkCommitList call. Provide this to retrieve the
subsequent page.
When paginating, all other parameters provided to
FetchGitRepositoryLinkCommitList must match the call that provided the
page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getRef()
public String getRef()Optional. The commit SHA, or symbolic revision (e.g., branch name, tag, or Git reference) from which to start listing commits.
string ref = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The ref. |
getRefBytes()
public ByteString getRefBytes()Optional. The commit SHA, or symbolic revision (e.g., branch name, tag, or Git reference) from which to start listing commits.
string ref = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ref. |
getView()
public CommitView getView() Optional. The level of commit details to return in the response.
Only BASIC is supported; FULL returns INVALID_ARGUMENT. Defaults to
BASIC if unspecified. Use FetchGitRepositoryLinkCommit to get file
diffs for a single commit.
.google.cloud.developerconnect.v1.CommitView view = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CommitView |
The view. |
getViewValue()
public int getViewValue() Optional. The level of commit details to return in the response.
Only BASIC is supported; FULL returns INVALID_ARGUMENT. Defaults to
BASIC if unspecified. Use FetchGitRepositoryLinkCommit to get file
diffs for a single commit.
.google.cloud.developerconnect.v1.CommitView view = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for view. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchGitRepositoryLinkCommitListRequest other)
public FetchGitRepositoryLinkCommitListRequest.Builder mergeFrom(FetchGitRepositoryLinkCommitListRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchGitRepositoryLinkCommitListRequest |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchGitRepositoryLinkCommitListRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchGitRepositoryLinkCommitListRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
|
setName(String value)
public FetchGitRepositoryLinkCommitListRequest.Builder setName(String value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FetchGitRepositoryLinkCommitListRequest.Builder setNameBytes(ByteString value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public FetchGitRepositoryLinkCommitListRequest.Builder setPageSize(int value)Optional. Number of results to return in the list. Default is 50. Max is 100.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public FetchGitRepositoryLinkCommitListRequest.Builder setPageToken(String value) Optional. A page token, received from a previous
FetchGitRepositoryLinkCommitList call. Provide this to retrieve the
subsequent page.
When paginating, all other parameters provided to
FetchGitRepositoryLinkCommitList must match the call that provided the
page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public FetchGitRepositoryLinkCommitListRequest.Builder setPageTokenBytes(ByteString value) Optional. A page token, received from a previous
FetchGitRepositoryLinkCommitList call. Provide this to retrieve the
subsequent page.
When paginating, all other parameters provided to
FetchGitRepositoryLinkCommitList must match the call that provided the
page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
This builder for chaining. |
setRef(String value)
public FetchGitRepositoryLinkCommitListRequest.Builder setRef(String value)Optional. The commit SHA, or symbolic revision (e.g., branch name, tag, or Git reference) from which to start listing commits.
string ref = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ref to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
This builder for chaining. |
setRefBytes(ByteString value)
public FetchGitRepositoryLinkCommitListRequest.Builder setRefBytes(ByteString value)Optional. The commit SHA, or symbolic revision (e.g., branch name, tag, or Git reference) from which to start listing commits.
string ref = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ref to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
This builder for chaining. |
setView(CommitView value)
public FetchGitRepositoryLinkCommitListRequest.Builder setView(CommitView value) Optional. The level of commit details to return in the response.
Only BASIC is supported; FULL returns INVALID_ARGUMENT. Defaults to
BASIC if unspecified. Use FetchGitRepositoryLinkCommit to get file
diffs for a single commit.
.google.cloud.developerconnect.v1.CommitView view = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
CommitViewThe view to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
This builder for chaining. |
setViewValue(int value)
public FetchGitRepositoryLinkCommitListRequest.Builder setViewValue(int value) Optional. The level of commit details to return in the response.
Only BASIC is supported; FULL returns INVALID_ARGUMENT. Defaults to
BASIC if unspecified. Use FetchGitRepositoryLinkCommit to get file
diffs for a single commit.
.google.cloud.developerconnect.v1.CommitView view = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for view to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListRequest.Builder |
This builder for chaining. |