public com.github.jsdossier.proto.HtmlRenderSpec build() { com.github.jsdossier.proto.HtmlRenderSpec result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public Builder mergeFrom(com.github.jsdossier.proto.HtmlRenderSpec other) { if (other == com.github.jsdossier.proto.HtmlRenderSpec.getDefaultInstance()) return this; if (other.hasResources()) { mergeResources(other.getResources()); } if (other.hasTitle()) { bitField0_ |= 0x00000002; title_ = other.title_; onChanged(); } if (other.hasContent()) { mergeContent(other.getContent()); } if (other.hasIndex()) { mergeIndex(other.getIndex()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public com.github.jsdossier.proto.HtmlRenderSpec buildPartial() { com.github.jsdossier.proto.HtmlRenderSpec result = new com.github.jsdossier.proto.HtmlRenderSpec(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (resourcesBuilder_ == null) { result.resources_ = resources_; } else { result.resources_ = resourcesBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.title_ = title_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } if (contentBuilder_ == null) { result.content_ = content_; } else { result.content_ = contentBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (indexBuilder_ == null) { result.index_ = index_; } else { result.index_ = indexBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public com.github.jsdossier.proto.HtmlRenderSpec getDefaultInstanceForType() { return com.github.jsdossier.proto.HtmlRenderSpec.getDefaultInstance(); }