Class ListWorkspacesRequest.Builder (0.12.0)

public static final class ListWorkspacesRequest.Builder extends GeneratedMessageV3.Builder<ListWorkspacesRequest.Builder> implements ListWorkspacesRequestOrBuilder

ListWorkspaces request message.

Protobuf type google.cloud.dataform.v1alpha2.ListWorkspacesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListWorkspacesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides

build()

public ListWorkspacesRequest build()
Returns
TypeDescription
ListWorkspacesRequest

buildPartial()

public ListWorkspacesRequest buildPartial()
Returns
TypeDescription
ListWorkspacesRequest

clear()

public ListWorkspacesRequest.Builder clear()
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListWorkspacesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides

clearFilter()

public ListWorkspacesRequest.Builder clearFilter()

Optional. Filter for the returned list.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListWorkspacesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListWorkspacesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides

clearOrderBy()

public ListWorkspacesRequest.Builder clearOrderBy()

Optional. This field only supports ordering by name. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the name field.

string order_by = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListWorkspacesRequest.Builder

This builder for chaining.

clearPageSize()

public ListWorkspacesRequest.Builder clearPageSize()

Optional. Maximum number of workspaces to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListWorkspacesRequest.Builder

This builder for chaining.

clearPageToken()

public ListWorkspacesRequest.Builder clearPageToken()

Optional. Page token received from a previous ListWorkspaces call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListWorkspaces must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListWorkspacesRequest.Builder

This builder for chaining.

clearParent()

public ListWorkspacesRequest.Builder clearParent()

Required. The repository in which to list workspaces. Must be in the format projects/*/locations/*/repositories/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListWorkspacesRequest.Builder

This builder for chaining.

clone()

public ListWorkspacesRequest.Builder clone()
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides

getDefaultInstanceForType()

public ListWorkspacesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListWorkspacesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

Optional. Filter for the returned list.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. Filter for the returned list.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for filter.

getOrderBy()

public String getOrderBy()

Optional. This field only supports ordering by name. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the name field.

string order_by = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

Optional. This field only supports ordering by name. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the name field.

string order_by = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

Optional. Maximum number of workspaces to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. Page token received from a previous ListWorkspaces call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListWorkspaces must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. Page token received from a previous ListWorkspaces call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListWorkspaces must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The repository in which to list workspaces. Must be in the format projects/*/locations/*/repositories/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The repository in which to list workspaces. Must be in the format projects/*/locations/*/repositories/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListWorkspacesRequest other)

public ListWorkspacesRequest.Builder mergeFrom(ListWorkspacesRequest other)
Parameter
NameDescription
otherListWorkspacesRequest
Returns
TypeDescription
ListWorkspacesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListWorkspacesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListWorkspacesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListWorkspacesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListWorkspacesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides

setFilter(String value)

public ListWorkspacesRequest.Builder setFilter(String value)

Optional. Filter for the returned list.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The filter to set.

Returns
TypeDescription
ListWorkspacesRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListWorkspacesRequest.Builder setFilterBytes(ByteString value)

Optional. Filter for the returned list.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
ListWorkspacesRequest.Builder

This builder for chaining.

setOrderBy(String value)

public ListWorkspacesRequest.Builder setOrderBy(String value)

Optional. This field only supports ordering by name. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the name field.

string order_by = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The orderBy to set.

Returns
TypeDescription
ListWorkspacesRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public ListWorkspacesRequest.Builder setOrderByBytes(ByteString value)

Optional. This field only supports ordering by name. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the name field.

string order_by = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for orderBy to set.

Returns
TypeDescription
ListWorkspacesRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListWorkspacesRequest.Builder setPageSize(int value)

Optional. Maximum number of workspaces to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListWorkspacesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListWorkspacesRequest.Builder setPageToken(String value)

Optional. Page token received from a previous ListWorkspaces call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListWorkspaces must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListWorkspacesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListWorkspacesRequest.Builder setPageTokenBytes(ByteString value)

Optional. Page token received from a previous ListWorkspaces call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListWorkspaces must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListWorkspacesRequest.Builder

This builder for chaining.

setParent(String value)

public ListWorkspacesRequest.Builder setParent(String value)

Required. The repository in which to list workspaces. Must be in the format projects/*/locations/*/repositories/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListWorkspacesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListWorkspacesRequest.Builder setParentBytes(ByteString value)

Required. The repository in which to list workspaces. Must be in the format projects/*/locations/*/repositories/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListWorkspacesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListWorkspacesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListWorkspacesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides