public final class BranchMetadata extends GeneratedMessage implements BranchMetadataOrBuilderContains metadata about a branch.
Protobuf type google.cloud.dataform.v1beta1.BranchMetadata
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BranchMetadataImplements
BranchMetadataOrBuilderStatic Fields
BRANCH_NAME_FIELD_NUMBER
public static final int BRANCH_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LAST_COMMIT_FIELD_NUMBER
public static final int LAST_COMMIT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static BranchMetadata getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static BranchMetadata.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
BranchMetadata.Builder |
|
newBuilder(BranchMetadata prototype)
public static BranchMetadata.Builder newBuilder(BranchMetadata prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
BranchMetadata |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata.Builder |
|
parseDelimitedFrom(InputStream input)
public static BranchMetadata parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BranchMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static BranchMetadata parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BranchMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static BranchMetadata parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BranchMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static BranchMetadata parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BranchMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static BranchMetadata parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BranchMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static BranchMetadata parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BranchMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<BranchMetadata> parser()| Returns | |
|---|---|
| Type | Description |
Parser<BranchMetadata> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getBranchName()
public String getBranchName()The branch name.
string branch_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The branchName. |
getBranchNameBytes()
public ByteString getBranchNameBytes()The branch name.
string branch_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for branchName. |
getDefaultInstanceForType()
public BranchMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BranchMetadata |
|
getLastCommit()
public CommitLogEntry getLastCommit()The last commit on the branch.
.google.cloud.dataform.v1beta1.CommitLogEntry last_commit = 2;
| Returns | |
|---|---|
| Type | Description |
CommitLogEntry |
The lastCommit. |
getLastCommitOrBuilder()
public CommitLogEntryOrBuilder getLastCommitOrBuilder()The last commit on the branch.
.google.cloud.dataform.v1beta1.CommitLogEntry last_commit = 2;
| Returns | |
|---|---|
| Type | Description |
CommitLogEntryOrBuilder |
|
getParserForType()
public Parser<BranchMetadata> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<BranchMetadata> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasLastCommit()
public boolean hasLastCommit()The last commit on the branch.
.google.cloud.dataform.v1beta1.CommitLogEntry last_commit = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lastCommit field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public BranchMetadata.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
BranchMetadata.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected BranchMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
BranchMetadata.Builder |
|
toBuilder()
public BranchMetadata.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
BranchMetadata.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|