Class QueryTeamFolderContentsRequest.Builder (0.84.0)

public static final class QueryTeamFolderContentsRequest.Builder extends GeneratedMessage.Builder<QueryTeamFolderContentsRequest.Builder> implements QueryTeamFolderContentsRequestOrBuilder

QueryTeamFolderContents request message.

Protobuf type google.cloud.dataform.v1beta1.QueryTeamFolderContentsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public QueryTeamFolderContentsRequest build()
Returns
Type Description
QueryTeamFolderContentsRequest

buildPartial()

public QueryTeamFolderContentsRequest buildPartial()
Returns
Type Description
QueryTeamFolderContentsRequest

clear()

public QueryTeamFolderContentsRequest.Builder clear()
Returns
Type Description
QueryTeamFolderContentsRequest.Builder
Overrides

clearFilter()

public QueryTeamFolderContentsRequest.Builder clearFilter()

Optional. Optional filtering for the returned list. Filtering is currently only supported on the display_name field.

Example:

  • filter="display_name="MyFolder""

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

Returns
Type Description
QueryTeamFolderContentsRequest.Builder

This builder for chaining.

clearOrderBy()

public QueryTeamFolderContentsRequest.Builder clearOrderBy()

Optional. Field to additionally sort results by. Will order Folders before Repositories, and then by order_by in ascending order. Supported keywords: display_name (default), create_time, last_modified_time. Examples:

  • orderBy="display_name"
  • orderBy="display_name desc"

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

Returns
Type Description
QueryTeamFolderContentsRequest.Builder

This builder for chaining.

clearPageSize()

public QueryTeamFolderContentsRequest.Builder clearPageSize()

Optional. Maximum number of paths 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
Type Description
QueryTeamFolderContentsRequest.Builder

This builder for chaining.

clearPageToken()

public QueryTeamFolderContentsRequest.Builder clearPageToken()

Optional. Page token received from a previous QueryTeamFolderContents call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryTeamFolderContents, with the exception of page_size, must match the call that provided the page token.

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

Returns
Type Description
QueryTeamFolderContentsRequest.Builder

This builder for chaining.

clearTeamFolder()

public QueryTeamFolderContentsRequest.Builder clearTeamFolder()

