public static final class FetchWorkspaceBranchesRequest.Builder extends GeneratedMessage.Builder<FetchWorkspaceBranchesRequest.Builder> implements FetchWorkspaceBranchesRequestOrBuilder Request message for FetchWorkspaceBranches method.
Protobuf type google.cloud.dataform.v1beta1.FetchWorkspaceBranchesRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchWorkspaceBranchesRequest.BuilderImplements
FetchWorkspaceBranchesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FetchWorkspaceBranchesRequest build()| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceBranchesRequest |
|
buildPartial()
public FetchWorkspaceBranchesRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceBranchesRequest |
|
clear()
public FetchWorkspaceBranchesRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceBranchesRequest.Builder |
|
clearFilter()
public FetchWorkspaceBranchesRequest.Builder clearFilter()Optional. Filter for the returned list.
.google.cloud.dataform.v1beta1.FetchWorkspaceBranchesRequest.BranchFilter filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceBranchesRequest.Builder |
This builder for chaining. |
clearName()
public FetchWorkspaceBranchesRequest.Builder clearName()Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceBranchesRequest.Builder |
This builder for chaining. |
clearPageSize()
public FetchWorkspaceBranchesRequest.Builder clearPageSize()Optional. Maximum number of branches to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceBranchesRequest.Builder |
This builder for chaining. |
clearPageToken()
public FetchWorkspaceBranchesRequest.Builder clearPageToken() Optional. Page token received from a previous FetchWorkspaceBranches
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to FetchWorkspaceBranches,
with the exception of page_size, must match the call that provided the
page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceBranchesRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FetchWorkspaceBranchesRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceBranchesRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilter()
public FetchWorkspaceBranchesRequest.BranchFilter getFilter()Optional. Filter for the returned list.
.google.cloud.dataform.v1beta1.FetchWorkspaceBranchesRequest.BranchFilter filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceBranchesRequest.BranchFilter |
The filter. |
getFilterValue()
public int getFilterValue()Optional. Filter for the returned list.
.google.cloud.dataform.v1beta1.FetchWorkspaceBranchesRequest.BranchFilter filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for filter. |
getName()
public String getName()Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}
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. Maximum number of branches to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken() Optional. Page token received from a previous FetchWorkspaceBranches
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to FetchWorkspaceBranches,
with the exception of page_size, 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. Page token received from a previous FetchWorkspaceBranches
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to FetchWorkspaceBranches,
with the exception of page_size, 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchWorkspaceBranchesRequest other)
public FetchWorkspaceBranchesRequest.Builder mergeFrom(FetchWorkspaceBranchesRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchWorkspaceBranchesRequest |
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceBranchesRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchWorkspaceBranchesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceBranchesRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchWorkspaceBranchesRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceBranchesRequest.Builder |
|
setFilter(FetchWorkspaceBranchesRequest.BranchFilter value)
public FetchWorkspaceBranchesRequest.Builder setFilter(FetchWorkspaceBranchesRequest.BranchFilter value)Optional. Filter for the returned list.
.google.cloud.dataform.v1beta1.FetchWorkspaceBranchesRequest.BranchFilter filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FetchWorkspaceBranchesRequest.BranchFilterThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceBranchesRequest.Builder |
This builder for chaining. |
setFilterValue(int value)
public FetchWorkspaceBranchesRequest.Builder setFilterValue(int value)Optional. Filter for the returned list.
.google.cloud.dataform.v1beta1.FetchWorkspaceBranchesRequest.BranchFilter filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for filter to set. |
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceBranchesRequest.Builder |
This builder for chaining. |
setName(String value)
public FetchWorkspaceBranchesRequest.Builder setName(String value)Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceBranchesRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FetchWorkspaceBranchesRequest.Builder setNameBytes(ByteString value)Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}
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 |
FetchWorkspaceBranchesRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public FetchWorkspaceBranchesRequest.Builder setPageSize(int value)Optional. Maximum number of branches to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceBranchesRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public FetchWorkspaceBranchesRequest.Builder setPageToken(String value) Optional. Page token received from a previous FetchWorkspaceBranches
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to FetchWorkspaceBranches,
with the exception of page_size, 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 |
FetchWorkspaceBranchesRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public FetchWorkspaceBranchesRequest.Builder setPageTokenBytes(ByteString value) Optional. Page token received from a previous FetchWorkspaceBranches
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to FetchWorkspaceBranches,
with the exception of page_size, 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 |
FetchWorkspaceBranchesRequest.Builder |
This builder for chaining. |