public static final class CommitAuthor.Builder extends GeneratedMessage.Builder<CommitAuthor.Builder> implements CommitAuthorOrBuilderRepresents the author of a Git commit.
Protobuf type google.cloud.dataform.v1beta1.CommitAuthor
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CommitAuthor.BuilderImplements
CommitAuthorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
getDefaultInstanceForType()
public CommitAuthor getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CommitAuthor |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CommitAuthor.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CommitAuthor.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for emailAddress to set. |
| Returns | |
|---|---|
| Type | Description |
CommitAuthor.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
CommitAuthor.Builder |
This builder for chaining. |