public static final class BranchMetadata.Builder extends GeneratedMessage.Builder<BranchMetadata.Builder> implements BranchMetadataOrBuilderContains metadata about a branch.
Protobuf type google.cloud.dataform.v1beta1.BranchMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BranchMetadata.BuilderImplements
BranchMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BranchMetadata build()| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
buildPartial()
public BranchMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
clear()
public BranchMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
BranchMetadata.Builder |
|
clearBranchName()
public BranchMetadata.Builder clearBranchName()The branch name.
string branch_name = 1;
| Returns | |
|---|---|
| Type | Description |
BranchMetadata.Builder |
This builder for chaining. |
clearLastCommit()
public BranchMetadata.Builder clearLastCommit()The last commit on the branch.
.google.cloud.dataform.v1beta1.CommitLogEntry last_commit = 2;
| Returns | |
|---|---|
| Type | Description |
BranchMetadata.Builder |
|
getBranchName()
public String getBranchName()The branch name.
string branch_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The branchName. |
getBranchNameBytes()
public ByteString getBranchNameBytes()The branch name.
string branch_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for branchName. |
getDefaultInstanceForType()
public BranchMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLastCommit()
public CommitLogEntry getLastCommit()The last commit on the branch.
.google.cloud.dataform.v1beta1.CommitLogEntry last_commit = 2;
| Returns | |
|---|---|
| Type | Description |
CommitLogEntry |
The lastCommit. |
getLastCommitBuilder()
public CommitLogEntry.Builder getLastCommitBuilder()The last commit on the branch.
.google.cloud.dataform.v1beta1.CommitLogEntry last_commit = 2;
| Returns | |
|---|---|
| Type | Description |
CommitLogEntry.Builder |
|
getLastCommitOrBuilder()
public CommitLogEntryOrBuilder getLastCommitOrBuilder()The last commit on the branch.
.google.cloud.dataform.v1beta1.CommitLogEntry last_commit = 2;
| Returns | |
|---|---|
| Type | Description |
CommitLogEntryOrBuilder |
|
hasLastCommit()
public boolean hasLastCommit()The last commit on the branch.
.google.cloud.dataform.v1beta1.CommitLogEntry last_commit = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lastCommit field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BranchMetadata other)
public BranchMetadata.Builder mergeFrom(BranchMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
BranchMetadata |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BranchMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BranchMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata.Builder |
|
mergeLastCommit(CommitLogEntry value)
public BranchMetadata.Builder mergeLastCommit(CommitLogEntry value)The last commit on the branch.
.google.cloud.dataform.v1beta1.CommitLogEntry last_commit = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
CommitLogEntry |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata.Builder |
|
setBranchName(String value)
public BranchMetadata.Builder setBranchName(String value)The branch name.
string branch_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe branchName to set. |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata.Builder |
This builder for chaining. |
setBranchNameBytes(ByteString value)
public BranchMetadata.Builder setBranchNameBytes(ByteString value)The branch name.
string branch_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for branchName to set. |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata.Builder |
This builder for chaining. |
setLastCommit(CommitLogEntry value)
public BranchMetadata.Builder setLastCommit(CommitLogEntry value)The last commit on the branch.
.google.cloud.dataform.v1beta1.CommitLogEntry last_commit = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
CommitLogEntry |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata.Builder |
|
setLastCommit(CommitLogEntry.Builder builderForValue)
public BranchMetadata.Builder setLastCommit(CommitLogEntry.Builder builderForValue)The last commit on the branch.
.google.cloud.dataform.v1beta1.CommitLogEntry last_commit = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CommitLogEntry.Builder |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata.Builder |
|