Class CommitAuthor.Builder (0.54.0)

public static final class CommitAuthor.Builder extends GeneratedMessageV3.Builder<CommitAuthor.Builder> implements CommitAuthorOrBuilder

Represents the author of a Git commit.

Protobuf type google.cloud.dataform.v1alpha2.CommitAuthor

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CommitAuthor build()
Returns
Type Description
CommitAuthor

buildPartial()

public CommitAuthor buildPartial()
Returns
Type Description
CommitAuthor

clear()

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

clearEmailAddress()

public CommitAuthor.Builder clearEmailAddress()

Required. The commit author's email address.

string email_address = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CommitAuthor.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public CommitAuthor.Builder clearName()

Required. The commit author's name.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CommitAuthor.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CommitAuthor getDefaultInstanceForType()
Returns
Type Description
CommitAuthor

getDescriptorForType()

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

getEmailAddress()

public String getEmailAddress()

Required. The commit author's email address.

string email_address = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The emailAddress.

getEmailAddressBytes()

public ByteString getEmailAddressBytes()

Required. The commit author's email address.

string email_address = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for emailAddress.

getName()

public String getName()

Required. The commit author's name.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The commit author's name.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CommitAuthor other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEmailAddress(String value)

public CommitAuthor.Builder setEmailAddress(String value)

Required. The commit author's email address.

string email_address = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The emailAddress to set.

Returns
Type Description
CommitAuthor.Builder

This builder for chaining.

setEmailAddressBytes(ByteString value)

public CommitAuthor.Builder setEmailAddressBytes(ByteString value)

Required. The commit author's email address.

string email_address = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for emailAddress to set.

Returns
Type Description
CommitAuthor.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public CommitAuthor.Builder setName(String value)

Required. The commit author's name.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
CommitAuthor.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CommitAuthor.Builder setNameBytes(ByteString value)

Required. The commit author's name.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
CommitAuthor.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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