Required. Name of the team_folder whose contents to list. Format: projects/*/locations/*/teamFolders/*.

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

Returns
Type Description
QueryTeamFolderContentsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public QueryTeamFolderContentsRequest getDefaultInstanceForType()
Returns
Type Description
QueryTeamFolderContentsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilter()

public String getFilter()

Optional. Optional filtering for the returned list. Filtering is currently only supported on the display_name field.

Example:

  • filter="display_name="MyFolder""

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

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. Optional filtering for the returned list. Filtering is currently only supported on the display_name field.

Example:

  • filter="display_name="MyFolder""

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

Returns
Type Description
ByteString

The bytes for filter.

getOrderBy()

public String getOrderBy()

Optional. Field to additionally sort results by. Will order Folders before Repositories, and then by order_by in ascending order. Supported keywords: display_name (default), create_time, last_modified_time. Examples:

  • orderBy="display_name"
  • orderBy="display_name desc"

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

Returns
Type Description
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

Optional. Field to additionally sort results by. Will order Folders before Repositories, and then by order_by in ascending order. Supported keywords: display_name (default), create_time, last_modified_time. Examples:

  • orderBy="display_name"
  • orderBy="display_name desc"

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

Returns
Type Description
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

Optional. Maximum number of paths 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
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. Page token received from a previous QueryTeamFolderContents call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryTeamFolderContents, with the exception of page_size, must match the call that provided the page token.

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. Page token received from a previous QueryTeamFolderContents call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryTeamFolderContents, with the exception of page_size, must match the call that provided the page token.

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

Returns
Type Description
ByteString

The bytes for pageToken.

getTeamFolder()

public String getTeamFolder()

Required. Name of the team_folder whose contents to list. Format: projects/*/locations/*/teamFolders/*.

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

Returns
Type Description
String

The teamFolder.

getTeamFolderBytes()

public ByteString getTeamFolderBytes()

Required. Name of the team_folder whose contents to list. Format: projects/*/locations/*/teamFolders/*.

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

Returns
Type Description
ByteString

The bytes for teamFolder.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryTeamFolderContentsRequest other)

public QueryTeamFolderContentsRequest.Builder mergeFrom(QueryTeamFolderContentsRequest other)
Parameter
Name Description
other QueryTeamFolderContentsRequest
Returns
Type Description
QueryTeamFolderContentsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueryTeamFolderContentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryTeamFolderContentsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QueryTeamFolderContentsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QueryTeamFolderContentsRequest.Builder
Overrides

setFilter(String value)

public QueryTeamFolderContentsRequest.Builder setFilter(String value)

Optional. Optional filtering for the returned list. Filtering is currently only supported on the display_name field.

Example:

  • filter="display_name="MyFolder""

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

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
QueryTeamFolderContentsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public QueryTeamFolderContentsRequest.Builder setFilterBytes(ByteString value)

Optional. Optional filtering for the returned list. Filtering is currently only supported on the display_name field.

Example:

  • filter="display_name="MyFolder""

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

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
QueryTeamFolderContentsRequest.Builder

This builder for chaining.

setOrderBy(String value)

public QueryTeamFolderContentsRequest.Builder setOrderBy(String value)

Optional. Field to additionally sort results by. Will order Folders before Repositories, and then by order_by in ascending order. Supported keywords: display_name (default), create_time, last_modified_time. Examples:

  • orderBy="display_name"
  • orderBy="display_name desc"

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

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
QueryTeamFolderContentsRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public QueryTeamFolderContentsRequest.Builder setOrderByBytes(ByteString value)

Optional. Field to additionally sort results by. Will order Folders before Repositories, and then by order_by in ascending order. Supported keywords: display_name (default), create_time, last_modified_time. Examples:

  • orderBy="display_name"
  • orderBy="display_name desc"

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

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
QueryTeamFolderContentsRequest.Builder

This builder for chaining.

setPageSize(int value)

public QueryTeamFolderContentsRequest.Builder setPageSize(int value)

Optional. Maximum number of paths 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
Name Description
value int

The pageSize to set.

Returns
Type Description
QueryTeamFolderContentsRequest.Builder

This builder for chaining.

setPageToken(String value)

public QueryTeamFolderContentsRequest.Builder setPageToken(String value)

Optional. Page token received from a previous QueryTeamFolderContents call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryTeamFolderContents, with the exception of page_size, must match the call that provided the page token.

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
QueryTeamFolderContentsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public QueryTeamFolderContentsRequest.Builder setPageTokenBytes(ByteString value)

Optional. Page token received from a previous QueryTeamFolderContents call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryTeamFolderContents, with the exception of page_size, must match the call that provided the page token.

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
QueryTeamFolderContentsRequest.Builder

This builder for chaining.

setTeamFolder(String value)

public QueryTeamFolderContentsRequest.Builder setTeamFolder(String value)

Required. Name of the team_folder whose contents to list. Format: projects/*/locations/*/teamFolders/*.

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

Parameter
Name Description
value String

The teamFolder to set.

Returns
Type Description
QueryTeamFolderContentsRequest.Builder

This builder for chaining.

setTeamFolderBytes(ByteString value)

public QueryTeamFolderContentsRequest.Builder setTeamFolderBytes(ByteString value)

Required. Name of the team_folder whose contents to list. Format: projects/*/locations/*/teamFolders/*.

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

Parameter
Name Description
value ByteString

The bytes for teamFolder to set.

Returns
Type Description
QueryTeamFolderContentsRequest.Builder

This builder for chaining.