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