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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CommitAuthor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CommitAuthor build()
Returns
public CommitAuthor buildPartial()
Returns
public CommitAuthor.Builder clear()
Returns
Overrides
public CommitAuthor.Builder clearEmailAddress()
Required. The commit author's email address.
string email_address = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public CommitAuthor.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CommitAuthor.Builder clearName()
Required. The commit author's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public CommitAuthor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CommitAuthor.Builder clone()
Returns
Overrides
public CommitAuthor getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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.
|
Required. The commit author's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Required. The commit author's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CommitAuthor.Builder mergeFrom(CommitAuthor other)
Parameter
Returns
public CommitAuthor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CommitAuthor.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CommitAuthor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
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
public CommitAuthor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public CommitAuthor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CommitAuthor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides