com.zepben.protobuf.cim.iec61968.common.Document Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of evolve-grpc Show documentation
Show all versions of evolve-grpc Show documentation
Protobuf and gRPC definitions for the evolve platform
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: zepben/protobuf/cim/iec61968/common/Document.proto
package com.zepben.protobuf.cim.iec61968.common;
/**
*
**
* Parent class for different groupings of information collected and managed as a part of a business process.
* It will frequently contain references to other objects, such as assets, people and power system resources.
*
*
* Protobuf type {@code zepben.protobuf.cim.iec61968.common.Document}
*/
public final class Document extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:zepben.protobuf.cim.iec61968.common.Document)
DocumentOrBuilder {
private static final long serialVersionUID = 0L;
// Use Document.newBuilder() to construct.
private Document(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Document() {
title_ = "";
authorName_ = "";
type_ = "";
status_ = "";
comment_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Document();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.zepben.protobuf.cim.iec61968.common.DocumentOuterClass.internal_static_zepben_protobuf_cim_iec61968_common_Document_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.zepben.protobuf.cim.iec61968.common.DocumentOuterClass.internal_static_zepben_protobuf_cim_iec61968_common_Document_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.zepben.protobuf.cim.iec61968.common.Document.class, com.zepben.protobuf.cim.iec61968.common.Document.Builder.class);
}
private int bitField0_;
public static final int IO_FIELD_NUMBER = 1;
private com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject io_;
/**
*
**
* The IdentifiedObject fields for this Document
*
*
* .zepben.protobuf.cim.iec61970.base.core.IdentifiedObject io = 1;
* @return Whether the io field is set.
*/
@java.lang.Override
public boolean hasIo() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
**
* The IdentifiedObject fields for this Document
*
*
* .zepben.protobuf.cim.iec61970.base.core.IdentifiedObject io = 1;
* @return The io.
*/
@java.lang.Override
public com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject getIo() {
return io_ == null ? com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject.getDefaultInstance() : io_;
}
/**
*
**
* The IdentifiedObject fields for this Document
*
*
* .zepben.protobuf.cim.iec61970.base.core.IdentifiedObject io = 1;
*/
@java.lang.Override
public com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObjectOrBuilder getIoOrBuilder() {
return io_ == null ? com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject.getDefaultInstance() : io_;
}
public static final int TITLE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object title_ = "";
/**
*
**
* Title of the Document
*
*
* string title = 2;
* @return The title.
*/
@java.lang.Override
public java.lang.String getTitle() {
java.lang.Object ref = title_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
title_ = s;
return s;
}
}
/**
*
**
* Title of the Document
*
*
* string title = 2;
* @return The bytes for title.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTitleBytes() {
java.lang.Object ref = title_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
title_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATEDDATETIME_FIELD_NUMBER = 3;
private com.google.protobuf.Timestamp createdDateTime_;
/**
*
**
* Timestamp of when this document was created.
*
*
* .google.protobuf.Timestamp createdDateTime = 3;
* @return Whether the createdDateTime field is set.
*/
@java.lang.Override
public boolean hasCreatedDateTime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
**
* Timestamp of when this document was created.
*
*
* .google.protobuf.Timestamp createdDateTime = 3;
* @return The createdDateTime.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getCreatedDateTime() {
return createdDateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdDateTime_;
}
/**
*
**
* Timestamp of when this document was created.
*
*
* .google.protobuf.Timestamp createdDateTime = 3;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreatedDateTimeOrBuilder() {
return createdDateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdDateTime_;
}
public static final int AUTHORNAME_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object authorName_ = "";
/**
*
**
* Name of the author of this document.
*
*
* string authorName = 4;
* @return The authorName.
*/
@java.lang.Override
public java.lang.String getAuthorName() {
java.lang.Object ref = authorName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
authorName_ = s;
return s;
}
}
/**
*
**
* Name of the author of this document.
*
*
* string authorName = 4;
* @return The bytes for authorName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAuthorNameBytes() {
java.lang.Object ref = authorName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
authorName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TYPE_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object type_ = "";
/**
*
**
* Utility-specific classification of this document, according to its corporate standards, practices,
* and existing IT systems (e.g., for management of assets, maintenance, work, outage, customers, etc.).
*
*
* string type = 5;
* @return The type.
*/
@java.lang.Override
public java.lang.String getType() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
type_ = s;
return s;
}
}
/**
*
**
* Utility-specific classification of this document, according to its corporate standards, practices,
* and existing IT systems (e.g., for management of assets, maintenance, work, outage, customers, etc.).
*
*
* string type = 5;
* @return The bytes for type.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATUS_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object status_ = "";
/**
*
**
* Status of subject matter (e.g., Agreement, Work) this document represents.
*
*
* string status = 6;
* @return The status.
*/
@java.lang.Override
public java.lang.String getStatus() {
java.lang.Object ref = status_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
status_ = s;
return s;
}
}
/**
*
**
* Status of subject matter (e.g., Agreement, Work) this document represents.
*
*
* string status = 6;
* @return The bytes for status.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
status_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COMMENT_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object comment_ = "";
/**
*
**
* Free text comment
*
*
* string comment = 7;
* @return The comment.
*/
@java.lang.Override
public java.lang.String getComment() {
java.lang.Object ref = comment_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
comment_ = s;
return s;
}
}
/**
*
**
* Free text comment
*
*
* string comment = 7;
* @return The bytes for comment.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCommentBytes() {
java.lang.Object ref = comment_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
comment_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getIo());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, title_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(3, getCreatedDateTime());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, authorName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, type_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, status_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(comment_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, comment_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getIo());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, title_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getCreatedDateTime());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, authorName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, type_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, status_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(comment_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, comment_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.zepben.protobuf.cim.iec61968.common.Document)) {
return super.equals(obj);
}
com.zepben.protobuf.cim.iec61968.common.Document other = (com.zepben.protobuf.cim.iec61968.common.Document) obj;
if (hasIo() != other.hasIo()) return false;
if (hasIo()) {
if (!getIo()
.equals(other.getIo())) return false;
}
if (!getTitle()
.equals(other.getTitle())) return false;
if (hasCreatedDateTime() != other.hasCreatedDateTime()) return false;
if (hasCreatedDateTime()) {
if (!getCreatedDateTime()
.equals(other.getCreatedDateTime())) return false;
}
if (!getAuthorName()
.equals(other.getAuthorName())) return false;
if (!getType()
.equals(other.getType())) return false;
if (!getStatus()
.equals(other.getStatus())) return false;
if (!getComment()
.equals(other.getComment())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasIo()) {
hash = (37 * hash) + IO_FIELD_NUMBER;
hash = (53 * hash) + getIo().hashCode();
}
hash = (37 * hash) + TITLE_FIELD_NUMBER;
hash = (53 * hash) + getTitle().hashCode();
if (hasCreatedDateTime()) {
hash = (37 * hash) + CREATEDDATETIME_FIELD_NUMBER;
hash = (53 * hash) + getCreatedDateTime().hashCode();
}
hash = (37 * hash) + AUTHORNAME_FIELD_NUMBER;
hash = (53 * hash) + getAuthorName().hashCode();
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
hash = (37 * hash) + COMMENT_FIELD_NUMBER;
hash = (53 * hash) + getComment().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.zepben.protobuf.cim.iec61968.common.Document parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.zepben.protobuf.cim.iec61968.common.Document parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.zepben.protobuf.cim.iec61968.common.Document parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.zepben.protobuf.cim.iec61968.common.Document parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.zepben.protobuf.cim.iec61968.common.Document parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.zepben.protobuf.cim.iec61968.common.Document parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.zepben.protobuf.cim.iec61968.common.Document parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.zepben.protobuf.cim.iec61968.common.Document parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.zepben.protobuf.cim.iec61968.common.Document parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.zepben.protobuf.cim.iec61968.common.Document parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.zepben.protobuf.cim.iec61968.common.Document parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.zepben.protobuf.cim.iec61968.common.Document parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.zepben.protobuf.cim.iec61968.common.Document prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* Parent class for different groupings of information collected and managed as a part of a business process.
* It will frequently contain references to other objects, such as assets, people and power system resources.
*
*
* Protobuf type {@code zepben.protobuf.cim.iec61968.common.Document}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:zepben.protobuf.cim.iec61968.common.Document)
com.zepben.protobuf.cim.iec61968.common.DocumentOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.zepben.protobuf.cim.iec61968.common.DocumentOuterClass.internal_static_zepben_protobuf_cim_iec61968_common_Document_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.zepben.protobuf.cim.iec61968.common.DocumentOuterClass.internal_static_zepben_protobuf_cim_iec61968_common_Document_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.zepben.protobuf.cim.iec61968.common.Document.class, com.zepben.protobuf.cim.iec61968.common.Document.Builder.class);
}
// Construct using com.zepben.protobuf.cim.iec61968.common.Document.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getIoFieldBuilder();
getCreatedDateTimeFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
io_ = null;
if (ioBuilder_ != null) {
ioBuilder_.dispose();
ioBuilder_ = null;
}
title_ = "";
createdDateTime_ = null;
if (createdDateTimeBuilder_ != null) {
createdDateTimeBuilder_.dispose();
createdDateTimeBuilder_ = null;
}
authorName_ = "";
type_ = "";
status_ = "";
comment_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.zepben.protobuf.cim.iec61968.common.DocumentOuterClass.internal_static_zepben_protobuf_cim_iec61968_common_Document_descriptor;
}
@java.lang.Override
public com.zepben.protobuf.cim.iec61968.common.Document getDefaultInstanceForType() {
return com.zepben.protobuf.cim.iec61968.common.Document.getDefaultInstance();
}
@java.lang.Override
public com.zepben.protobuf.cim.iec61968.common.Document build() {
com.zepben.protobuf.cim.iec61968.common.Document result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.zepben.protobuf.cim.iec61968.common.Document buildPartial() {
com.zepben.protobuf.cim.iec61968.common.Document result = new com.zepben.protobuf.cim.iec61968.common.Document(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.zepben.protobuf.cim.iec61968.common.Document result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.io_ = ioBuilder_ == null
? io_
: ioBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.title_ = title_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.createdDateTime_ = createdDateTimeBuilder_ == null
? createdDateTime_
: createdDateTimeBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.authorName_ = authorName_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.type_ = type_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.status_ = status_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.comment_ = comment_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.zepben.protobuf.cim.iec61968.common.Document) {
return mergeFrom((com.zepben.protobuf.cim.iec61968.common.Document)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.zepben.protobuf.cim.iec61968.common.Document other) {
if (other == com.zepben.protobuf.cim.iec61968.common.Document.getDefaultInstance()) return this;
if (other.hasIo()) {
mergeIo(other.getIo());
}
if (!other.getTitle().isEmpty()) {
title_ = other.title_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasCreatedDateTime()) {
mergeCreatedDateTime(other.getCreatedDateTime());
}
if (!other.getAuthorName().isEmpty()) {
authorName_ = other.authorName_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getType().isEmpty()) {
type_ = other.type_;
bitField0_ |= 0x00000010;
onChanged();
}
if (!other.getStatus().isEmpty()) {
status_ = other.status_;
bitField0_ |= 0x00000020;
onChanged();
}
if (!other.getComment().isEmpty()) {
comment_ = other.comment_;
bitField0_ |= 0x00000040;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getIoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
title_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getCreatedDateTimeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
authorName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
type_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
status_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
comment_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 58
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject io_;
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject, com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject.Builder, com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObjectOrBuilder> ioBuilder_;
/**
*
**
* The IdentifiedObject fields for this Document
*
*
* .zepben.protobuf.cim.iec61970.base.core.IdentifiedObject io = 1;
* @return Whether the io field is set.
*/
public boolean hasIo() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
**
* The IdentifiedObject fields for this Document
*
*
* .zepben.protobuf.cim.iec61970.base.core.IdentifiedObject io = 1;
* @return The io.
*/
public com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject getIo() {
if (ioBuilder_ == null) {
return io_ == null ? com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject.getDefaultInstance() : io_;
} else {
return ioBuilder_.getMessage();
}
}
/**
*
**
* The IdentifiedObject fields for this Document
*
*
* .zepben.protobuf.cim.iec61970.base.core.IdentifiedObject io = 1;
*/
public Builder setIo(com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject value) {
if (ioBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
io_ = value;
} else {
ioBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
**
* The IdentifiedObject fields for this Document
*
*
* .zepben.protobuf.cim.iec61970.base.core.IdentifiedObject io = 1;
*/
public Builder setIo(
com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject.Builder builderForValue) {
if (ioBuilder_ == null) {
io_ = builderForValue.build();
} else {
ioBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
**
* The IdentifiedObject fields for this Document
*
*
* .zepben.protobuf.cim.iec61970.base.core.IdentifiedObject io = 1;
*/
public Builder mergeIo(com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject value) {
if (ioBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
io_ != null &&
io_ != com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject.getDefaultInstance()) {
getIoBuilder().mergeFrom(value);
} else {
io_ = value;
}
} else {
ioBuilder_.mergeFrom(value);
}
if (io_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
*
**
* The IdentifiedObject fields for this Document
*
*
* .zepben.protobuf.cim.iec61970.base.core.IdentifiedObject io = 1;
*/
public Builder clearIo() {
bitField0_ = (bitField0_ & ~0x00000001);
io_ = null;
if (ioBuilder_ != null) {
ioBuilder_.dispose();
ioBuilder_ = null;
}
onChanged();
return this;
}
/**
*
**
* The IdentifiedObject fields for this Document
*
*
* .zepben.protobuf.cim.iec61970.base.core.IdentifiedObject io = 1;
*/
public com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject.Builder getIoBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getIoFieldBuilder().getBuilder();
}
/**
*
**
* The IdentifiedObject fields for this Document
*
*
* .zepben.protobuf.cim.iec61970.base.core.IdentifiedObject io = 1;
*/
public com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObjectOrBuilder getIoOrBuilder() {
if (ioBuilder_ != null) {
return ioBuilder_.getMessageOrBuilder();
} else {
return io_ == null ?
com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject.getDefaultInstance() : io_;
}
}
/**
*
**
* The IdentifiedObject fields for this Document
*
*
* .zepben.protobuf.cim.iec61970.base.core.IdentifiedObject io = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject, com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject.Builder, com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObjectOrBuilder>
getIoFieldBuilder() {
if (ioBuilder_ == null) {
ioBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject, com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObject.Builder, com.zepben.protobuf.cim.iec61970.base.core.IdentifiedObjectOrBuilder>(
getIo(),
getParentForChildren(),
isClean());
io_ = null;
}
return ioBuilder_;
}
private java.lang.Object title_ = "";
/**
*
**
* Title of the Document
*
*
* string title = 2;
* @return The title.
*/
public java.lang.String getTitle() {
java.lang.Object ref = title_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
title_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
**
* Title of the Document
*
*
* string title = 2;
* @return The bytes for title.
*/
public com.google.protobuf.ByteString
getTitleBytes() {
java.lang.Object ref = title_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
title_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
**
* Title of the Document
*
*
* string title = 2;
* @param value The title to set.
* @return This builder for chaining.
*/
public Builder setTitle(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
title_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
**
* Title of the Document
*
*
* string title = 2;
* @return This builder for chaining.
*/
public Builder clearTitle() {
title_ = getDefaultInstance().getTitle();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
**
* Title of the Document
*
*
* string title = 2;
* @param value The bytes for title to set.
* @return This builder for chaining.
*/
public Builder setTitleBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
title_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private com.google.protobuf.Timestamp createdDateTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdDateTimeBuilder_;
/**
*
**
* Timestamp of when this document was created.
*
*
* .google.protobuf.Timestamp createdDateTime = 3;
* @return Whether the createdDateTime field is set.
*/
public boolean hasCreatedDateTime() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
**
* Timestamp of when this document was created.
*
*
* .google.protobuf.Timestamp createdDateTime = 3;
* @return The createdDateTime.
*/
public com.google.protobuf.Timestamp getCreatedDateTime() {
if (createdDateTimeBuilder_ == null) {
return createdDateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdDateTime_;
} else {
return createdDateTimeBuilder_.getMessage();
}
}
/**
*
**
* Timestamp of when this document was created.
*
*
* .google.protobuf.Timestamp createdDateTime = 3;
*/
public Builder setCreatedDateTime(com.google.protobuf.Timestamp value) {
if (createdDateTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createdDateTime_ = value;
} else {
createdDateTimeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
**
* Timestamp of when this document was created.
*
*
* .google.protobuf.Timestamp createdDateTime = 3;
*/
public Builder setCreatedDateTime(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (createdDateTimeBuilder_ == null) {
createdDateTime_ = builderForValue.build();
} else {
createdDateTimeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
**
* Timestamp of when this document was created.
*
*
* .google.protobuf.Timestamp createdDateTime = 3;
*/
public Builder mergeCreatedDateTime(com.google.protobuf.Timestamp value) {
if (createdDateTimeBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
createdDateTime_ != null &&
createdDateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
getCreatedDateTimeBuilder().mergeFrom(value);
} else {
createdDateTime_ = value;
}
} else {
createdDateTimeBuilder_.mergeFrom(value);
}
if (createdDateTime_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
*
**
* Timestamp of when this document was created.
*
*
* .google.protobuf.Timestamp createdDateTime = 3;
*/
public Builder clearCreatedDateTime() {
bitField0_ = (bitField0_ & ~0x00000004);
createdDateTime_ = null;
if (createdDateTimeBuilder_ != null) {
createdDateTimeBuilder_.dispose();
createdDateTimeBuilder_ = null;
}
onChanged();
return this;
}
/**
*
**
* Timestamp of when this document was created.
*
*
* .google.protobuf.Timestamp createdDateTime = 3;
*/
public com.google.protobuf.Timestamp.Builder getCreatedDateTimeBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getCreatedDateTimeFieldBuilder().getBuilder();
}
/**
*
**
* Timestamp of when this document was created.
*
*
* .google.protobuf.Timestamp createdDateTime = 3;
*/
public com.google.protobuf.TimestampOrBuilder getCreatedDateTimeOrBuilder() {
if (createdDateTimeBuilder_ != null) {
return createdDateTimeBuilder_.getMessageOrBuilder();
} else {
return createdDateTime_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : createdDateTime_;
}
}
/**
*
**
* Timestamp of when this document was created.
*
*
* .google.protobuf.Timestamp createdDateTime = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getCreatedDateTimeFieldBuilder() {
if (createdDateTimeBuilder_ == null) {
createdDateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getCreatedDateTime(),
getParentForChildren(),
isClean());
createdDateTime_ = null;
}
return createdDateTimeBuilder_;
}
private java.lang.Object authorName_ = "";
/**
*
**
* Name of the author of this document.
*
*
* string authorName = 4;
* @return The authorName.
*/
public java.lang.String getAuthorName() {
java.lang.Object ref = authorName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
authorName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
**
* Name of the author of this document.
*
*
* string authorName = 4;
* @return The bytes for authorName.
*/
public com.google.protobuf.ByteString
getAuthorNameBytes() {
java.lang.Object ref = authorName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
authorName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
**
* Name of the author of this document.
*
*
* string authorName = 4;
* @param value The authorName to set.
* @return This builder for chaining.
*/
public Builder setAuthorName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
authorName_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
**
* Name of the author of this document.
*
*
* string authorName = 4;
* @return This builder for chaining.
*/
public Builder clearAuthorName() {
authorName_ = getDefaultInstance().getAuthorName();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
*
**
* Name of the author of this document.
*
*
* string authorName = 4;
* @param value The bytes for authorName to set.
* @return This builder for chaining.
*/
public Builder setAuthorNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
authorName_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object type_ = "";
/**
*
**
* Utility-specific classification of this document, according to its corporate standards, practices,
* and existing IT systems (e.g., for management of assets, maintenance, work, outage, customers, etc.).
*
*
* string type = 5;
* @return The type.
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
type_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
**
* Utility-specific classification of this document, according to its corporate standards, practices,
* and existing IT systems (e.g., for management of assets, maintenance, work, outage, customers, etc.).
*
*
* string type = 5;
* @return The bytes for type.
*/
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
**
* Utility-specific classification of this document, according to its corporate standards, practices,
* and existing IT systems (e.g., for management of assets, maintenance, work, outage, customers, etc.).
*
*
* string type = 5;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
type_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
**
* Utility-specific classification of this document, according to its corporate standards, practices,
* and existing IT systems (e.g., for management of assets, maintenance, work, outage, customers, etc.).
*
*
* string type = 5;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = getDefaultInstance().getType();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
*
**
* Utility-specific classification of this document, according to its corporate standards, practices,
* and existing IT systems (e.g., for management of assets, maintenance, work, outage, customers, etc.).
*
*
* string type = 5;
* @param value The bytes for type to set.
* @return This builder for chaining.
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
type_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object status_ = "";
/**
*
**
* Status of subject matter (e.g., Agreement, Work) this document represents.
*
*
* string status = 6;
* @return The status.
*/
public java.lang.String getStatus() {
java.lang.Object ref = status_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
status_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
**
* Status of subject matter (e.g., Agreement, Work) this document represents.
*
*
* string status = 6;
* @return The bytes for status.
*/
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
status_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
**
* Status of subject matter (e.g., Agreement, Work) this document represents.
*
*
* string status = 6;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
status_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
*
**
* Status of subject matter (e.g., Agreement, Work) this document represents.
*
*
* string status = 6;
* @return This builder for chaining.
*/
public Builder clearStatus() {
status_ = getDefaultInstance().getStatus();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
*
**
* Status of subject matter (e.g., Agreement, Work) this document represents.
*
*
* string status = 6;
* @param value The bytes for status to set.
* @return This builder for chaining.
*/
public Builder setStatusBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
status_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object comment_ = "";
/**
*
**
* Free text comment
*
*
* string comment = 7;
* @return The comment.
*/
public java.lang.String getComment() {
java.lang.Object ref = comment_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
comment_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
**
* Free text comment
*
*
* string comment = 7;
* @return The bytes for comment.
*/
public com.google.protobuf.ByteString
getCommentBytes() {
java.lang.Object ref = comment_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
comment_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
**
* Free text comment
*
*
* string comment = 7;
* @param value The comment to set.
* @return This builder for chaining.
*/
public Builder setComment(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
comment_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
*
**
* Free text comment
*
*
* string comment = 7;
* @return This builder for chaining.
*/
public Builder clearComment() {
comment_ = getDefaultInstance().getComment();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
*
**
* Free text comment
*
*
* string comment = 7;
* @param value The bytes for comment to set.
* @return This builder for chaining.
*/
public Builder setCommentBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
comment_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:zepben.protobuf.cim.iec61968.common.Document)
}
// @@protoc_insertion_point(class_scope:zepben.protobuf.cim.iec61968.common.Document)
private static final com.zepben.protobuf.cim.iec61968.common.Document DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.zepben.protobuf.cim.iec61968.common.Document();
}
public static com.zepben.protobuf.cim.iec61968.common.Document getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Document parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.zepben.protobuf.cim.iec61968.common.Document getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}