Class FetchWorkspaceHistoryRequest.Builder (0.102.0)

public static final class FetchWorkspaceHistoryRequest.Builder extends GeneratedMessage.Builder<FetchWorkspaceHistoryRequest.Builder> implements FetchWorkspaceHistoryRequestOrBuilder

FetchWorkspaceHistory request message.

Protobuf type google.cloud.dataform.v1beta1.FetchWorkspaceHistoryRequest

Static Methods

getDescriptor()

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

Methods

build()

public FetchWorkspaceHistoryRequest build()
Returns
Type Description
FetchWorkspaceHistoryRequest

buildPartial()

public FetchWorkspaceHistoryRequest buildPartial()
Returns
Type Description
FetchWorkspaceHistoryRequest

clear()

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

clearName()

public FetchWorkspaceHistoryRequest.Builder clearName()

Required. The workspace's name.

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

Returns
Type Description
FetchWorkspaceHistoryRequest.Builder

This builder for chaining.

clearPageSize()

public FetchWorkspaceHistoryRequest.Builder clearPageSize()

Optional. Maximum number of commits 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
FetchWorkspaceHistoryRequest.Builder

This builder for chaining.

clearPageToken()

public FetchWorkspaceHistoryRequest.Builder clearPageToken()

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

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

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

Returns
Type Description
FetchWorkspaceHistoryRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public FetchWorkspaceHistoryRequest getDefaultInstanceForType()
Returns
Type Description
FetchWorkspaceHistoryRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The workspace's name.

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's name.

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 commits 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 FetchWorkspaceHistory call. Provide this to retrieve the subsequent page.

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

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

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

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

Returns
Type Description
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchWorkspaceHistoryRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public FetchWorkspaceHistoryRequest.Builder setName(String value)

Required. The workspace's name.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FetchWorkspaceHistoryRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FetchWorkspaceHistoryRequest.Builder setNameBytes(ByteString value)

Required. The workspace's name.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
FetchWorkspaceHistoryRequest.Builder

This builder for chaining.

setPageSize(int value)

public FetchWorkspaceHistoryRequest.Builder setPageSize(int value)

Optional. Maximum number of commits 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
FetchWorkspaceHistoryRequest.Builder

This builder for chaining.

setPageToken(String value)

public FetchWorkspaceHistoryRequest.Builder setPageToken(String value)

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

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

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
FetchWorkspaceHistoryRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public FetchWorkspaceHistoryRequest.Builder setPageTokenBytes(ByteString value)

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

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

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
FetchWorkspaceHistoryRequest.Builder

This builder for chaining.