Class FetchRepositoryHistoryResponse.Builder (0.43.0)

public static final class FetchRepositoryHistoryResponse.Builder extends GeneratedMessageV3.Builder<FetchRepositoryHistoryResponse.Builder> implements FetchRepositoryHistoryResponseOrBuilder

FetchRepositoryHistory response message.

Protobuf type google.cloud.dataform.v1beta1.FetchRepositoryHistoryResponse

Static Methods

getDescriptor()

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

Methods

addAllCommits(Iterable<? extends CommitLogEntry> values)

public FetchRepositoryHistoryResponse.Builder addAllCommits(Iterable<? extends CommitLogEntry> values)

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataform.v1beta1.CommitLogEntry>
Returns
Type Description
FetchRepositoryHistoryResponse.Builder

addCommits(CommitLogEntry value)

public FetchRepositoryHistoryResponse.Builder addCommits(CommitLogEntry value)

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Parameter
Name Description
value CommitLogEntry
Returns
Type Description
FetchRepositoryHistoryResponse.Builder

addCommits(CommitLogEntry.Builder builderForValue)

public FetchRepositoryHistoryResponse.Builder addCommits(CommitLogEntry.Builder builderForValue)

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Parameter
Name Description
builderForValue CommitLogEntry.Builder
Returns
Type Description
FetchRepositoryHistoryResponse.Builder

addCommits(int index, CommitLogEntry value)

public FetchRepositoryHistoryResponse.Builder addCommits(int index, CommitLogEntry value)

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Parameters
Name Description
index int
value CommitLogEntry
Returns
Type Description
FetchRepositoryHistoryResponse.Builder

addCommits(int index, CommitLogEntry.Builder builderForValue)

public FetchRepositoryHistoryResponse.Builder addCommits(int index, CommitLogEntry.Builder builderForValue)

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Parameters
Name Description
index int
builderForValue CommitLogEntry.Builder
Returns
Type Description
FetchRepositoryHistoryResponse.Builder

addCommitsBuilder()

public CommitLogEntry.Builder addCommitsBuilder()

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Returns
Type Description
CommitLogEntry.Builder

addCommitsBuilder(int index)

public CommitLogEntry.Builder addCommitsBuilder(int index)

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Parameter
Name Description
index int
Returns
Type Description
CommitLogEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchRepositoryHistoryResponse build()
Returns
Type Description
FetchRepositoryHistoryResponse

buildPartial()

public FetchRepositoryHistoryResponse buildPartial()
Returns
Type Description
FetchRepositoryHistoryResponse

clear()

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

clearCommits()

public FetchRepositoryHistoryResponse.Builder clearCommits()

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Returns
Type Description
FetchRepositoryHistoryResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public FetchRepositoryHistoryResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
FetchRepositoryHistoryResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCommits(int index)

public CommitLogEntry getCommits(int index)

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Parameter
Name Description
index int
Returns
Type Description
CommitLogEntry

getCommitsBuilder(int index)

public CommitLogEntry.Builder getCommitsBuilder(int index)

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Parameter
Name Description
index int
Returns
Type Description
CommitLogEntry.Builder

getCommitsBuilderList()

public List<CommitLogEntry.Builder> getCommitsBuilderList()

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Returns
Type Description
List<Builder>

getCommitsCount()

public int getCommitsCount()

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Returns
Type Description
int

getCommitsList()

public List<CommitLogEntry> getCommitsList()

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Returns
Type Description
List<CommitLogEntry>

getCommitsOrBuilder(int index)

public CommitLogEntryOrBuilder getCommitsOrBuilder(int index)

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Parameter
Name Description
index int
Returns
Type Description
CommitLogEntryOrBuilder

getCommitsOrBuilderList()

public List<? extends CommitLogEntryOrBuilder> getCommitsOrBuilderList()

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Returns
Type Description
List<? extends com.google.cloud.dataform.v1beta1.CommitLogEntryOrBuilder>

getDefaultInstanceForType()

public FetchRepositoryHistoryResponse getDefaultInstanceForType()
Returns
Type Description
FetchRepositoryHistoryResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchRepositoryHistoryResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCommits(int index)

public FetchRepositoryHistoryResponse.Builder removeCommits(int index)

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchRepositoryHistoryResponse.Builder

setCommits(int index, CommitLogEntry value)

public FetchRepositoryHistoryResponse.Builder setCommits(int index, CommitLogEntry value)

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Parameters
Name Description
index int
value CommitLogEntry
Returns
Type Description
FetchRepositoryHistoryResponse.Builder

setCommits(int index, CommitLogEntry.Builder builderForValue)

public FetchRepositoryHistoryResponse.Builder setCommits(int index, CommitLogEntry.Builder builderForValue)

A list of commit logs, ordered by 'git log' default order.

repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;

Parameters
Name Description
index int
builderForValue CommitLogEntry.Builder
Returns
Type Description
FetchRepositoryHistoryResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public FetchRepositoryHistoryResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
FetchRepositoryHistoryResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public FetchRepositoryHistoryResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
FetchRepositoryHistoryResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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