Class CommitAuthor (0.8.0)

public final class CommitAuthor extends GeneratedMessageV3 implements CommitAuthorOrBuilder

Represents the author of a Git commit.

Protobuf type google.cloud.dataform.v1beta1.CommitAuthor

Static Fields

EMAIL_ADDRESS_FIELD_NUMBER

public static final int EMAIL_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CommitAuthor getDefaultInstance()
Returns
Type Description
CommitAuthor

getDescriptor()

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

newBuilder()

public static CommitAuthor.Builder newBuilder()
Returns
Type Description
CommitAuthor.Builder

newBuilder(CommitAuthor prototype)

public static CommitAuthor.Builder newBuilder(CommitAuthor prototype)
Parameter
Name Description
prototype CommitAuthor
Returns
Type Description
CommitAuthor.Builder

parseDelimitedFrom(InputStream input)

public static CommitAuthor parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CommitAuthor
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CommitAuthor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitAuthor
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CommitAuthor parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CommitAuthor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CommitAuthor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitAuthor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CommitAuthor parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CommitAuthor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CommitAuthor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitAuthor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CommitAuthor parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CommitAuthor
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CommitAuthor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitAuthor
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CommitAuthor parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CommitAuthor
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CommitAuthor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitAuthor
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CommitAuthor parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CommitAuthor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CommitAuthor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitAuthor
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CommitAuthor> parser()
Returns
Type Description
Parser<CommitAuthor>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CommitAuthor getDefaultInstanceForType()
Returns
Type Description
CommitAuthor

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.

getParserForType()

public Parser<CommitAuthor> getParserForType()
Returns
Type Description
Parser<CommitAuthor>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CommitAuthor.Builder newBuilderForType()
Returns
Type Description
CommitAuthor.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CommitAuthor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CommitAuthor.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CommitAuthor.Builder toBuilder()
Returns
Type Description
CommitAuthor.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException