public static final class FetchGitRepositoryLinkCommitListResponse.Builder extends GeneratedMessage.Builder<FetchGitRepositoryLinkCommitListResponse.Builder> implements FetchGitRepositoryLinkCommitListResponseOrBuilderResponse message for FetchGitRepositoryLinkCommitList.
Protobuf type google.cloud.developerconnect.v1.FetchGitRepositoryLinkCommitListResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchGitRepositoryLinkCommitListResponse.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCommits(Iterable<? extends SCMCommit> values)
public FetchGitRepositoryLinkCommitListResponse.Builder addAllCommits(Iterable<? extends SCMCommit> values)The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.developerconnect.v1.SCMCommit> |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse.Builder |
|
addCommits(SCMCommit value)
public FetchGitRepositoryLinkCommitListResponse.Builder addCommits(SCMCommit value)The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
SCMCommit |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse.Builder |
|
addCommits(SCMCommit.Builder builderForValue)
public FetchGitRepositoryLinkCommitListResponse.Builder addCommits(SCMCommit.Builder builderForValue)The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SCMCommit.Builder |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse.Builder |
|
addCommits(int index, SCMCommit value)
public FetchGitRepositoryLinkCommitListResponse.Builder addCommits(int index, SCMCommit value)The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SCMCommit |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse.Builder |
|
addCommits(int index, SCMCommit.Builder builderForValue)
public FetchGitRepositoryLinkCommitListResponse.Builder addCommits(int index, SCMCommit.Builder builderForValue)The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SCMCommit.Builder |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse.Builder |
|
addCommitsBuilder()
public SCMCommit.Builder addCommitsBuilder()The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Returns | |
|---|---|
| Type | Description |
SCMCommit.Builder |
|
addCommitsBuilder(int index)
public SCMCommit.Builder addCommitsBuilder(int index)The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SCMCommit.Builder |
|
build()
public FetchGitRepositoryLinkCommitListResponse build()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse |
|
buildPartial()
public FetchGitRepositoryLinkCommitListResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse |
|
clear()
public FetchGitRepositoryLinkCommitListResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse.Builder |
|
clearCommits()
public FetchGitRepositoryLinkCommitListResponse.Builder clearCommits()The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse.Builder |
|
clearNextPageToken()
public FetchGitRepositoryLinkCommitListResponse.Builder clearNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse.Builder |
This builder for chaining. |
getCommits(int index)
public SCMCommit getCommits(int index)The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SCMCommit |
|
getCommitsBuilder(int index)
public SCMCommit.Builder getCommitsBuilder(int index)The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SCMCommit.Builder |
|
getCommitsBuilderList()
public List<SCMCommit.Builder> getCommitsBuilderList()The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getCommitsCount()
public int getCommitsCount()The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getCommitsList()
public List<SCMCommit> getCommitsList()The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Returns | |
|---|---|
| Type | Description |
List<SCMCommit> |
|
getCommitsOrBuilder(int index)
public SCMCommitOrBuilder getCommitsOrBuilder(int index)The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SCMCommitOrBuilder |
|
getCommitsOrBuilderList()
public List<? extends SCMCommitOrBuilder> getCommitsOrBuilderList()The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.developerconnect.v1.SCMCommitOrBuilder> |
|
getDefaultInstanceForType()
public FetchGitRepositoryLinkCommitListResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchGitRepositoryLinkCommitListResponse other)
public FetchGitRepositoryLinkCommitListResponse.Builder mergeFrom(FetchGitRepositoryLinkCommitListResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchGitRepositoryLinkCommitListResponse |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchGitRepositoryLinkCommitListResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchGitRepositoryLinkCommitListResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse.Builder |
|
removeCommits(int index)
public FetchGitRepositoryLinkCommitListResponse.Builder removeCommits(int index)The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse.Builder |
|
setCommits(int index, SCMCommit value)
public FetchGitRepositoryLinkCommitListResponse.Builder setCommits(int index, SCMCommit value)The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SCMCommit |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse.Builder |
|
setCommits(int index, SCMCommit.Builder builderForValue)
public FetchGitRepositoryLinkCommitListResponse.Builder setCommits(int index, SCMCommit.Builder builderForValue)The list of commit metadata.
repeated .google.cloud.developerconnect.v1.SCMCommit commits = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SCMCommit.Builder |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse.Builder |
|
setNextPageToken(String value)
public FetchGitRepositoryLinkCommitListResponse.Builder setNextPageToken(String value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public FetchGitRepositoryLinkCommitListResponse.Builder setNextPageTokenBytes(ByteString value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkCommitListResponse.Builder |
This builder for chaining. |