public static final class FetchWorkspaceHistoryResponse.Builder extends GeneratedMessage.Builder<FetchWorkspaceHistoryResponse.Builder> implements FetchWorkspaceHistoryResponseOrBuilder FetchWorkspaceHistory response message.
Protobuf type google.cloud.dataform.v1beta1.FetchWorkspaceHistoryResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchWorkspaceHistoryResponse.BuilderImplements
FetchWorkspaceHistoryResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCommits(Iterable<? extends CommitLogEntry> values)
public FetchWorkspaceHistoryResponse.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 |
FetchWorkspaceHistoryResponse.Builder |
|
addCommits(CommitLogEntry value)
public FetchWorkspaceHistoryResponse.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 |
FetchWorkspaceHistoryResponse.Builder |
|
addCommits(CommitLogEntry.Builder builderForValue)
public FetchWorkspaceHistoryResponse.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 |
FetchWorkspaceHistoryResponse.Builder |
|
addCommits(int index, CommitLogEntry value)
public FetchWorkspaceHistoryResponse.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 |
FetchWorkspaceHistoryResponse.Builder |
|
addCommits(int index, CommitLogEntry.Builder builderForValue)
public FetchWorkspaceHistoryResponse.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 |
FetchWorkspaceHistoryResponse.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 |
|
build()
public FetchWorkspaceHistoryResponse build()| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceHistoryResponse |
|
buildPartial()
public FetchWorkspaceHistoryResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceHistoryResponse |
|
clear()
public FetchWorkspaceHistoryResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceHistoryResponse.Builder |
|
clearCommits()
public FetchWorkspaceHistoryResponse.Builder clearCommits()A list of commit logs, ordered by 'git log' default order.
repeated .google.cloud.dataform.v1beta1.CommitLogEntry commits = 1;
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceHistoryResponse.Builder |
|
clearNextPageToken()
public FetchWorkspaceHistoryResponse.Builder clearNextPageToken() Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceHistoryResponse.Builder |
This builder for chaining. |
clearReachesShallowBoundary()
public FetchWorkspaceHistoryResponse.Builder clearReachesShallowBoundary()Whether this response reaches the shallow boundary of the repository.
bool reaches_shallow_boundary = 3;
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceHistoryResponse.Builder |
This builder for chaining. |
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 FetchWorkspaceHistoryResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceHistoryResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getReachesShallowBoundary()
public boolean getReachesShallowBoundary()Whether this response reaches the shallow boundary of the repository.
bool reaches_shallow_boundary = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The reachesShallowBoundary. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchWorkspaceHistoryResponse other)
public FetchWorkspaceHistoryResponse.Builder mergeFrom(FetchWorkspaceHistoryResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchWorkspaceHistoryResponse |
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceHistoryResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchWorkspaceHistoryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceHistoryResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchWorkspaceHistoryResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceHistoryResponse.Builder |
|
removeCommits(int index)
public FetchWorkspaceHistoryResponse.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 |
FetchWorkspaceHistoryResponse.Builder |
|
setCommits(int index, CommitLogEntry value)
public FetchWorkspaceHistoryResponse.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 |
FetchWorkspaceHistoryResponse.Builder |
|
setCommits(int index, CommitLogEntry.Builder builderForValue)
public FetchWorkspaceHistoryResponse.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 |
FetchWorkspaceHistoryResponse.Builder |
|
setNextPageToken(String value)
public FetchWorkspaceHistoryResponse.Builder setNextPageToken(String value) Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceHistoryResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public FetchWorkspaceHistoryResponse.Builder setNextPageTokenBytes(ByteString value) Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceHistoryResponse.Builder |
This builder for chaining. |
setReachesShallowBoundary(boolean value)
public FetchWorkspaceHistoryResponse.Builder setReachesShallowBoundary(boolean value)Whether this response reaches the shallow boundary of the repository.
bool reaches_shallow_boundary = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe reachesShallowBoundary to set. |
| Returns | |
|---|---|
| Type | Description |
FetchWorkspaceHistoryResponse.Builder |
This builder for chaining. |