Class CommitLogEntry.Builder (0.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CommitLogEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CommitLogEntry.Builder
Overrides

build()

public CommitLogEntry build()
Returns
TypeDescription
CommitLogEntry

buildPartial()

public CommitLogEntry buildPartial()
Returns
TypeDescription
CommitLogEntry

clear()

public CommitLogEntry.Builder clear()
Returns
TypeDescription
CommitLogEntry.Builder
Overrides

clearAuthor()

public CommitLogEntry.Builder clearAuthor()

The commit author for this commit log entry.

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

Returns
TypeDescription
CommitLogEntry.Builder

clearCommitMessage()

public CommitLogEntry.Builder clearCommitMessage()

The commit message for this commit log entry.

string commit_message = 4;

Returns
TypeDescription
CommitLogEntry.Builder

This builder for chaining.

clearCommitSha()

public CommitLogEntry.Builder clearCommitSha()

The commit SHA for this commit log entry.

string commit_sha = 2;

Returns
TypeDescription
CommitLogEntry.Builder

This builder for chaining.

clearCommitTime()

public CommitLogEntry.Builder clearCommitTime()

Commit timestamp.

.google.protobuf.Timestamp commit_time = 1;

Returns
TypeDescription
CommitLogEntry.Builder

clearField(Descriptors.FieldDescriptor field)

public CommitLogEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CommitLogEntry.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CommitLogEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CommitLogEntry.Builder
Overrides

clone()

public CommitLogEntry.Builder clone()
Returns
TypeDescription
CommitLogEntry.Builder
Overrides

getAuthor()

public CommitAuthor getAuthor()

The commit author for this commit log entry.

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

Returns
TypeDescription
CommitAuthor

The author.

getAuthorBuilder()

public CommitAuthor.Builder getAuthorBuilder()

The commit author for this commit log entry.

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

Returns
TypeDescription
CommitAuthor.Builder

getAuthorOrBuilder()

public CommitAuthorOrBuilder getAuthorOrBuilder()

The commit author for this commit log entry.

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

Returns
TypeDescription
CommitAuthorOrBuilder

getCommitMessage()

public String getCommitMessage()

The commit message for this commit log entry.

string commit_message = 4;

Returns
TypeDescription
String

The commitMessage.

getCommitMessageBytes()

public ByteString getCommitMessageBytes()

The commit message for this commit log entry.

string commit_message = 4;

Returns
TypeDescription
ByteString

The bytes for commitMessage.

getCommitSha()

public String getCommitSha()

The commit SHA for this commit log entry.

string commit_sha = 2;

Returns
TypeDescription
String

The commitSha.

getCommitShaBytes()

public ByteString getCommitShaBytes()

The commit SHA for this commit log entry.

string commit_sha = 2;

Returns
TypeDescription
ByteString

The bytes for commitSha.

getCommitTime()

public Timestamp getCommitTime()

Commit timestamp.

.google.protobuf.Timestamp commit_time = 1;

Returns
TypeDescription
Timestamp

The commitTime.

getCommitTimeBuilder()

public Timestamp.Builder getCommitTimeBuilder()

Commit timestamp.

.google.protobuf.Timestamp commit_time = 1;

Returns
TypeDescription
Builder

getCommitTimeOrBuilder()

public TimestampOrBuilder getCommitTimeOrBuilder()

Commit timestamp.

.google.protobuf.Timestamp commit_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public CommitLogEntry getDefaultInstanceForType()
Returns
TypeDescription
CommitLogEntry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasAuthor()

public boolean hasAuthor()

The commit author for this commit log entry.

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

Returns
TypeDescription
boolean

Whether the author field is set.

hasCommitTime()

public boolean hasCommitTime()

Commit timestamp.

.google.protobuf.Timestamp commit_time = 1;

Returns
TypeDescription
boolean

Whether the commitTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCommitAuthor
Returns
TypeDescription
CommitLogEntry.Builder

mergeCommitTime(Timestamp value)

public CommitLogEntry.Builder mergeCommitTime(Timestamp value)

Commit timestamp.

.google.protobuf.Timestamp commit_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CommitLogEntry.Builder

mergeFrom(CommitLogEntry other)

public CommitLogEntry.Builder mergeFrom(CommitLogEntry other)
Parameter
NameDescription
otherCommitLogEntry
Returns
TypeDescription
CommitLogEntry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CommitLogEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommitLogEntry.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CommitLogEntry.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CommitLogEntry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CommitLogEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCommitAuthor
Returns
TypeDescription
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
NameDescription
builderForValueCommitAuthor.Builder
Returns
TypeDescription
CommitLogEntry.Builder

setCommitMessage(String value)

public CommitLogEntry.Builder setCommitMessage(String value)

The commit message for this commit log entry.

string commit_message = 4;

Parameter
NameDescription
valueString

The commitMessage to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for commitMessage to set.

Returns
TypeDescription
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
NameDescription
valueString

The commitSha to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for commitSha to set.

Returns
TypeDescription
CommitLogEntry.Builder

This builder for chaining.

setCommitTime(Timestamp value)

public CommitLogEntry.Builder setCommitTime(Timestamp value)

Commit timestamp.

.google.protobuf.Timestamp commit_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CommitLogEntry.Builder

setCommitTime(Timestamp.Builder builderForValue)

public CommitLogEntry.Builder setCommitTime(Timestamp.Builder builderForValue)

Commit timestamp.

.google.protobuf.Timestamp commit_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CommitLogEntry.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CommitLogEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CommitLogEntry.Builder
Overrides

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

public CommitLogEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CommitLogEntry.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CommitLogEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CommitLogEntry.Builder
Overrides