Class FetchRepositoryHistoryRequest.Builder (0.42.0)

public static final class FetchRepositoryHistoryRequest.Builder extends GeneratedMessageV3.Builder<FetchRepositoryHistoryRequest.Builder> implements FetchRepositoryHistoryRequestOrBuilder

FetchRepositoryHistory request message.

Protobuf type google.cloud.dataform.v1beta1.FetchRepositoryHistoryRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchRepositoryHistoryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchRepositoryHistoryRequest.Builder
Overrides

build()

public FetchRepositoryHistoryRequest build()
Returns
Type Description
FetchRepositoryHistoryRequest

buildPartial()

public FetchRepositoryHistoryRequest buildPartial()
Returns
Type Description
FetchRepositoryHistoryRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public FetchRepositoryHistoryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FetchRepositoryHistoryRequest.Builder
Overrides

clearName()

public FetchRepositoryHistoryRequest.Builder clearName()

Required. The repository's name.

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

Returns
Type Description
FetchRepositoryHistoryRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchRepositoryHistoryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FetchRepositoryHistoryRequest.Builder
Overrides

clearPageSize()

public FetchRepositoryHistoryRequest.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
FetchRepositoryHistoryRequest.Builder

This builder for chaining.

clearPageToken()

public FetchRepositoryHistoryRequest.Builder clearPageToken()

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

When paginating, all other parameters provided to FetchRepositoryHistory must match the call that provided the page token.

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

Returns
Type Description
FetchRepositoryHistoryRequest.Builder

This builder for chaining.

clone()

public FetchRepositoryHistoryRequest.Builder clone()
Returns
Type Description
FetchRepositoryHistoryRequest.Builder
Overrides

getDefaultInstanceForType()

public FetchRepositoryHistoryRequest getDefaultInstanceForType()
Returns
Type Description
FetchRepositoryHistoryRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The repository'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 repository'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 FetchRepositoryHistory call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to FetchRepositoryHistory 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 FetchRepositoryHistory call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to FetchRepositoryHistory 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchRepositoryHistoryRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchRepositoryHistoryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchRepositoryHistoryRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FetchRepositoryHistoryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchRepositoryHistoryRequest.Builder
Overrides

setName(String value)

public FetchRepositoryHistoryRequest.Builder setName(String value)

Required. The repository'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
FetchRepositoryHistoryRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FetchRepositoryHistoryRequest.Builder setNameBytes(ByteString value)

Required. The repository'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
FetchRepositoryHistoryRequest.Builder

This builder for chaining.

setPageSize(int value)

public FetchRepositoryHistoryRequest.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
FetchRepositoryHistoryRequest.Builder

This builder for chaining.

setPageToken(String value)

public FetchRepositoryHistoryRequest.Builder setPageToken(String value)

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

When paginating, all other parameters provided to FetchRepositoryHistory 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
FetchRepositoryHistoryRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public FetchRepositoryHistoryRequest.Builder setPageTokenBytes(ByteString value)

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

When paginating, all other parameters provided to FetchRepositoryHistory 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
FetchRepositoryHistoryRequest.Builder

This builder for chaining.

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

public FetchRepositoryHistoryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FetchRepositoryHistoryRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchRepositoryHistoryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchRepositoryHistoryRequest.Builder
Overrides