Class CommitLogEntry.Builder (0.40.0)

public static final class CommitLogEntry.Builder extends GeneratedMessageV3.Builder<CommitLogEntry.Builder> implements CommitLogEntryOrBuilder

Represents a single commit log.

Protobuf type google.cloud.dataform.v1beta1.CommitLogEntry

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CommitLogEntry build()
Returns
Type Description
CommitLogEntry

buildPartial()

public CommitLogEntry buildPartial()
Returns
Type Description
CommitLogEntry

clear()

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

clearAuthor()

public CommitLogEntry.Builder clearAuthor()

The commit author for this commit log entry.

.google.cloud.dataform.v1beta1.CommitAuthor author = 3;

Returns
Type Description
CommitLogEntry.Builder

clearCommitMessage()

public CommitLogEntry.Builder clearCommitMessage()

The commit message for this commit log entry.

string commit_message = 4;

Returns
Type Description
CommitLogEntry.Builder

This builder for chaining.

clearCommitSha()

public CommitLogEntry.Builder clearCommitSha()

The commit SHA for this commit log entry.

string commit_sha = 2;

Returns
Type Description
CommitLogEntry.Builder

This builder for chaining.

clearCommitTime()

public CommitLogEntry.Builder clearCommitTime()

Commit timestamp.

.google.protobuf.Timestamp commit_time = 1;

Returns
Type Description
CommitLogEntry.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAuthor()

public CommitAuthor getAuthor()

The commit author for this commit log entry.

.google.cloud.dataform.v1beta1.CommitAuthor author = 3;

Returns
Type Description
CommitAuthor

The author.

getAuthorBuilder()

public CommitAuthor.Builder getAuthorBuilder()

The commit author for this commit log entry.

.google.cloud.dataform.v1beta1.CommitAuthor author = 3;

Returns
Type Description
CommitAuthor.Builder

getAuthorOrBuilder()

public CommitAuthorOrBuilder getAuthorOrBuilder()

The commit author for this commit log entry.

.google.cloud.dataform.v1beta1.CommitAuthor author = 3;

Returns
Type Description
CommitAuthorOrBuilder

getCommitMessage()

public String getCommitMessage()

The commit message for this commit log entry.

string commit_message = 4;

Returns
Type Description
String

The commitMessage.

getCommitMessageBytes()

public ByteString getCommitMessageBytes()

The commit message for this commit log entry.

string commit_message = 4;

Returns
Type Description
ByteString

The bytes for commitMessage.

getCommitSha()

public String getCommitSha()

The commit SHA for this commit log entry.

string commit_sha = 2;

Returns
Type Description
String

The commitSha.

getCommitShaBytes()

public ByteString getCommitShaBytes()

The commit SHA for this commit log entry.

string commit_sha = 2;

Returns
Type Description
ByteString

The bytes for commitSha.

getCommitTime()

public Timestamp getCommitTime()

Commit timestamp.

.google.protobuf.Timestamp commit_time = 1;

Returns
Type Description
Timestamp

The commitTime.

getCommitTimeBuilder()

public Timestamp.Builder getCommitTimeBuilder()

Commit timestamp.

.google.protobuf.Timestamp commit_time = 1;

Returns
Type Description
Builder

getCommitTimeOrBuilder()

public TimestampOrBuilder getCommitTimeOrBuilder()

Commit timestamp.

.google.protobuf.Timestamp commit_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CommitLogEntry getDefaultInstanceForType()
Returns
Type Description
CommitLogEntry

getDescriptorForType()

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

hasAuthor()

public boolean hasAuthor()

The commit author for this commit log entry.

.google.cloud.dataform.v1beta1.CommitAuthor author = 3;

Returns
Type Description
boolean

Whether the author field is set.

hasCommitTime()

public boolean hasCommitTime()

Commit timestamp.

.google.protobuf.Timestamp commit_time = 1;

Returns
Type Description
boolean

Whether the commitTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAuthor(CommitAuthor value)

public CommitLogEntry.Builder mergeAuthor(CommitAuthor value)

The commit author for this commit log entry.

.google.cloud.dataform.v1beta1.CommitAuthor author = 3;

Parameter
Name Description
value CommitAuthor
Returns
Type Description
CommitLogEntry.Builder

mergeCommitTime(Timestamp value)

public CommitLogEntry.Builder mergeCommitTime(Timestamp value)

Commit timestamp.

.google.protobuf.Timestamp commit_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
CommitLogEntry.Builder

mergeFrom(CommitLogEntry other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAuthor(CommitAuthor value)

public CommitLogEntry.Builder setAuthor(CommitAuthor value)

The commit author for this commit log entry.

.google.cloud.dataform.v1beta1.CommitAuthor author = 3;

Parameter
Name Description
value CommitAuthor
Returns
Type Description
CommitLogEntry.Builder

setAuthor(CommitAuthor.Builder builderForValue)

public CommitLogEntry.Builder setAuthor(CommitAuthor.Builder builderForValue)

The commit author for this commit log entry.

.google.cloud.dataform.v1beta1.CommitAuthor author = 3;

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

setCommitMessage(String value)

public CommitLogEntry.Builder setCommitMessage(String value)

The commit message for this commit log entry.

string commit_message = 4;

Parameter
Name Description
value String

The commitMessage to set.

Returns
Type Description
CommitLogEntry.Builder

This builder for chaining.

setCommitMessageBytes(ByteString value)

public CommitLogEntry.Builder setCommitMessageBytes(ByteString value)

The commit message for this commit log entry.

string commit_message = 4;

Parameter
Name Description
value ByteString

The bytes for commitMessage to set.

Returns
Type Description
CommitLogEntry.Builder

This builder for chaining.

setCommitSha(String value)

public CommitLogEntry.Builder setCommitSha(String value)

The commit SHA for this commit log entry.

string commit_sha = 2;

Parameter
Name Description
value String

The commitSha to set.

Returns
Type Description
CommitLogEntry.Builder

This builder for chaining.

setCommitShaBytes(ByteString value)

public CommitLogEntry.Builder setCommitShaBytes(ByteString value)

The commit SHA for this commit log entry.

string commit_sha = 2;

Parameter
Name Description
value ByteString

The bytes for commitSha to set.

Returns
Type Description
CommitLogEntry.Builder

This builder for chaining.

setCommitTime(Timestamp value)

public CommitLogEntry.Builder setCommitTime(Timestamp value)

Commit timestamp.

.google.protobuf.Timestamp commit_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
CommitLogEntry.Builder

setCommitTime(Timestamp.Builder builderForValue)

public CommitLogEntry.Builder setCommitTime(Timestamp.Builder builderForValue)

Commit timestamp.

.google.protobuf.Timestamp commit_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CommitLogEntry.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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