public static final class FetchGitRepositoryLinkPullRequestListRequest.Builder extends GeneratedMessage.Builder<FetchGitRepositoryLinkPullRequestListRequest.Builder> implements FetchGitRepositoryLinkPullRequestListRequestOrBuilderRequest message for FetchGitRepositoryLinkPullRequestList.
Protobuf type
google.cloud.developerconnect.v1.FetchGitRepositoryLinkPullRequestListRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchGitRepositoryLinkPullRequestListRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FetchGitRepositoryLinkPullRequestListRequest build()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestListRequest |
|
buildPartial()
public FetchGitRepositoryLinkPullRequestListRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestListRequest |
|
clear()
public FetchGitRepositoryLinkPullRequestListRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestListRequest.Builder |
|
clearFilter()
public FetchGitRepositoryLinkPullRequestListRequest.Builder clearFilter() Optional. A filter expression that filters the pull requests returned in
the response. Only a single equality comparison on state is supported,
for example state = "OPEN". Supported values are OPEN, CLOSED, and
MERGED. DECLINED is only supported for SCM providers that support
declining pull requests, and returns INVALID_ARGUMENT for GitHub, GitHub
Enterprise, GitLab, and GitLab Enterprise. Other values or expressions
return INVALID_ARGUMENT. Defaults to state = "OPEN" if unspecified.
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestListRequest.Builder |
This builder for chaining. |
clearName()
public FetchGitRepositoryLinkPullRequestListRequest.Builder clearName() Required. The GitRepositoryLink resource name in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestListRequest.Builder |
This builder for chaining. |
clearPageSize()
public FetchGitRepositoryLinkPullRequestListRequest.Builder clearPageSize()Optional. Number of results to return in the list. Default is 20. Max is
- A page may contain fewer than
page_sizeresults even when more results are available; usenext_page_tokento check for more pages.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestListRequest.Builder |
This builder for chaining. |
clearPageToken()
public FetchGitRepositoryLinkPullRequestListRequest.Builder clearPageToken() Optional. A page token, received from a previous
FetchGitRepositoryLinkPullRequestList call. Provide this to retrieve the
subsequent page.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestListRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FetchGitRepositoryLinkPullRequestListRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestListRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilter()
public String getFilter() Optional. A filter expression that filters the pull requests returned in
the response. Only a single equality comparison on state is supported,
for example state = "OPEN". Supported values are OPEN, CLOSED, and
MERGED. DECLINED is only supported for SCM providers that support
declining pull requests, and returns INVALID_ARGUMENT for GitHub, GitHub
Enterprise, GitLab, and GitLab Enterprise. Other values or expressions
return INVALID_ARGUMENT. Defaults to state = "OPEN" if unspecified.
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes() Optional. A filter expression that filters the pull requests returned in
the response. Only a single equality comparison on state is supported,
for example state = "OPEN". Supported values are OPEN, CLOSED, and
MERGED. DECLINED is only supported for SCM providers that support
declining pull requests, and returns INVALID_ARGUMENT for GitHub, GitHub
Enterprise, GitLab, and GitLab Enterprise. Other values or expressions
return INVALID_ARGUMENT. Defaults to state = "OPEN" if unspecified.
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filter. |
getName()
public String getName() Required. The GitRepositoryLink resource name 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 GitRepositoryLink resource name 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 20. Max is
- A page may contain fewer than
page_sizeresults even when more results are available; usenext_page_tokento check for more pages.
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
FetchGitRepositoryLinkPullRequestList call. Provide this to retrieve the
subsequent page.
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
FetchGitRepositoryLinkPullRequestList call. Provide this to retrieve the
subsequent page.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchGitRepositoryLinkPullRequestListRequest other)
public FetchGitRepositoryLinkPullRequestListRequest.Builder mergeFrom(FetchGitRepositoryLinkPullRequestListRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchGitRepositoryLinkPullRequestListRequest |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestListRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchGitRepositoryLinkPullRequestListRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestListRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchGitRepositoryLinkPullRequestListRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestListRequest.Builder |
|
setFilter(String value)
public FetchGitRepositoryLinkPullRequestListRequest.Builder setFilter(String value) Optional. A filter expression that filters the pull requests returned in
the response. Only a single equality comparison on state is supported,
for example state = "OPEN". Supported values are OPEN, CLOSED, and
MERGED. DECLINED is only supported for SCM providers that support
declining pull requests, and returns INVALID_ARGUMENT for GitHub, GitHub
Enterprise, GitLab, and GitLab Enterprise. Other values or expressions
return INVALID_ARGUMENT. Defaults to state = "OPEN" if unspecified.
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestListRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public FetchGitRepositoryLinkPullRequestListRequest.Builder setFilterBytes(ByteString value) Optional. A filter expression that filters the pull requests returned in
the response. Only a single equality comparison on state is supported,
for example state = "OPEN". Supported values are OPEN, CLOSED, and
MERGED. DECLINED is only supported for SCM providers that support
declining pull requests, and returns INVALID_ARGUMENT for GitHub, GitHub
Enterprise, GitLab, and GitLab Enterprise. Other values or expressions
return INVALID_ARGUMENT. Defaults to state = "OPEN" if unspecified.
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestListRequest.Builder |
This builder for chaining. |
setName(String value)
public FetchGitRepositoryLinkPullRequestListRequest.Builder setName(String value) Required. The GitRepositoryLink resource name 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 |
FetchGitRepositoryLinkPullRequestListRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FetchGitRepositoryLinkPullRequestListRequest.Builder setNameBytes(ByteString value) Required. The GitRepositoryLink resource name 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 |
FetchGitRepositoryLinkPullRequestListRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public FetchGitRepositoryLinkPullRequestListRequest.Builder setPageSize(int value)Optional. Number of results to return in the list. Default is 20. Max is
- A page may contain fewer than
page_sizeresults even when more results are available; usenext_page_tokento check for more pages.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestListRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public FetchGitRepositoryLinkPullRequestListRequest.Builder setPageToken(String value) Optional. A page token, received from a previous
FetchGitRepositoryLinkPullRequestList call. Provide this to retrieve the
subsequent page.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestListRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public FetchGitRepositoryLinkPullRequestListRequest.Builder setPageTokenBytes(ByteString value) Optional. A page token, received from a previous
FetchGitRepositoryLinkPullRequestList call. Provide this to retrieve the
subsequent page.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestListRequest.Builder |
This builder for chaining. |