Class CommitAuthor.Builder (0.2.1)

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.v1beta1.CommitAuthor

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CommitAuthor build()
Returns
TypeDescription
CommitAuthor

buildPartial()

public CommitAuthor buildPartial()
Returns
TypeDescription
CommitAuthor

clear()

public CommitAuthor.Builder clear()
Returns
TypeDescription
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
TypeDescription
CommitAuthor.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public CommitAuthor.Builder clearName()

Required. The commit author's name.

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

Returns
TypeDescription
CommitAuthor.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CommitAuthor getDefaultInstanceForType()
Returns
TypeDescription
CommitAuthor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEmailAddress()

public String getEmailAddress()

Required. The commit author's email address.

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

Returns
TypeDescription
String

The emailAddress.

getEmailAddressBytes()

public ByteString getEmailAddressBytes()

Required. The commit author's email address.

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

Returns
TypeDescription
ByteString

The bytes for emailAddress.

getName()

public String getName()

Required. The commit author's name.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The commit author's name.

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CommitAuthor other)

public CommitAuthor.Builder mergeFrom(CommitAuthor other)
Parameter
NameDescription
otherCommitAuthor
Returns
TypeDescription
CommitAuthor.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The emailAddress to set.

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

The bytes for emailAddress to set.

Returns
TypeDescription
CommitAuthor.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CommitAuthor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CommitAuthor.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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