Class QueryDirectoryContentsRequest.Builder (0.2.1)

public static final class QueryDirectoryContentsRequest.Builder extends GeneratedMessageV3.Builder<QueryDirectoryContentsRequest.Builder> implements QueryDirectoryContentsRequestOrBuilder

QueryDirectoryContents request message.

Protobuf type google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryDirectoryContentsRequest build()
Returns
TypeDescription
QueryDirectoryContentsRequest

buildPartial()

public QueryDirectoryContentsRequest buildPartial()
Returns
TypeDescription
QueryDirectoryContentsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public QueryDirectoryContentsRequest.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
QueryDirectoryContentsRequest.Builder

This builder for chaining.

clearPageToken()

public QueryDirectoryContentsRequest.Builder clearPageToken()

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

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

Returns
TypeDescription
QueryDirectoryContentsRequest.Builder

This builder for chaining.

clearPath()

public QueryDirectoryContentsRequest.Builder clearPath()

Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
QueryDirectoryContentsRequest.Builder

This builder for chaining.

clearWorkspace()

public QueryDirectoryContentsRequest.Builder clearWorkspace()

Required. The workspace's name.

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

Returns
TypeDescription
QueryDirectoryContentsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public QueryDirectoryContentsRequest getDefaultInstanceForType()
Returns
TypeDescription
QueryDirectoryContentsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

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

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

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for pageToken.

getPath()

public String getPath()

Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The path.

getPathBytes()

public ByteString getPathBytes()

Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for path.

getWorkspace()

public String getWorkspace()

Required. The workspace's name.

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

Returns
TypeDescription
String

The workspace.

getWorkspaceBytes()

public ByteString getWorkspaceBytes()

Required. The workspace's name.

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

Returns
TypeDescription
ByteString

The bytes for workspace.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QueryDirectoryContentsRequest other)

public QueryDirectoryContentsRequest.Builder mergeFrom(QueryDirectoryContentsRequest other)
Parameter
NameDescription
otherQueryDirectoryContentsRequest
Returns
TypeDescription
QueryDirectoryContentsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public QueryDirectoryContentsRequest.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
QueryDirectoryContentsRequest.Builder

This builder for chaining.

setPageToken(String value)

public QueryDirectoryContentsRequest.Builder setPageToken(String value)

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

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

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
QueryDirectoryContentsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public QueryDirectoryContentsRequest.Builder setPageTokenBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
QueryDirectoryContentsRequest.Builder

This builder for chaining.

setPath(String value)

public QueryDirectoryContentsRequest.Builder setPath(String value)

Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The path to set.

Returns
TypeDescription
QueryDirectoryContentsRequest.Builder

This builder for chaining.

setPathBytes(ByteString value)

public QueryDirectoryContentsRequest.Builder setPathBytes(ByteString value)

Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for path to set.

Returns
TypeDescription
QueryDirectoryContentsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWorkspace(String value)

public QueryDirectoryContentsRequest.Builder setWorkspace(String value)

Required. The workspace's name.

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

Parameter
NameDescription
valueString

The workspace to set.

Returns
TypeDescription
QueryDirectoryContentsRequest.Builder

This builder for chaining.

setWorkspaceBytes(ByteString value)

public QueryDirectoryContentsRequest.Builder setWorkspaceBytes(ByteString value)

Required. The workspace's name.

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

Parameter
NameDescription
valueByteString

The bytes for workspace to set.

Returns
TypeDescription
QueryDirectoryContentsRequest.Builder

This builder for chaining.