Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.sysalto.render.serialization.RenderProto Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: com/sysalto/render/serialization/render_proto.proto
package com.sysalto.render.serialization;
public final class RenderProto {
private RenderProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code com.sysalto.render.serialization.RFontAttribute_proto}
*/
public enum RFontAttribute_proto
implements com.google.protobuf.ProtocolMessageEnum {
/**
* NORMAL = 0;
*/
NORMAL(0),
/**
* BOLD = 1;
*/
BOLD(1),
/**
* ITALIC = 2;
*/
ITALIC(2),
/**
* BOLD_ITALIC = 3;
*/
BOLD_ITALIC(3),
UNRECOGNIZED(-1),
;
/**
* NORMAL = 0;
*/
public static final int NORMAL_VALUE = 0;
/**
* BOLD = 1;
*/
public static final int BOLD_VALUE = 1;
/**
* ITALIC = 2;
*/
public static final int ITALIC_VALUE = 2;
/**
* BOLD_ITALIC = 3;
*/
public static final int BOLD_ITALIC_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static RFontAttribute_proto valueOf(int value) {
return forNumber(value);
}
public static RFontAttribute_proto forNumber(int value) {
switch (value) {
case 0: return NORMAL;
case 1: return BOLD;
case 2: return ITALIC;
case 3: return BOLD_ITALIC;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
RFontAttribute_proto> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public RFontAttribute_proto findValueByNumber(int number) {
return RFontAttribute_proto.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.getDescriptor().getEnumTypes().get(0);
}
private static final RFontAttribute_proto[] VALUES = values();
public static RFontAttribute_proto valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private RFontAttribute_proto(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.sysalto.render.serialization.RFontAttribute_proto)
}
public interface PdfBaseItem_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfBaseItem_proto)
com.google.protobuf.MessageOrBuilder {
/**
* int64 id = 1;
*/
long getId();
/**
* int64 offset = 2;
*/
long getOffset();
/**
* .com.sysalto.render.serialization.PdfCatalog_proto pdfCatalogProto = 3;
*/
boolean hasPdfCatalogProto();
/**
* .com.sysalto.render.serialization.PdfCatalog_proto pdfCatalogProto = 3;
*/
com.sysalto.render.serialization.RenderProto.PdfCatalog_proto getPdfCatalogProto();
/**
* .com.sysalto.render.serialization.PdfCatalog_proto pdfCatalogProto = 3;
*/
com.sysalto.render.serialization.RenderProto.PdfCatalog_protoOrBuilder getPdfCatalogProtoOrBuilder();
/**
* .com.sysalto.render.serialization.PdfPage_proto pdfPageProto = 4;
*/
boolean hasPdfPageProto();
/**
* .com.sysalto.render.serialization.PdfPage_proto pdfPageProto = 4;
*/
com.sysalto.render.serialization.RenderProto.PdfPage_proto getPdfPageProto();
/**
* .com.sysalto.render.serialization.PdfPage_proto pdfPageProto = 4;
*/
com.sysalto.render.serialization.RenderProto.PdfPage_protoOrBuilder getPdfPageProtoOrBuilder();
/**
* .com.sysalto.render.serialization.PdfFont_proto pdfFontProto = 5;
*/
boolean hasPdfFontProto();
/**
* .com.sysalto.render.serialization.PdfFont_proto pdfFontProto = 5;
*/
com.sysalto.render.serialization.RenderProto.PdfFont_proto getPdfFontProto();
/**
* .com.sysalto.render.serialization.PdfFont_proto pdfFontProto = 5;
*/
com.sysalto.render.serialization.RenderProto.PdfFont_protoOrBuilder getPdfFontProtoOrBuilder();
/**
* .com.sysalto.render.serialization.PdfPageContent_proto pdfPageContentProto = 6;
*/
boolean hasPdfPageContentProto();
/**
* .com.sysalto.render.serialization.PdfPageContent_proto pdfPageContentProto = 6;
*/
com.sysalto.render.serialization.RenderProto.PdfPageContent_proto getPdfPageContentProto();
/**
* .com.sysalto.render.serialization.PdfPageContent_proto pdfPageContentProto = 6;
*/
com.sysalto.render.serialization.RenderProto.PdfPageContent_protoOrBuilder getPdfPageContentProtoOrBuilder();
/**
* .com.sysalto.render.serialization.PdfPageList_proto pdfPageListProto = 7;
*/
boolean hasPdfPageListProto();
/**
* .com.sysalto.render.serialization.PdfPageList_proto pdfPageListProto = 7;
*/
com.sysalto.render.serialization.RenderProto.PdfPageList_proto getPdfPageListProto();
/**
* .com.sysalto.render.serialization.PdfPageList_proto pdfPageListProto = 7;
*/
com.sysalto.render.serialization.RenderProto.PdfPageList_protoOrBuilder getPdfPageListProtoOrBuilder();
/**
* .com.sysalto.render.serialization.PdfImage_proto pdfImageProto = 8;
*/
boolean hasPdfImageProto();
/**
* .com.sysalto.render.serialization.PdfImage_proto pdfImageProto = 8;
*/
com.sysalto.render.serialization.RenderProto.PdfImage_proto getPdfImageProto();
/**
* .com.sysalto.render.serialization.PdfImage_proto pdfImageProto = 8;
*/
com.sysalto.render.serialization.RenderProto.PdfImage_protoOrBuilder getPdfImageProtoOrBuilder();
/**
* .com.sysalto.render.serialization.PdfShaddingFctColor_proto pdfShaddingFctColor_proto = 9;
*/
boolean hasPdfShaddingFctColorProto();
/**
* .com.sysalto.render.serialization.PdfShaddingFctColor_proto pdfShaddingFctColor_proto = 9;
*/
com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto getPdfShaddingFctColorProto();
/**
* .com.sysalto.render.serialization.PdfShaddingFctColor_proto pdfShaddingFctColor_proto = 9;
*/
com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_protoOrBuilder getPdfShaddingFctColorProtoOrBuilder();
/**
* .com.sysalto.render.serialization.PdfColorShadding_proto pdfColorShadding_proto = 10;
*/
boolean hasPdfColorShaddingProto();
/**
* .com.sysalto.render.serialization.PdfColorShadding_proto pdfColorShadding_proto = 10;
*/
com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto getPdfColorShaddingProto();
/**
* .com.sysalto.render.serialization.PdfColorShadding_proto pdfColorShadding_proto = 10;
*/
com.sysalto.render.serialization.RenderProto.PdfColorShadding_protoOrBuilder getPdfColorShaddingProtoOrBuilder();
/**
* .com.sysalto.render.serialization.PdfGPattern_proto pdfGPattern_proto = 11;
*/
boolean hasPdfGPatternProto();
/**
* .com.sysalto.render.serialization.PdfGPattern_proto pdfGPattern_proto = 11;
*/
com.sysalto.render.serialization.RenderProto.PdfGPattern_proto getPdfGPatternProto();
/**
* .com.sysalto.render.serialization.PdfGPattern_proto pdfGPattern_proto = 11;
*/
com.sysalto.render.serialization.RenderProto.PdfGPattern_protoOrBuilder getPdfGPatternProtoOrBuilder();
/**
* .com.sysalto.render.serialization.PdfFontStream_proto pdfFontStream_proto = 12;
*/
boolean hasPdfFontStreamProto();
/**
* .com.sysalto.render.serialization.PdfFontStream_proto pdfFontStream_proto = 12;
*/
com.sysalto.render.serialization.RenderProto.PdfFontStream_proto getPdfFontStreamProto();
/**
* .com.sysalto.render.serialization.PdfFontStream_proto pdfFontStream_proto = 12;
*/
com.sysalto.render.serialization.RenderProto.PdfFontStream_protoOrBuilder getPdfFontStreamProtoOrBuilder();
/**
* .com.sysalto.render.serialization.PdfFontDescriptor_proto pdfFontDescriptor_proto = 13;
*/
boolean hasPdfFontDescriptorProto();
/**
* .com.sysalto.render.serialization.PdfFontDescriptor_proto pdfFontDescriptor_proto = 13;
*/
com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto getPdfFontDescriptorProto();
/**
* .com.sysalto.render.serialization.PdfFontDescriptor_proto pdfFontDescriptor_proto = 13;
*/
com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_protoOrBuilder getPdfFontDescriptorProtoOrBuilder();
/**
* .com.sysalto.render.serialization.PdfGoToPage_proto pdfGoToPage_proto = 14;
*/
boolean hasPdfGoToPageProto();
/**
* .com.sysalto.render.serialization.PdfGoToPage_proto pdfGoToPage_proto = 14;
*/
com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto getPdfGoToPageProto();
/**
* .com.sysalto.render.serialization.PdfGoToPage_proto pdfGoToPage_proto = 14;
*/
com.sysalto.render.serialization.RenderProto.PdfGoToPage_protoOrBuilder getPdfGoToPageProtoOrBuilder();
/**
* .com.sysalto.render.serialization.PdfLink_proto pdfLink_proto = 15;
*/
boolean hasPdfLinkProto();
/**
* .com.sysalto.render.serialization.PdfLink_proto pdfLink_proto = 15;
*/
com.sysalto.render.serialization.RenderProto.PdfLink_proto getPdfLinkProto();
/**
* .com.sysalto.render.serialization.PdfLink_proto pdfLink_proto = 15;
*/
com.sysalto.render.serialization.RenderProto.PdfLink_protoOrBuilder getPdfLinkProtoOrBuilder();
/**
* .com.sysalto.render.serialization.PdfGoToUrl_proto pdfGoToUrl_proto = 16;
*/
boolean hasPdfGoToUrlProto();
/**
* .com.sysalto.render.serialization.PdfGoToUrl_proto pdfGoToUrl_proto = 16;
*/
com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto getPdfGoToUrlProto();
/**
* .com.sysalto.render.serialization.PdfGoToUrl_proto pdfGoToUrl_proto = 16;
*/
com.sysalto.render.serialization.RenderProto.PdfGoToUrl_protoOrBuilder getPdfGoToUrlProtoOrBuilder();
public com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto.FieldCase getFieldCase();
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfBaseItem_proto}
*/
public static final class PdfBaseItem_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfBaseItem_proto)
PdfBaseItem_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfBaseItem_proto.newBuilder() to construct.
private PdfBaseItem_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfBaseItem_proto() {
id_ = 0L;
offset_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfBaseItem_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
id_ = input.readInt64();
break;
}
case 16: {
offset_ = input.readInt64();
break;
}
case 26: {
com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.Builder subBuilder = null;
if (fieldCase_ == 3) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfCatalog_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfCatalog_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 3;
break;
}
case 34: {
com.sysalto.render.serialization.RenderProto.PdfPage_proto.Builder subBuilder = null;
if (fieldCase_ == 4) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfPage_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfPage_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfPage_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 4;
break;
}
case 42: {
com.sysalto.render.serialization.RenderProto.PdfFont_proto.Builder subBuilder = null;
if (fieldCase_ == 5) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfFont_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfFont_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfFont_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 5;
break;
}
case 50: {
com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.Builder subBuilder = null;
if (fieldCase_ == 6) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfPageContent_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfPageContent_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 6;
break;
}
case 58: {
com.sysalto.render.serialization.RenderProto.PdfPageList_proto.Builder subBuilder = null;
if (fieldCase_ == 7) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfPageList_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfPageList_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfPageList_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 7;
break;
}
case 66: {
com.sysalto.render.serialization.RenderProto.PdfImage_proto.Builder subBuilder = null;
if (fieldCase_ == 8) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfImage_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfImage_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfImage_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 8;
break;
}
case 74: {
com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.Builder subBuilder = null;
if (fieldCase_ == 9) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 9;
break;
}
case 82: {
com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.Builder subBuilder = null;
if (fieldCase_ == 10) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 10;
break;
}
case 90: {
com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.Builder subBuilder = null;
if (fieldCase_ == 11) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfGPattern_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfGPattern_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 11;
break;
}
case 98: {
com.sysalto.render.serialization.RenderProto.PdfFontStream_proto.Builder subBuilder = null;
if (fieldCase_ == 12) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfFontStream_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfFontStream_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfFontStream_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 12;
break;
}
case 106: {
com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto.Builder subBuilder = null;
if (fieldCase_ == 13) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 13;
break;
}
case 114: {
com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto.Builder subBuilder = null;
if (fieldCase_ == 14) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 14;
break;
}
case 122: {
com.sysalto.render.serialization.RenderProto.PdfLink_proto.Builder subBuilder = null;
if (fieldCase_ == 15) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfLink_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfLink_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfLink_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 15;
break;
}
case 130: {
com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto.Builder subBuilder = null;
if (fieldCase_ == 16) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 16;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfBaseItem_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfBaseItem_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto.class, com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto.Builder.class);
}
private int fieldCase_ = 0;
private java.lang.Object field_;
public enum FieldCase
implements com.google.protobuf.Internal.EnumLite {
PDFCATALOGPROTO(3),
PDFPAGEPROTO(4),
PDFFONTPROTO(5),
PDFPAGECONTENTPROTO(6),
PDFPAGELISTPROTO(7),
PDFIMAGEPROTO(8),
PDFSHADDINGFCTCOLOR_PROTO(9),
PDFCOLORSHADDING_PROTO(10),
PDFGPATTERN_PROTO(11),
PDFFONTSTREAM_PROTO(12),
PDFFONTDESCRIPTOR_PROTO(13),
PDFGOTOPAGE_PROTO(14),
PDFLINK_PROTO(15),
PDFGOTOURL_PROTO(16),
FIELD_NOT_SET(0);
private final int value;
private FieldCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static FieldCase valueOf(int value) {
return forNumber(value);
}
public static FieldCase forNumber(int value) {
switch (value) {
case 3: return PDFCATALOGPROTO;
case 4: return PDFPAGEPROTO;
case 5: return PDFFONTPROTO;
case 6: return PDFPAGECONTENTPROTO;
case 7: return PDFPAGELISTPROTO;
case 8: return PDFIMAGEPROTO;
case 9: return PDFSHADDINGFCTCOLOR_PROTO;
case 10: return PDFCOLORSHADDING_PROTO;
case 11: return PDFGPATTERN_PROTO;
case 12: return PDFFONTSTREAM_PROTO;
case 13: return PDFFONTDESCRIPTOR_PROTO;
case 14: return PDFGOTOPAGE_PROTO;
case 15: return PDFLINK_PROTO;
case 16: return PDFGOTOURL_PROTO;
case 0: return FIELD_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public FieldCase
getFieldCase() {
return FieldCase.forNumber(
fieldCase_);
}
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* int64 id = 1;
*/
public long getId() {
return id_;
}
public static final int OFFSET_FIELD_NUMBER = 2;
private long offset_;
/**
* int64 offset = 2;
*/
public long getOffset() {
return offset_;
}
public static final int PDFCATALOGPROTO_FIELD_NUMBER = 3;
/**
* .com.sysalto.render.serialization.PdfCatalog_proto pdfCatalogProto = 3;
*/
public boolean hasPdfCatalogProto() {
return fieldCase_ == 3;
}
/**
* .com.sysalto.render.serialization.PdfCatalog_proto pdfCatalogProto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfCatalog_proto getPdfCatalogProto() {
if (fieldCase_ == 3) {
return (com.sysalto.render.serialization.RenderProto.PdfCatalog_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfCatalog_proto pdfCatalogProto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfCatalog_protoOrBuilder getPdfCatalogProtoOrBuilder() {
if (fieldCase_ == 3) {
return (com.sysalto.render.serialization.RenderProto.PdfCatalog_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.getDefaultInstance();
}
public static final int PDFPAGEPROTO_FIELD_NUMBER = 4;
/**
* .com.sysalto.render.serialization.PdfPage_proto pdfPageProto = 4;
*/
public boolean hasPdfPageProto() {
return fieldCase_ == 4;
}
/**
* .com.sysalto.render.serialization.PdfPage_proto pdfPageProto = 4;
*/
public com.sysalto.render.serialization.RenderProto.PdfPage_proto getPdfPageProto() {
if (fieldCase_ == 4) {
return (com.sysalto.render.serialization.RenderProto.PdfPage_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfPage_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfPage_proto pdfPageProto = 4;
*/
public com.sysalto.render.serialization.RenderProto.PdfPage_protoOrBuilder getPdfPageProtoOrBuilder() {
if (fieldCase_ == 4) {
return (com.sysalto.render.serialization.RenderProto.PdfPage_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfPage_proto.getDefaultInstance();
}
public static final int PDFFONTPROTO_FIELD_NUMBER = 5;
/**
* .com.sysalto.render.serialization.PdfFont_proto pdfFontProto = 5;
*/
public boolean hasPdfFontProto() {
return fieldCase_ == 5;
}
/**
* .com.sysalto.render.serialization.PdfFont_proto pdfFontProto = 5;
*/
public com.sysalto.render.serialization.RenderProto.PdfFont_proto getPdfFontProto() {
if (fieldCase_ == 5) {
return (com.sysalto.render.serialization.RenderProto.PdfFont_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfFont_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfFont_proto pdfFontProto = 5;
*/
public com.sysalto.render.serialization.RenderProto.PdfFont_protoOrBuilder getPdfFontProtoOrBuilder() {
if (fieldCase_ == 5) {
return (com.sysalto.render.serialization.RenderProto.PdfFont_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfFont_proto.getDefaultInstance();
}
public static final int PDFPAGECONTENTPROTO_FIELD_NUMBER = 6;
/**
* .com.sysalto.render.serialization.PdfPageContent_proto pdfPageContentProto = 6;
*/
public boolean hasPdfPageContentProto() {
return fieldCase_ == 6;
}
/**
* .com.sysalto.render.serialization.PdfPageContent_proto pdfPageContentProto = 6;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageContent_proto getPdfPageContentProto() {
if (fieldCase_ == 6) {
return (com.sysalto.render.serialization.RenderProto.PdfPageContent_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfPageContent_proto pdfPageContentProto = 6;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageContent_protoOrBuilder getPdfPageContentProtoOrBuilder() {
if (fieldCase_ == 6) {
return (com.sysalto.render.serialization.RenderProto.PdfPageContent_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.getDefaultInstance();
}
public static final int PDFPAGELISTPROTO_FIELD_NUMBER = 7;
/**
* .com.sysalto.render.serialization.PdfPageList_proto pdfPageListProto = 7;
*/
public boolean hasPdfPageListProto() {
return fieldCase_ == 7;
}
/**
* .com.sysalto.render.serialization.PdfPageList_proto pdfPageListProto = 7;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageList_proto getPdfPageListProto() {
if (fieldCase_ == 7) {
return (com.sysalto.render.serialization.RenderProto.PdfPageList_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfPageList_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfPageList_proto pdfPageListProto = 7;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageList_protoOrBuilder getPdfPageListProtoOrBuilder() {
if (fieldCase_ == 7) {
return (com.sysalto.render.serialization.RenderProto.PdfPageList_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfPageList_proto.getDefaultInstance();
}
public static final int PDFIMAGEPROTO_FIELD_NUMBER = 8;
/**
* .com.sysalto.render.serialization.PdfImage_proto pdfImageProto = 8;
*/
public boolean hasPdfImageProto() {
return fieldCase_ == 8;
}
/**
* .com.sysalto.render.serialization.PdfImage_proto pdfImageProto = 8;
*/
public com.sysalto.render.serialization.RenderProto.PdfImage_proto getPdfImageProto() {
if (fieldCase_ == 8) {
return (com.sysalto.render.serialization.RenderProto.PdfImage_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfImage_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfImage_proto pdfImageProto = 8;
*/
public com.sysalto.render.serialization.RenderProto.PdfImage_protoOrBuilder getPdfImageProtoOrBuilder() {
if (fieldCase_ == 8) {
return (com.sysalto.render.serialization.RenderProto.PdfImage_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfImage_proto.getDefaultInstance();
}
public static final int PDFSHADDINGFCTCOLOR_PROTO_FIELD_NUMBER = 9;
/**
* .com.sysalto.render.serialization.PdfShaddingFctColor_proto pdfShaddingFctColor_proto = 9;
*/
public boolean hasPdfShaddingFctColorProto() {
return fieldCase_ == 9;
}
/**
* .com.sysalto.render.serialization.PdfShaddingFctColor_proto pdfShaddingFctColor_proto = 9;
*/
public com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto getPdfShaddingFctColorProto() {
if (fieldCase_ == 9) {
return (com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfShaddingFctColor_proto pdfShaddingFctColor_proto = 9;
*/
public com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_protoOrBuilder getPdfShaddingFctColorProtoOrBuilder() {
if (fieldCase_ == 9) {
return (com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.getDefaultInstance();
}
public static final int PDFCOLORSHADDING_PROTO_FIELD_NUMBER = 10;
/**
* .com.sysalto.render.serialization.PdfColorShadding_proto pdfColorShadding_proto = 10;
*/
public boolean hasPdfColorShaddingProto() {
return fieldCase_ == 10;
}
/**
* .com.sysalto.render.serialization.PdfColorShadding_proto pdfColorShadding_proto = 10;
*/
public com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto getPdfColorShaddingProto() {
if (fieldCase_ == 10) {
return (com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfColorShadding_proto pdfColorShadding_proto = 10;
*/
public com.sysalto.render.serialization.RenderProto.PdfColorShadding_protoOrBuilder getPdfColorShaddingProtoOrBuilder() {
if (fieldCase_ == 10) {
return (com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.getDefaultInstance();
}
public static final int PDFGPATTERN_PROTO_FIELD_NUMBER = 11;
/**
* .com.sysalto.render.serialization.PdfGPattern_proto pdfGPattern_proto = 11;
*/
public boolean hasPdfGPatternProto() {
return fieldCase_ == 11;
}
/**
* .com.sysalto.render.serialization.PdfGPattern_proto pdfGPattern_proto = 11;
*/
public com.sysalto.render.serialization.RenderProto.PdfGPattern_proto getPdfGPatternProto() {
if (fieldCase_ == 11) {
return (com.sysalto.render.serialization.RenderProto.PdfGPattern_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfGPattern_proto pdfGPattern_proto = 11;
*/
public com.sysalto.render.serialization.RenderProto.PdfGPattern_protoOrBuilder getPdfGPatternProtoOrBuilder() {
if (fieldCase_ == 11) {
return (com.sysalto.render.serialization.RenderProto.PdfGPattern_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.getDefaultInstance();
}
public static final int PDFFONTSTREAM_PROTO_FIELD_NUMBER = 12;
/**
* .com.sysalto.render.serialization.PdfFontStream_proto pdfFontStream_proto = 12;
*/
public boolean hasPdfFontStreamProto() {
return fieldCase_ == 12;
}
/**
* .com.sysalto.render.serialization.PdfFontStream_proto pdfFontStream_proto = 12;
*/
public com.sysalto.render.serialization.RenderProto.PdfFontStream_proto getPdfFontStreamProto() {
if (fieldCase_ == 12) {
return (com.sysalto.render.serialization.RenderProto.PdfFontStream_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfFontStream_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfFontStream_proto pdfFontStream_proto = 12;
*/
public com.sysalto.render.serialization.RenderProto.PdfFontStream_protoOrBuilder getPdfFontStreamProtoOrBuilder() {
if (fieldCase_ == 12) {
return (com.sysalto.render.serialization.RenderProto.PdfFontStream_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfFontStream_proto.getDefaultInstance();
}
public static final int PDFFONTDESCRIPTOR_PROTO_FIELD_NUMBER = 13;
/**
* .com.sysalto.render.serialization.PdfFontDescriptor_proto pdfFontDescriptor_proto = 13;
*/
public boolean hasPdfFontDescriptorProto() {
return fieldCase_ == 13;
}
/**
* .com.sysalto.render.serialization.PdfFontDescriptor_proto pdfFontDescriptor_proto = 13;
*/
public com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto getPdfFontDescriptorProto() {
if (fieldCase_ == 13) {
return (com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfFontDescriptor_proto pdfFontDescriptor_proto = 13;
*/
public com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_protoOrBuilder getPdfFontDescriptorProtoOrBuilder() {
if (fieldCase_ == 13) {
return (com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto.getDefaultInstance();
}
public static final int PDFGOTOPAGE_PROTO_FIELD_NUMBER = 14;
/**
* .com.sysalto.render.serialization.PdfGoToPage_proto pdfGoToPage_proto = 14;
*/
public boolean hasPdfGoToPageProto() {
return fieldCase_ == 14;
}
/**
* .com.sysalto.render.serialization.PdfGoToPage_proto pdfGoToPage_proto = 14;
*/
public com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto getPdfGoToPageProto() {
if (fieldCase_ == 14) {
return (com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfGoToPage_proto pdfGoToPage_proto = 14;
*/
public com.sysalto.render.serialization.RenderProto.PdfGoToPage_protoOrBuilder getPdfGoToPageProtoOrBuilder() {
if (fieldCase_ == 14) {
return (com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto.getDefaultInstance();
}
public static final int PDFLINK_PROTO_FIELD_NUMBER = 15;
/**
* .com.sysalto.render.serialization.PdfLink_proto pdfLink_proto = 15;
*/
public boolean hasPdfLinkProto() {
return fieldCase_ == 15;
}
/**
* .com.sysalto.render.serialization.PdfLink_proto pdfLink_proto = 15;
*/
public com.sysalto.render.serialization.RenderProto.PdfLink_proto getPdfLinkProto() {
if (fieldCase_ == 15) {
return (com.sysalto.render.serialization.RenderProto.PdfLink_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfLink_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfLink_proto pdfLink_proto = 15;
*/
public com.sysalto.render.serialization.RenderProto.PdfLink_protoOrBuilder getPdfLinkProtoOrBuilder() {
if (fieldCase_ == 15) {
return (com.sysalto.render.serialization.RenderProto.PdfLink_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfLink_proto.getDefaultInstance();
}
public static final int PDFGOTOURL_PROTO_FIELD_NUMBER = 16;
/**
* .com.sysalto.render.serialization.PdfGoToUrl_proto pdfGoToUrl_proto = 16;
*/
public boolean hasPdfGoToUrlProto() {
return fieldCase_ == 16;
}
/**
* .com.sysalto.render.serialization.PdfGoToUrl_proto pdfGoToUrl_proto = 16;
*/
public com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto getPdfGoToUrlProto() {
if (fieldCase_ == 16) {
return (com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfGoToUrl_proto pdfGoToUrl_proto = 16;
*/
public com.sysalto.render.serialization.RenderProto.PdfGoToUrl_protoOrBuilder getPdfGoToUrlProtoOrBuilder() {
if (fieldCase_ == 16) {
return (com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (id_ != 0L) {
output.writeInt64(1, id_);
}
if (offset_ != 0L) {
output.writeInt64(2, offset_);
}
if (fieldCase_ == 3) {
output.writeMessage(3, (com.sysalto.render.serialization.RenderProto.PdfCatalog_proto) field_);
}
if (fieldCase_ == 4) {
output.writeMessage(4, (com.sysalto.render.serialization.RenderProto.PdfPage_proto) field_);
}
if (fieldCase_ == 5) {
output.writeMessage(5, (com.sysalto.render.serialization.RenderProto.PdfFont_proto) field_);
}
if (fieldCase_ == 6) {
output.writeMessage(6, (com.sysalto.render.serialization.RenderProto.PdfPageContent_proto) field_);
}
if (fieldCase_ == 7) {
output.writeMessage(7, (com.sysalto.render.serialization.RenderProto.PdfPageList_proto) field_);
}
if (fieldCase_ == 8) {
output.writeMessage(8, (com.sysalto.render.serialization.RenderProto.PdfImage_proto) field_);
}
if (fieldCase_ == 9) {
output.writeMessage(9, (com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto) field_);
}
if (fieldCase_ == 10) {
output.writeMessage(10, (com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto) field_);
}
if (fieldCase_ == 11) {
output.writeMessage(11, (com.sysalto.render.serialization.RenderProto.PdfGPattern_proto) field_);
}
if (fieldCase_ == 12) {
output.writeMessage(12, (com.sysalto.render.serialization.RenderProto.PdfFontStream_proto) field_);
}
if (fieldCase_ == 13) {
output.writeMessage(13, (com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto) field_);
}
if (fieldCase_ == 14) {
output.writeMessage(14, (com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto) field_);
}
if (fieldCase_ == 15) {
output.writeMessage(15, (com.sysalto.render.serialization.RenderProto.PdfLink_proto) field_);
}
if (fieldCase_ == 16) {
output.writeMessage(16, (com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto) field_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (id_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, id_);
}
if (offset_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, offset_);
}
if (fieldCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (com.sysalto.render.serialization.RenderProto.PdfCatalog_proto) field_);
}
if (fieldCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (com.sysalto.render.serialization.RenderProto.PdfPage_proto) field_);
}
if (fieldCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (com.sysalto.render.serialization.RenderProto.PdfFont_proto) field_);
}
if (fieldCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (com.sysalto.render.serialization.RenderProto.PdfPageContent_proto) field_);
}
if (fieldCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (com.sysalto.render.serialization.RenderProto.PdfPageList_proto) field_);
}
if (fieldCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (com.sysalto.render.serialization.RenderProto.PdfImage_proto) field_);
}
if (fieldCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto) field_);
}
if (fieldCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto) field_);
}
if (fieldCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (com.sysalto.render.serialization.RenderProto.PdfGPattern_proto) field_);
}
if (fieldCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (com.sysalto.render.serialization.RenderProto.PdfFontStream_proto) field_);
}
if (fieldCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto) field_);
}
if (fieldCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto) field_);
}
if (fieldCase_ == 15) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, (com.sysalto.render.serialization.RenderProto.PdfLink_proto) field_);
}
if (fieldCase_ == 16) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, (com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto) field_);
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfBaseItem_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto other = (com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto) obj;
boolean result = true;
result = result && (getId()
== other.getId());
result = result && (getOffset()
== other.getOffset());
result = result && getFieldCase().equals(
other.getFieldCase());
if (!result) return false;
switch (fieldCase_) {
case 3:
result = result && getPdfCatalogProto()
.equals(other.getPdfCatalogProto());
break;
case 4:
result = result && getPdfPageProto()
.equals(other.getPdfPageProto());
break;
case 5:
result = result && getPdfFontProto()
.equals(other.getPdfFontProto());
break;
case 6:
result = result && getPdfPageContentProto()
.equals(other.getPdfPageContentProto());
break;
case 7:
result = result && getPdfPageListProto()
.equals(other.getPdfPageListProto());
break;
case 8:
result = result && getPdfImageProto()
.equals(other.getPdfImageProto());
break;
case 9:
result = result && getPdfShaddingFctColorProto()
.equals(other.getPdfShaddingFctColorProto());
break;
case 10:
result = result && getPdfColorShaddingProto()
.equals(other.getPdfColorShaddingProto());
break;
case 11:
result = result && getPdfGPatternProto()
.equals(other.getPdfGPatternProto());
break;
case 12:
result = result && getPdfFontStreamProto()
.equals(other.getPdfFontStreamProto());
break;
case 13:
result = result && getPdfFontDescriptorProto()
.equals(other.getPdfFontDescriptorProto());
break;
case 14:
result = result && getPdfGoToPageProto()
.equals(other.getPdfGoToPageProto());
break;
case 15:
result = result && getPdfLinkProto()
.equals(other.getPdfLinkProto());
break;
case 16:
result = result && getPdfGoToUrlProto()
.equals(other.getPdfGoToUrlProto());
break;
case 0:
default:
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getId());
hash = (37 * hash) + OFFSET_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getOffset());
switch (fieldCase_) {
case 3:
hash = (37 * hash) + PDFCATALOGPROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfCatalogProto().hashCode();
break;
case 4:
hash = (37 * hash) + PDFPAGEPROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfPageProto().hashCode();
break;
case 5:
hash = (37 * hash) + PDFFONTPROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfFontProto().hashCode();
break;
case 6:
hash = (37 * hash) + PDFPAGECONTENTPROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfPageContentProto().hashCode();
break;
case 7:
hash = (37 * hash) + PDFPAGELISTPROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfPageListProto().hashCode();
break;
case 8:
hash = (37 * hash) + PDFIMAGEPROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfImageProto().hashCode();
break;
case 9:
hash = (37 * hash) + PDFSHADDINGFCTCOLOR_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfShaddingFctColorProto().hashCode();
break;
case 10:
hash = (37 * hash) + PDFCOLORSHADDING_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfColorShaddingProto().hashCode();
break;
case 11:
hash = (37 * hash) + PDFGPATTERN_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfGPatternProto().hashCode();
break;
case 12:
hash = (37 * hash) + PDFFONTSTREAM_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfFontStreamProto().hashCode();
break;
case 13:
hash = (37 * hash) + PDFFONTDESCRIPTOR_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfFontDescriptorProto().hashCode();
break;
case 14:
hash = (37 * hash) + PDFGOTOPAGE_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfGoToPageProto().hashCode();
break;
case 15:
hash = (37 * hash) + PDFLINK_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfLinkProto().hashCode();
break;
case 16:
hash = (37 * hash) + PDFGOTOURL_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfGoToUrlProto().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto 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.sysalto.render.serialization.RenderProto.PdfBaseItem_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto 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.sysalto.render.serialization.RenderProto.PdfBaseItem_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfBaseItem_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfBaseItem_proto)
com.sysalto.render.serialization.RenderProto.PdfBaseItem_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfBaseItem_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfBaseItem_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto.class, com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
id_ = 0L;
offset_ = 0L;
fieldCase_ = 0;
field_ = null;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfBaseItem_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto build() {
com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto result = new com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto(this);
result.id_ = id_;
result.offset_ = offset_;
if (fieldCase_ == 3) {
if (pdfCatalogProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = pdfCatalogProtoBuilder_.build();
}
}
if (fieldCase_ == 4) {
if (pdfPageProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = pdfPageProtoBuilder_.build();
}
}
if (fieldCase_ == 5) {
if (pdfFontProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = pdfFontProtoBuilder_.build();
}
}
if (fieldCase_ == 6) {
if (pdfPageContentProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = pdfPageContentProtoBuilder_.build();
}
}
if (fieldCase_ == 7) {
if (pdfPageListProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = pdfPageListProtoBuilder_.build();
}
}
if (fieldCase_ == 8) {
if (pdfImageProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = pdfImageProtoBuilder_.build();
}
}
if (fieldCase_ == 9) {
if (pdfShaddingFctColorProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = pdfShaddingFctColorProtoBuilder_.build();
}
}
if (fieldCase_ == 10) {
if (pdfColorShaddingProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = pdfColorShaddingProtoBuilder_.build();
}
}
if (fieldCase_ == 11) {
if (pdfGPatternProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = pdfGPatternProtoBuilder_.build();
}
}
if (fieldCase_ == 12) {
if (pdfFontStreamProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = pdfFontStreamProtoBuilder_.build();
}
}
if (fieldCase_ == 13) {
if (pdfFontDescriptorProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = pdfFontDescriptorProtoBuilder_.build();
}
}
if (fieldCase_ == 14) {
if (pdfGoToPageProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = pdfGoToPageProtoBuilder_.build();
}
}
if (fieldCase_ == 15) {
if (pdfLinkProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = pdfLinkProtoBuilder_.build();
}
}
if (fieldCase_ == 16) {
if (pdfGoToUrlProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = pdfGoToUrlProtoBuilder_.build();
}
}
result.fieldCase_ = fieldCase_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto.getDefaultInstance()) return this;
if (other.getId() != 0L) {
setId(other.getId());
}
if (other.getOffset() != 0L) {
setOffset(other.getOffset());
}
switch (other.getFieldCase()) {
case PDFCATALOGPROTO: {
mergePdfCatalogProto(other.getPdfCatalogProto());
break;
}
case PDFPAGEPROTO: {
mergePdfPageProto(other.getPdfPageProto());
break;
}
case PDFFONTPROTO: {
mergePdfFontProto(other.getPdfFontProto());
break;
}
case PDFPAGECONTENTPROTO: {
mergePdfPageContentProto(other.getPdfPageContentProto());
break;
}
case PDFPAGELISTPROTO: {
mergePdfPageListProto(other.getPdfPageListProto());
break;
}
case PDFIMAGEPROTO: {
mergePdfImageProto(other.getPdfImageProto());
break;
}
case PDFSHADDINGFCTCOLOR_PROTO: {
mergePdfShaddingFctColorProto(other.getPdfShaddingFctColorProto());
break;
}
case PDFCOLORSHADDING_PROTO: {
mergePdfColorShaddingProto(other.getPdfColorShaddingProto());
break;
}
case PDFGPATTERN_PROTO: {
mergePdfGPatternProto(other.getPdfGPatternProto());
break;
}
case PDFFONTSTREAM_PROTO: {
mergePdfFontStreamProto(other.getPdfFontStreamProto());
break;
}
case PDFFONTDESCRIPTOR_PROTO: {
mergePdfFontDescriptorProto(other.getPdfFontDescriptorProto());
break;
}
case PDFGOTOPAGE_PROTO: {
mergePdfGoToPageProto(other.getPdfGoToPageProto());
break;
}
case PDFLINK_PROTO: {
mergePdfLinkProto(other.getPdfLinkProto());
break;
}
case PDFGOTOURL_PROTO: {
mergePdfGoToUrlProto(other.getPdfGoToUrlProto());
break;
}
case FIELD_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int fieldCase_ = 0;
private java.lang.Object field_;
public FieldCase
getFieldCase() {
return FieldCase.forNumber(
fieldCase_);
}
public Builder clearField() {
fieldCase_ = 0;
field_ = null;
onChanged();
return this;
}
private long id_ ;
/**
* int64 id = 1;
*/
public long getId() {
return id_;
}
/**
* int64 id = 1;
*/
public Builder setId(long value) {
id_ = value;
onChanged();
return this;
}
/**
* int64 id = 1;
*/
public Builder clearId() {
id_ = 0L;
onChanged();
return this;
}
private long offset_ ;
/**
* int64 offset = 2;
*/
public long getOffset() {
return offset_;
}
/**
* int64 offset = 2;
*/
public Builder setOffset(long value) {
offset_ = value;
onChanged();
return this;
}
/**
* int64 offset = 2;
*/
public Builder clearOffset() {
offset_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfCatalog_proto, com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfCatalog_protoOrBuilder> pdfCatalogProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfCatalog_proto pdfCatalogProto = 3;
*/
public boolean hasPdfCatalogProto() {
return fieldCase_ == 3;
}
/**
* .com.sysalto.render.serialization.PdfCatalog_proto pdfCatalogProto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfCatalog_proto getPdfCatalogProto() {
if (pdfCatalogProtoBuilder_ == null) {
if (fieldCase_ == 3) {
return (com.sysalto.render.serialization.RenderProto.PdfCatalog_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.getDefaultInstance();
} else {
if (fieldCase_ == 3) {
return pdfCatalogProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfCatalog_proto pdfCatalogProto = 3;
*/
public Builder setPdfCatalogProto(com.sysalto.render.serialization.RenderProto.PdfCatalog_proto value) {
if (pdfCatalogProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
pdfCatalogProtoBuilder_.setMessage(value);
}
fieldCase_ = 3;
return this;
}
/**
* .com.sysalto.render.serialization.PdfCatalog_proto pdfCatalogProto = 3;
*/
public Builder setPdfCatalogProto(
com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.Builder builderForValue) {
if (pdfCatalogProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
pdfCatalogProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 3;
return this;
}
/**
* .com.sysalto.render.serialization.PdfCatalog_proto pdfCatalogProto = 3;
*/
public Builder mergePdfCatalogProto(com.sysalto.render.serialization.RenderProto.PdfCatalog_proto value) {
if (pdfCatalogProtoBuilder_ == null) {
if (fieldCase_ == 3 &&
field_ != com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfCatalog_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 3) {
pdfCatalogProtoBuilder_.mergeFrom(value);
}
pdfCatalogProtoBuilder_.setMessage(value);
}
fieldCase_ = 3;
return this;
}
/**
* .com.sysalto.render.serialization.PdfCatalog_proto pdfCatalogProto = 3;
*/
public Builder clearPdfCatalogProto() {
if (pdfCatalogProtoBuilder_ == null) {
if (fieldCase_ == 3) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 3) {
fieldCase_ = 0;
field_ = null;
}
pdfCatalogProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfCatalog_proto pdfCatalogProto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.Builder getPdfCatalogProtoBuilder() {
return getPdfCatalogProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfCatalog_proto pdfCatalogProto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfCatalog_protoOrBuilder getPdfCatalogProtoOrBuilder() {
if ((fieldCase_ == 3) && (pdfCatalogProtoBuilder_ != null)) {
return pdfCatalogProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 3) {
return (com.sysalto.render.serialization.RenderProto.PdfCatalog_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfCatalog_proto pdfCatalogProto = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfCatalog_proto, com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfCatalog_protoOrBuilder>
getPdfCatalogProtoFieldBuilder() {
if (pdfCatalogProtoBuilder_ == null) {
if (!(fieldCase_ == 3)) {
field_ = com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.getDefaultInstance();
}
pdfCatalogProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfCatalog_proto, com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfCatalog_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfCatalog_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 3;
onChanged();;
return pdfCatalogProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfPage_proto, com.sysalto.render.serialization.RenderProto.PdfPage_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfPage_protoOrBuilder> pdfPageProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfPage_proto pdfPageProto = 4;
*/
public boolean hasPdfPageProto() {
return fieldCase_ == 4;
}
/**
* .com.sysalto.render.serialization.PdfPage_proto pdfPageProto = 4;
*/
public com.sysalto.render.serialization.RenderProto.PdfPage_proto getPdfPageProto() {
if (pdfPageProtoBuilder_ == null) {
if (fieldCase_ == 4) {
return (com.sysalto.render.serialization.RenderProto.PdfPage_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfPage_proto.getDefaultInstance();
} else {
if (fieldCase_ == 4) {
return pdfPageProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfPage_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfPage_proto pdfPageProto = 4;
*/
public Builder setPdfPageProto(com.sysalto.render.serialization.RenderProto.PdfPage_proto value) {
if (pdfPageProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
pdfPageProtoBuilder_.setMessage(value);
}
fieldCase_ = 4;
return this;
}
/**
* .com.sysalto.render.serialization.PdfPage_proto pdfPageProto = 4;
*/
public Builder setPdfPageProto(
com.sysalto.render.serialization.RenderProto.PdfPage_proto.Builder builderForValue) {
if (pdfPageProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
pdfPageProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 4;
return this;
}
/**
* .com.sysalto.render.serialization.PdfPage_proto pdfPageProto = 4;
*/
public Builder mergePdfPageProto(com.sysalto.render.serialization.RenderProto.PdfPage_proto value) {
if (pdfPageProtoBuilder_ == null) {
if (fieldCase_ == 4 &&
field_ != com.sysalto.render.serialization.RenderProto.PdfPage_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.PdfPage_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfPage_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 4) {
pdfPageProtoBuilder_.mergeFrom(value);
}
pdfPageProtoBuilder_.setMessage(value);
}
fieldCase_ = 4;
return this;
}
/**
* .com.sysalto.render.serialization.PdfPage_proto pdfPageProto = 4;
*/
public Builder clearPdfPageProto() {
if (pdfPageProtoBuilder_ == null) {
if (fieldCase_ == 4) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 4) {
fieldCase_ = 0;
field_ = null;
}
pdfPageProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfPage_proto pdfPageProto = 4;
*/
public com.sysalto.render.serialization.RenderProto.PdfPage_proto.Builder getPdfPageProtoBuilder() {
return getPdfPageProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfPage_proto pdfPageProto = 4;
*/
public com.sysalto.render.serialization.RenderProto.PdfPage_protoOrBuilder getPdfPageProtoOrBuilder() {
if ((fieldCase_ == 4) && (pdfPageProtoBuilder_ != null)) {
return pdfPageProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 4) {
return (com.sysalto.render.serialization.RenderProto.PdfPage_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfPage_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfPage_proto pdfPageProto = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfPage_proto, com.sysalto.render.serialization.RenderProto.PdfPage_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfPage_protoOrBuilder>
getPdfPageProtoFieldBuilder() {
if (pdfPageProtoBuilder_ == null) {
if (!(fieldCase_ == 4)) {
field_ = com.sysalto.render.serialization.RenderProto.PdfPage_proto.getDefaultInstance();
}
pdfPageProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfPage_proto, com.sysalto.render.serialization.RenderProto.PdfPage_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfPage_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfPage_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 4;
onChanged();;
return pdfPageProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfFont_proto, com.sysalto.render.serialization.RenderProto.PdfFont_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfFont_protoOrBuilder> pdfFontProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfFont_proto pdfFontProto = 5;
*/
public boolean hasPdfFontProto() {
return fieldCase_ == 5;
}
/**
* .com.sysalto.render.serialization.PdfFont_proto pdfFontProto = 5;
*/
public com.sysalto.render.serialization.RenderProto.PdfFont_proto getPdfFontProto() {
if (pdfFontProtoBuilder_ == null) {
if (fieldCase_ == 5) {
return (com.sysalto.render.serialization.RenderProto.PdfFont_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfFont_proto.getDefaultInstance();
} else {
if (fieldCase_ == 5) {
return pdfFontProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfFont_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfFont_proto pdfFontProto = 5;
*/
public Builder setPdfFontProto(com.sysalto.render.serialization.RenderProto.PdfFont_proto value) {
if (pdfFontProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
pdfFontProtoBuilder_.setMessage(value);
}
fieldCase_ = 5;
return this;
}
/**
* .com.sysalto.render.serialization.PdfFont_proto pdfFontProto = 5;
*/
public Builder setPdfFontProto(
com.sysalto.render.serialization.RenderProto.PdfFont_proto.Builder builderForValue) {
if (pdfFontProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
pdfFontProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 5;
return this;
}
/**
* .com.sysalto.render.serialization.PdfFont_proto pdfFontProto = 5;
*/
public Builder mergePdfFontProto(com.sysalto.render.serialization.RenderProto.PdfFont_proto value) {
if (pdfFontProtoBuilder_ == null) {
if (fieldCase_ == 5 &&
field_ != com.sysalto.render.serialization.RenderProto.PdfFont_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.PdfFont_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfFont_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 5) {
pdfFontProtoBuilder_.mergeFrom(value);
}
pdfFontProtoBuilder_.setMessage(value);
}
fieldCase_ = 5;
return this;
}
/**
* .com.sysalto.render.serialization.PdfFont_proto pdfFontProto = 5;
*/
public Builder clearPdfFontProto() {
if (pdfFontProtoBuilder_ == null) {
if (fieldCase_ == 5) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 5) {
fieldCase_ = 0;
field_ = null;
}
pdfFontProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfFont_proto pdfFontProto = 5;
*/
public com.sysalto.render.serialization.RenderProto.PdfFont_proto.Builder getPdfFontProtoBuilder() {
return getPdfFontProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfFont_proto pdfFontProto = 5;
*/
public com.sysalto.render.serialization.RenderProto.PdfFont_protoOrBuilder getPdfFontProtoOrBuilder() {
if ((fieldCase_ == 5) && (pdfFontProtoBuilder_ != null)) {
return pdfFontProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 5) {
return (com.sysalto.render.serialization.RenderProto.PdfFont_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfFont_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfFont_proto pdfFontProto = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfFont_proto, com.sysalto.render.serialization.RenderProto.PdfFont_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfFont_protoOrBuilder>
getPdfFontProtoFieldBuilder() {
if (pdfFontProtoBuilder_ == null) {
if (!(fieldCase_ == 5)) {
field_ = com.sysalto.render.serialization.RenderProto.PdfFont_proto.getDefaultInstance();
}
pdfFontProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfFont_proto, com.sysalto.render.serialization.RenderProto.PdfFont_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfFont_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfFont_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 5;
onChanged();;
return pdfFontProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfPageContent_proto, com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfPageContent_protoOrBuilder> pdfPageContentProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfPageContent_proto pdfPageContentProto = 6;
*/
public boolean hasPdfPageContentProto() {
return fieldCase_ == 6;
}
/**
* .com.sysalto.render.serialization.PdfPageContent_proto pdfPageContentProto = 6;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageContent_proto getPdfPageContentProto() {
if (pdfPageContentProtoBuilder_ == null) {
if (fieldCase_ == 6) {
return (com.sysalto.render.serialization.RenderProto.PdfPageContent_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.getDefaultInstance();
} else {
if (fieldCase_ == 6) {
return pdfPageContentProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfPageContent_proto pdfPageContentProto = 6;
*/
public Builder setPdfPageContentProto(com.sysalto.render.serialization.RenderProto.PdfPageContent_proto value) {
if (pdfPageContentProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
pdfPageContentProtoBuilder_.setMessage(value);
}
fieldCase_ = 6;
return this;
}
/**
* .com.sysalto.render.serialization.PdfPageContent_proto pdfPageContentProto = 6;
*/
public Builder setPdfPageContentProto(
com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.Builder builderForValue) {
if (pdfPageContentProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
pdfPageContentProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 6;
return this;
}
/**
* .com.sysalto.render.serialization.PdfPageContent_proto pdfPageContentProto = 6;
*/
public Builder mergePdfPageContentProto(com.sysalto.render.serialization.RenderProto.PdfPageContent_proto value) {
if (pdfPageContentProtoBuilder_ == null) {
if (fieldCase_ == 6 &&
field_ != com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfPageContent_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 6) {
pdfPageContentProtoBuilder_.mergeFrom(value);
}
pdfPageContentProtoBuilder_.setMessage(value);
}
fieldCase_ = 6;
return this;
}
/**
* .com.sysalto.render.serialization.PdfPageContent_proto pdfPageContentProto = 6;
*/
public Builder clearPdfPageContentProto() {
if (pdfPageContentProtoBuilder_ == null) {
if (fieldCase_ == 6) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 6) {
fieldCase_ = 0;
field_ = null;
}
pdfPageContentProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfPageContent_proto pdfPageContentProto = 6;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.Builder getPdfPageContentProtoBuilder() {
return getPdfPageContentProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfPageContent_proto pdfPageContentProto = 6;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageContent_protoOrBuilder getPdfPageContentProtoOrBuilder() {
if ((fieldCase_ == 6) && (pdfPageContentProtoBuilder_ != null)) {
return pdfPageContentProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 6) {
return (com.sysalto.render.serialization.RenderProto.PdfPageContent_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfPageContent_proto pdfPageContentProto = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfPageContent_proto, com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfPageContent_protoOrBuilder>
getPdfPageContentProtoFieldBuilder() {
if (pdfPageContentProtoBuilder_ == null) {
if (!(fieldCase_ == 6)) {
field_ = com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.getDefaultInstance();
}
pdfPageContentProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfPageContent_proto, com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfPageContent_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfPageContent_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 6;
onChanged();;
return pdfPageContentProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfPageList_proto, com.sysalto.render.serialization.RenderProto.PdfPageList_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfPageList_protoOrBuilder> pdfPageListProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfPageList_proto pdfPageListProto = 7;
*/
public boolean hasPdfPageListProto() {
return fieldCase_ == 7;
}
/**
* .com.sysalto.render.serialization.PdfPageList_proto pdfPageListProto = 7;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageList_proto getPdfPageListProto() {
if (pdfPageListProtoBuilder_ == null) {
if (fieldCase_ == 7) {
return (com.sysalto.render.serialization.RenderProto.PdfPageList_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfPageList_proto.getDefaultInstance();
} else {
if (fieldCase_ == 7) {
return pdfPageListProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfPageList_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfPageList_proto pdfPageListProto = 7;
*/
public Builder setPdfPageListProto(com.sysalto.render.serialization.RenderProto.PdfPageList_proto value) {
if (pdfPageListProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
pdfPageListProtoBuilder_.setMessage(value);
}
fieldCase_ = 7;
return this;
}
/**
* .com.sysalto.render.serialization.PdfPageList_proto pdfPageListProto = 7;
*/
public Builder setPdfPageListProto(
com.sysalto.render.serialization.RenderProto.PdfPageList_proto.Builder builderForValue) {
if (pdfPageListProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
pdfPageListProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 7;
return this;
}
/**
* .com.sysalto.render.serialization.PdfPageList_proto pdfPageListProto = 7;
*/
public Builder mergePdfPageListProto(com.sysalto.render.serialization.RenderProto.PdfPageList_proto value) {
if (pdfPageListProtoBuilder_ == null) {
if (fieldCase_ == 7 &&
field_ != com.sysalto.render.serialization.RenderProto.PdfPageList_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.PdfPageList_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfPageList_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 7) {
pdfPageListProtoBuilder_.mergeFrom(value);
}
pdfPageListProtoBuilder_.setMessage(value);
}
fieldCase_ = 7;
return this;
}
/**
* .com.sysalto.render.serialization.PdfPageList_proto pdfPageListProto = 7;
*/
public Builder clearPdfPageListProto() {
if (pdfPageListProtoBuilder_ == null) {
if (fieldCase_ == 7) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 7) {
fieldCase_ = 0;
field_ = null;
}
pdfPageListProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfPageList_proto pdfPageListProto = 7;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageList_proto.Builder getPdfPageListProtoBuilder() {
return getPdfPageListProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfPageList_proto pdfPageListProto = 7;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageList_protoOrBuilder getPdfPageListProtoOrBuilder() {
if ((fieldCase_ == 7) && (pdfPageListProtoBuilder_ != null)) {
return pdfPageListProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 7) {
return (com.sysalto.render.serialization.RenderProto.PdfPageList_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfPageList_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfPageList_proto pdfPageListProto = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfPageList_proto, com.sysalto.render.serialization.RenderProto.PdfPageList_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfPageList_protoOrBuilder>
getPdfPageListProtoFieldBuilder() {
if (pdfPageListProtoBuilder_ == null) {
if (!(fieldCase_ == 7)) {
field_ = com.sysalto.render.serialization.RenderProto.PdfPageList_proto.getDefaultInstance();
}
pdfPageListProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfPageList_proto, com.sysalto.render.serialization.RenderProto.PdfPageList_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfPageList_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfPageList_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 7;
onChanged();;
return pdfPageListProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfImage_proto, com.sysalto.render.serialization.RenderProto.PdfImage_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfImage_protoOrBuilder> pdfImageProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfImage_proto pdfImageProto = 8;
*/
public boolean hasPdfImageProto() {
return fieldCase_ == 8;
}
/**
* .com.sysalto.render.serialization.PdfImage_proto pdfImageProto = 8;
*/
public com.sysalto.render.serialization.RenderProto.PdfImage_proto getPdfImageProto() {
if (pdfImageProtoBuilder_ == null) {
if (fieldCase_ == 8) {
return (com.sysalto.render.serialization.RenderProto.PdfImage_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfImage_proto.getDefaultInstance();
} else {
if (fieldCase_ == 8) {
return pdfImageProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfImage_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfImage_proto pdfImageProto = 8;
*/
public Builder setPdfImageProto(com.sysalto.render.serialization.RenderProto.PdfImage_proto value) {
if (pdfImageProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
pdfImageProtoBuilder_.setMessage(value);
}
fieldCase_ = 8;
return this;
}
/**
* .com.sysalto.render.serialization.PdfImage_proto pdfImageProto = 8;
*/
public Builder setPdfImageProto(
com.sysalto.render.serialization.RenderProto.PdfImage_proto.Builder builderForValue) {
if (pdfImageProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
pdfImageProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 8;
return this;
}
/**
* .com.sysalto.render.serialization.PdfImage_proto pdfImageProto = 8;
*/
public Builder mergePdfImageProto(com.sysalto.render.serialization.RenderProto.PdfImage_proto value) {
if (pdfImageProtoBuilder_ == null) {
if (fieldCase_ == 8 &&
field_ != com.sysalto.render.serialization.RenderProto.PdfImage_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.PdfImage_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfImage_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 8) {
pdfImageProtoBuilder_.mergeFrom(value);
}
pdfImageProtoBuilder_.setMessage(value);
}
fieldCase_ = 8;
return this;
}
/**
* .com.sysalto.render.serialization.PdfImage_proto pdfImageProto = 8;
*/
public Builder clearPdfImageProto() {
if (pdfImageProtoBuilder_ == null) {
if (fieldCase_ == 8) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 8) {
fieldCase_ = 0;
field_ = null;
}
pdfImageProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfImage_proto pdfImageProto = 8;
*/
public com.sysalto.render.serialization.RenderProto.PdfImage_proto.Builder getPdfImageProtoBuilder() {
return getPdfImageProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfImage_proto pdfImageProto = 8;
*/
public com.sysalto.render.serialization.RenderProto.PdfImage_protoOrBuilder getPdfImageProtoOrBuilder() {
if ((fieldCase_ == 8) && (pdfImageProtoBuilder_ != null)) {
return pdfImageProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 8) {
return (com.sysalto.render.serialization.RenderProto.PdfImage_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfImage_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfImage_proto pdfImageProto = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfImage_proto, com.sysalto.render.serialization.RenderProto.PdfImage_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfImage_protoOrBuilder>
getPdfImageProtoFieldBuilder() {
if (pdfImageProtoBuilder_ == null) {
if (!(fieldCase_ == 8)) {
field_ = com.sysalto.render.serialization.RenderProto.PdfImage_proto.getDefaultInstance();
}
pdfImageProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfImage_proto, com.sysalto.render.serialization.RenderProto.PdfImage_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfImage_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfImage_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 8;
onChanged();;
return pdfImageProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto, com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_protoOrBuilder> pdfShaddingFctColorProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfShaddingFctColor_proto pdfShaddingFctColor_proto = 9;
*/
public boolean hasPdfShaddingFctColorProto() {
return fieldCase_ == 9;
}
/**
* .com.sysalto.render.serialization.PdfShaddingFctColor_proto pdfShaddingFctColor_proto = 9;
*/
public com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto getPdfShaddingFctColorProto() {
if (pdfShaddingFctColorProtoBuilder_ == null) {
if (fieldCase_ == 9) {
return (com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.getDefaultInstance();
} else {
if (fieldCase_ == 9) {
return pdfShaddingFctColorProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfShaddingFctColor_proto pdfShaddingFctColor_proto = 9;
*/
public Builder setPdfShaddingFctColorProto(com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto value) {
if (pdfShaddingFctColorProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
pdfShaddingFctColorProtoBuilder_.setMessage(value);
}
fieldCase_ = 9;
return this;
}
/**
* .com.sysalto.render.serialization.PdfShaddingFctColor_proto pdfShaddingFctColor_proto = 9;
*/
public Builder setPdfShaddingFctColorProto(
com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.Builder builderForValue) {
if (pdfShaddingFctColorProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
pdfShaddingFctColorProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 9;
return this;
}
/**
* .com.sysalto.render.serialization.PdfShaddingFctColor_proto pdfShaddingFctColor_proto = 9;
*/
public Builder mergePdfShaddingFctColorProto(com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto value) {
if (pdfShaddingFctColorProtoBuilder_ == null) {
if (fieldCase_ == 9 &&
field_ != com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 9) {
pdfShaddingFctColorProtoBuilder_.mergeFrom(value);
}
pdfShaddingFctColorProtoBuilder_.setMessage(value);
}
fieldCase_ = 9;
return this;
}
/**
* .com.sysalto.render.serialization.PdfShaddingFctColor_proto pdfShaddingFctColor_proto = 9;
*/
public Builder clearPdfShaddingFctColorProto() {
if (pdfShaddingFctColorProtoBuilder_ == null) {
if (fieldCase_ == 9) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 9) {
fieldCase_ = 0;
field_ = null;
}
pdfShaddingFctColorProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfShaddingFctColor_proto pdfShaddingFctColor_proto = 9;
*/
public com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.Builder getPdfShaddingFctColorProtoBuilder() {
return getPdfShaddingFctColorProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfShaddingFctColor_proto pdfShaddingFctColor_proto = 9;
*/
public com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_protoOrBuilder getPdfShaddingFctColorProtoOrBuilder() {
if ((fieldCase_ == 9) && (pdfShaddingFctColorProtoBuilder_ != null)) {
return pdfShaddingFctColorProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 9) {
return (com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfShaddingFctColor_proto pdfShaddingFctColor_proto = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto, com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_protoOrBuilder>
getPdfShaddingFctColorProtoFieldBuilder() {
if (pdfShaddingFctColorProtoBuilder_ == null) {
if (!(fieldCase_ == 9)) {
field_ = com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.getDefaultInstance();
}
pdfShaddingFctColorProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto, com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 9;
onChanged();;
return pdfShaddingFctColorProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto, com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfColorShadding_protoOrBuilder> pdfColorShaddingProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfColorShadding_proto pdfColorShadding_proto = 10;
*/
public boolean hasPdfColorShaddingProto() {
return fieldCase_ == 10;
}
/**
* .com.sysalto.render.serialization.PdfColorShadding_proto pdfColorShadding_proto = 10;
*/
public com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto getPdfColorShaddingProto() {
if (pdfColorShaddingProtoBuilder_ == null) {
if (fieldCase_ == 10) {
return (com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.getDefaultInstance();
} else {
if (fieldCase_ == 10) {
return pdfColorShaddingProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfColorShadding_proto pdfColorShadding_proto = 10;
*/
public Builder setPdfColorShaddingProto(com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto value) {
if (pdfColorShaddingProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
pdfColorShaddingProtoBuilder_.setMessage(value);
}
fieldCase_ = 10;
return this;
}
/**
* .com.sysalto.render.serialization.PdfColorShadding_proto pdfColorShadding_proto = 10;
*/
public Builder setPdfColorShaddingProto(
com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.Builder builderForValue) {
if (pdfColorShaddingProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
pdfColorShaddingProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 10;
return this;
}
/**
* .com.sysalto.render.serialization.PdfColorShadding_proto pdfColorShadding_proto = 10;
*/
public Builder mergePdfColorShaddingProto(com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto value) {
if (pdfColorShaddingProtoBuilder_ == null) {
if (fieldCase_ == 10 &&
field_ != com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 10) {
pdfColorShaddingProtoBuilder_.mergeFrom(value);
}
pdfColorShaddingProtoBuilder_.setMessage(value);
}
fieldCase_ = 10;
return this;
}
/**
* .com.sysalto.render.serialization.PdfColorShadding_proto pdfColorShadding_proto = 10;
*/
public Builder clearPdfColorShaddingProto() {
if (pdfColorShaddingProtoBuilder_ == null) {
if (fieldCase_ == 10) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 10) {
fieldCase_ = 0;
field_ = null;
}
pdfColorShaddingProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfColorShadding_proto pdfColorShadding_proto = 10;
*/
public com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.Builder getPdfColorShaddingProtoBuilder() {
return getPdfColorShaddingProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfColorShadding_proto pdfColorShadding_proto = 10;
*/
public com.sysalto.render.serialization.RenderProto.PdfColorShadding_protoOrBuilder getPdfColorShaddingProtoOrBuilder() {
if ((fieldCase_ == 10) && (pdfColorShaddingProtoBuilder_ != null)) {
return pdfColorShaddingProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 10) {
return (com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfColorShadding_proto pdfColorShadding_proto = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto, com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfColorShadding_protoOrBuilder>
getPdfColorShaddingProtoFieldBuilder() {
if (pdfColorShaddingProtoBuilder_ == null) {
if (!(fieldCase_ == 10)) {
field_ = com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.getDefaultInstance();
}
pdfColorShaddingProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto, com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfColorShadding_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 10;
onChanged();;
return pdfColorShaddingProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfGPattern_proto, com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfGPattern_protoOrBuilder> pdfGPatternProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfGPattern_proto pdfGPattern_proto = 11;
*/
public boolean hasPdfGPatternProto() {
return fieldCase_ == 11;
}
/**
* .com.sysalto.render.serialization.PdfGPattern_proto pdfGPattern_proto = 11;
*/
public com.sysalto.render.serialization.RenderProto.PdfGPattern_proto getPdfGPatternProto() {
if (pdfGPatternProtoBuilder_ == null) {
if (fieldCase_ == 11) {
return (com.sysalto.render.serialization.RenderProto.PdfGPattern_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.getDefaultInstance();
} else {
if (fieldCase_ == 11) {
return pdfGPatternProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfGPattern_proto pdfGPattern_proto = 11;
*/
public Builder setPdfGPatternProto(com.sysalto.render.serialization.RenderProto.PdfGPattern_proto value) {
if (pdfGPatternProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
pdfGPatternProtoBuilder_.setMessage(value);
}
fieldCase_ = 11;
return this;
}
/**
* .com.sysalto.render.serialization.PdfGPattern_proto pdfGPattern_proto = 11;
*/
public Builder setPdfGPatternProto(
com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.Builder builderForValue) {
if (pdfGPatternProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
pdfGPatternProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 11;
return this;
}
/**
* .com.sysalto.render.serialization.PdfGPattern_proto pdfGPattern_proto = 11;
*/
public Builder mergePdfGPatternProto(com.sysalto.render.serialization.RenderProto.PdfGPattern_proto value) {
if (pdfGPatternProtoBuilder_ == null) {
if (fieldCase_ == 11 &&
field_ != com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfGPattern_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 11) {
pdfGPatternProtoBuilder_.mergeFrom(value);
}
pdfGPatternProtoBuilder_.setMessage(value);
}
fieldCase_ = 11;
return this;
}
/**
* .com.sysalto.render.serialization.PdfGPattern_proto pdfGPattern_proto = 11;
*/
public Builder clearPdfGPatternProto() {
if (pdfGPatternProtoBuilder_ == null) {
if (fieldCase_ == 11) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 11) {
fieldCase_ = 0;
field_ = null;
}
pdfGPatternProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfGPattern_proto pdfGPattern_proto = 11;
*/
public com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.Builder getPdfGPatternProtoBuilder() {
return getPdfGPatternProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfGPattern_proto pdfGPattern_proto = 11;
*/
public com.sysalto.render.serialization.RenderProto.PdfGPattern_protoOrBuilder getPdfGPatternProtoOrBuilder() {
if ((fieldCase_ == 11) && (pdfGPatternProtoBuilder_ != null)) {
return pdfGPatternProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 11) {
return (com.sysalto.render.serialization.RenderProto.PdfGPattern_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfGPattern_proto pdfGPattern_proto = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfGPattern_proto, com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfGPattern_protoOrBuilder>
getPdfGPatternProtoFieldBuilder() {
if (pdfGPatternProtoBuilder_ == null) {
if (!(fieldCase_ == 11)) {
field_ = com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.getDefaultInstance();
}
pdfGPatternProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfGPattern_proto, com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfGPattern_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfGPattern_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 11;
onChanged();;
return pdfGPatternProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfFontStream_proto, com.sysalto.render.serialization.RenderProto.PdfFontStream_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfFontStream_protoOrBuilder> pdfFontStreamProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfFontStream_proto pdfFontStream_proto = 12;
*/
public boolean hasPdfFontStreamProto() {
return fieldCase_ == 12;
}
/**
* .com.sysalto.render.serialization.PdfFontStream_proto pdfFontStream_proto = 12;
*/
public com.sysalto.render.serialization.RenderProto.PdfFontStream_proto getPdfFontStreamProto() {
if (pdfFontStreamProtoBuilder_ == null) {
if (fieldCase_ == 12) {
return (com.sysalto.render.serialization.RenderProto.PdfFontStream_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfFontStream_proto.getDefaultInstance();
} else {
if (fieldCase_ == 12) {
return pdfFontStreamProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfFontStream_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfFontStream_proto pdfFontStream_proto = 12;
*/
public Builder setPdfFontStreamProto(com.sysalto.render.serialization.RenderProto.PdfFontStream_proto value) {
if (pdfFontStreamProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
pdfFontStreamProtoBuilder_.setMessage(value);
}
fieldCase_ = 12;
return this;
}
/**
* .com.sysalto.render.serialization.PdfFontStream_proto pdfFontStream_proto = 12;
*/
public Builder setPdfFontStreamProto(
com.sysalto.render.serialization.RenderProto.PdfFontStream_proto.Builder builderForValue) {
if (pdfFontStreamProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
pdfFontStreamProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 12;
return this;
}
/**
* .com.sysalto.render.serialization.PdfFontStream_proto pdfFontStream_proto = 12;
*/
public Builder mergePdfFontStreamProto(com.sysalto.render.serialization.RenderProto.PdfFontStream_proto value) {
if (pdfFontStreamProtoBuilder_ == null) {
if (fieldCase_ == 12 &&
field_ != com.sysalto.render.serialization.RenderProto.PdfFontStream_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.PdfFontStream_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfFontStream_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 12) {
pdfFontStreamProtoBuilder_.mergeFrom(value);
}
pdfFontStreamProtoBuilder_.setMessage(value);
}
fieldCase_ = 12;
return this;
}
/**
* .com.sysalto.render.serialization.PdfFontStream_proto pdfFontStream_proto = 12;
*/
public Builder clearPdfFontStreamProto() {
if (pdfFontStreamProtoBuilder_ == null) {
if (fieldCase_ == 12) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 12) {
fieldCase_ = 0;
field_ = null;
}
pdfFontStreamProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfFontStream_proto pdfFontStream_proto = 12;
*/
public com.sysalto.render.serialization.RenderProto.PdfFontStream_proto.Builder getPdfFontStreamProtoBuilder() {
return getPdfFontStreamProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfFontStream_proto pdfFontStream_proto = 12;
*/
public com.sysalto.render.serialization.RenderProto.PdfFontStream_protoOrBuilder getPdfFontStreamProtoOrBuilder() {
if ((fieldCase_ == 12) && (pdfFontStreamProtoBuilder_ != null)) {
return pdfFontStreamProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 12) {
return (com.sysalto.render.serialization.RenderProto.PdfFontStream_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfFontStream_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfFontStream_proto pdfFontStream_proto = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfFontStream_proto, com.sysalto.render.serialization.RenderProto.PdfFontStream_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfFontStream_protoOrBuilder>
getPdfFontStreamProtoFieldBuilder() {
if (pdfFontStreamProtoBuilder_ == null) {
if (!(fieldCase_ == 12)) {
field_ = com.sysalto.render.serialization.RenderProto.PdfFontStream_proto.getDefaultInstance();
}
pdfFontStreamProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfFontStream_proto, com.sysalto.render.serialization.RenderProto.PdfFontStream_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfFontStream_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfFontStream_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 12;
onChanged();;
return pdfFontStreamProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto, com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_protoOrBuilder> pdfFontDescriptorProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfFontDescriptor_proto pdfFontDescriptor_proto = 13;
*/
public boolean hasPdfFontDescriptorProto() {
return fieldCase_ == 13;
}
/**
* .com.sysalto.render.serialization.PdfFontDescriptor_proto pdfFontDescriptor_proto = 13;
*/
public com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto getPdfFontDescriptorProto() {
if (pdfFontDescriptorProtoBuilder_ == null) {
if (fieldCase_ == 13) {
return (com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto.getDefaultInstance();
} else {
if (fieldCase_ == 13) {
return pdfFontDescriptorProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfFontDescriptor_proto pdfFontDescriptor_proto = 13;
*/
public Builder setPdfFontDescriptorProto(com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto value) {
if (pdfFontDescriptorProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
pdfFontDescriptorProtoBuilder_.setMessage(value);
}
fieldCase_ = 13;
return this;
}
/**
* .com.sysalto.render.serialization.PdfFontDescriptor_proto pdfFontDescriptor_proto = 13;
*/
public Builder setPdfFontDescriptorProto(
com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto.Builder builderForValue) {
if (pdfFontDescriptorProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
pdfFontDescriptorProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 13;
return this;
}
/**
* .com.sysalto.render.serialization.PdfFontDescriptor_proto pdfFontDescriptor_proto = 13;
*/
public Builder mergePdfFontDescriptorProto(com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto value) {
if (pdfFontDescriptorProtoBuilder_ == null) {
if (fieldCase_ == 13 &&
field_ != com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 13) {
pdfFontDescriptorProtoBuilder_.mergeFrom(value);
}
pdfFontDescriptorProtoBuilder_.setMessage(value);
}
fieldCase_ = 13;
return this;
}
/**
* .com.sysalto.render.serialization.PdfFontDescriptor_proto pdfFontDescriptor_proto = 13;
*/
public Builder clearPdfFontDescriptorProto() {
if (pdfFontDescriptorProtoBuilder_ == null) {
if (fieldCase_ == 13) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 13) {
fieldCase_ = 0;
field_ = null;
}
pdfFontDescriptorProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfFontDescriptor_proto pdfFontDescriptor_proto = 13;
*/
public com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto.Builder getPdfFontDescriptorProtoBuilder() {
return getPdfFontDescriptorProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfFontDescriptor_proto pdfFontDescriptor_proto = 13;
*/
public com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_protoOrBuilder getPdfFontDescriptorProtoOrBuilder() {
if ((fieldCase_ == 13) && (pdfFontDescriptorProtoBuilder_ != null)) {
return pdfFontDescriptorProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 13) {
return (com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfFontDescriptor_proto pdfFontDescriptor_proto = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto, com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_protoOrBuilder>
getPdfFontDescriptorProtoFieldBuilder() {
if (pdfFontDescriptorProtoBuilder_ == null) {
if (!(fieldCase_ == 13)) {
field_ = com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto.getDefaultInstance();
}
pdfFontDescriptorProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto, com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfFontDescriptor_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 13;
onChanged();;
return pdfFontDescriptorProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto, com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfGoToPage_protoOrBuilder> pdfGoToPageProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfGoToPage_proto pdfGoToPage_proto = 14;
*/
public boolean hasPdfGoToPageProto() {
return fieldCase_ == 14;
}
/**
* .com.sysalto.render.serialization.PdfGoToPage_proto pdfGoToPage_proto = 14;
*/
public com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto getPdfGoToPageProto() {
if (pdfGoToPageProtoBuilder_ == null) {
if (fieldCase_ == 14) {
return (com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto.getDefaultInstance();
} else {
if (fieldCase_ == 14) {
return pdfGoToPageProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfGoToPage_proto pdfGoToPage_proto = 14;
*/
public Builder setPdfGoToPageProto(com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto value) {
if (pdfGoToPageProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
pdfGoToPageProtoBuilder_.setMessage(value);
}
fieldCase_ = 14;
return this;
}
/**
* .com.sysalto.render.serialization.PdfGoToPage_proto pdfGoToPage_proto = 14;
*/
public Builder setPdfGoToPageProto(
com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto.Builder builderForValue) {
if (pdfGoToPageProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
pdfGoToPageProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 14;
return this;
}
/**
* .com.sysalto.render.serialization.PdfGoToPage_proto pdfGoToPage_proto = 14;
*/
public Builder mergePdfGoToPageProto(com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto value) {
if (pdfGoToPageProtoBuilder_ == null) {
if (fieldCase_ == 14 &&
field_ != com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 14) {
pdfGoToPageProtoBuilder_.mergeFrom(value);
}
pdfGoToPageProtoBuilder_.setMessage(value);
}
fieldCase_ = 14;
return this;
}
/**
* .com.sysalto.render.serialization.PdfGoToPage_proto pdfGoToPage_proto = 14;
*/
public Builder clearPdfGoToPageProto() {
if (pdfGoToPageProtoBuilder_ == null) {
if (fieldCase_ == 14) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 14) {
fieldCase_ = 0;
field_ = null;
}
pdfGoToPageProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfGoToPage_proto pdfGoToPage_proto = 14;
*/
public com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto.Builder getPdfGoToPageProtoBuilder() {
return getPdfGoToPageProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfGoToPage_proto pdfGoToPage_proto = 14;
*/
public com.sysalto.render.serialization.RenderProto.PdfGoToPage_protoOrBuilder getPdfGoToPageProtoOrBuilder() {
if ((fieldCase_ == 14) && (pdfGoToPageProtoBuilder_ != null)) {
return pdfGoToPageProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 14) {
return (com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfGoToPage_proto pdfGoToPage_proto = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto, com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfGoToPage_protoOrBuilder>
getPdfGoToPageProtoFieldBuilder() {
if (pdfGoToPageProtoBuilder_ == null) {
if (!(fieldCase_ == 14)) {
field_ = com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto.getDefaultInstance();
}
pdfGoToPageProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto, com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfGoToPage_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfGoToPage_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 14;
onChanged();;
return pdfGoToPageProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfLink_proto, com.sysalto.render.serialization.RenderProto.PdfLink_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfLink_protoOrBuilder> pdfLinkProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfLink_proto pdfLink_proto = 15;
*/
public boolean hasPdfLinkProto() {
return fieldCase_ == 15;
}
/**
* .com.sysalto.render.serialization.PdfLink_proto pdfLink_proto = 15;
*/
public com.sysalto.render.serialization.RenderProto.PdfLink_proto getPdfLinkProto() {
if (pdfLinkProtoBuilder_ == null) {
if (fieldCase_ == 15) {
return (com.sysalto.render.serialization.RenderProto.PdfLink_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfLink_proto.getDefaultInstance();
} else {
if (fieldCase_ == 15) {
return pdfLinkProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfLink_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfLink_proto pdfLink_proto = 15;
*/
public Builder setPdfLinkProto(com.sysalto.render.serialization.RenderProto.PdfLink_proto value) {
if (pdfLinkProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
pdfLinkProtoBuilder_.setMessage(value);
}
fieldCase_ = 15;
return this;
}
/**
* .com.sysalto.render.serialization.PdfLink_proto pdfLink_proto = 15;
*/
public Builder setPdfLinkProto(
com.sysalto.render.serialization.RenderProto.PdfLink_proto.Builder builderForValue) {
if (pdfLinkProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
pdfLinkProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 15;
return this;
}
/**
* .com.sysalto.render.serialization.PdfLink_proto pdfLink_proto = 15;
*/
public Builder mergePdfLinkProto(com.sysalto.render.serialization.RenderProto.PdfLink_proto value) {
if (pdfLinkProtoBuilder_ == null) {
if (fieldCase_ == 15 &&
field_ != com.sysalto.render.serialization.RenderProto.PdfLink_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.PdfLink_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfLink_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 15) {
pdfLinkProtoBuilder_.mergeFrom(value);
}
pdfLinkProtoBuilder_.setMessage(value);
}
fieldCase_ = 15;
return this;
}
/**
* .com.sysalto.render.serialization.PdfLink_proto pdfLink_proto = 15;
*/
public Builder clearPdfLinkProto() {
if (pdfLinkProtoBuilder_ == null) {
if (fieldCase_ == 15) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 15) {
fieldCase_ = 0;
field_ = null;
}
pdfLinkProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfLink_proto pdfLink_proto = 15;
*/
public com.sysalto.render.serialization.RenderProto.PdfLink_proto.Builder getPdfLinkProtoBuilder() {
return getPdfLinkProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfLink_proto pdfLink_proto = 15;
*/
public com.sysalto.render.serialization.RenderProto.PdfLink_protoOrBuilder getPdfLinkProtoOrBuilder() {
if ((fieldCase_ == 15) && (pdfLinkProtoBuilder_ != null)) {
return pdfLinkProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 15) {
return (com.sysalto.render.serialization.RenderProto.PdfLink_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfLink_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfLink_proto pdfLink_proto = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfLink_proto, com.sysalto.render.serialization.RenderProto.PdfLink_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfLink_protoOrBuilder>
getPdfLinkProtoFieldBuilder() {
if (pdfLinkProtoBuilder_ == null) {
if (!(fieldCase_ == 15)) {
field_ = com.sysalto.render.serialization.RenderProto.PdfLink_proto.getDefaultInstance();
}
pdfLinkProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfLink_proto, com.sysalto.render.serialization.RenderProto.PdfLink_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfLink_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfLink_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 15;
onChanged();;
return pdfLinkProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto, com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfGoToUrl_protoOrBuilder> pdfGoToUrlProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfGoToUrl_proto pdfGoToUrl_proto = 16;
*/
public boolean hasPdfGoToUrlProto() {
return fieldCase_ == 16;
}
/**
* .com.sysalto.render.serialization.PdfGoToUrl_proto pdfGoToUrl_proto = 16;
*/
public com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto getPdfGoToUrlProto() {
if (pdfGoToUrlProtoBuilder_ == null) {
if (fieldCase_ == 16) {
return (com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto.getDefaultInstance();
} else {
if (fieldCase_ == 16) {
return pdfGoToUrlProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfGoToUrl_proto pdfGoToUrl_proto = 16;
*/
public Builder setPdfGoToUrlProto(com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto value) {
if (pdfGoToUrlProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
pdfGoToUrlProtoBuilder_.setMessage(value);
}
fieldCase_ = 16;
return this;
}
/**
* .com.sysalto.render.serialization.PdfGoToUrl_proto pdfGoToUrl_proto = 16;
*/
public Builder setPdfGoToUrlProto(
com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto.Builder builderForValue) {
if (pdfGoToUrlProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
pdfGoToUrlProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 16;
return this;
}
/**
* .com.sysalto.render.serialization.PdfGoToUrl_proto pdfGoToUrl_proto = 16;
*/
public Builder mergePdfGoToUrlProto(com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto value) {
if (pdfGoToUrlProtoBuilder_ == null) {
if (fieldCase_ == 16 &&
field_ != com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 16) {
pdfGoToUrlProtoBuilder_.mergeFrom(value);
}
pdfGoToUrlProtoBuilder_.setMessage(value);
}
fieldCase_ = 16;
return this;
}
/**
* .com.sysalto.render.serialization.PdfGoToUrl_proto pdfGoToUrl_proto = 16;
*/
public Builder clearPdfGoToUrlProto() {
if (pdfGoToUrlProtoBuilder_ == null) {
if (fieldCase_ == 16) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 16) {
fieldCase_ = 0;
field_ = null;
}
pdfGoToUrlProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfGoToUrl_proto pdfGoToUrl_proto = 16;
*/
public com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto.Builder getPdfGoToUrlProtoBuilder() {
return getPdfGoToUrlProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfGoToUrl_proto pdfGoToUrl_proto = 16;
*/
public com.sysalto.render.serialization.RenderProto.PdfGoToUrl_protoOrBuilder getPdfGoToUrlProtoOrBuilder() {
if ((fieldCase_ == 16) && (pdfGoToUrlProtoBuilder_ != null)) {
return pdfGoToUrlProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 16) {
return (com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfGoToUrl_proto pdfGoToUrl_proto = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto, com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfGoToUrl_protoOrBuilder>
getPdfGoToUrlProtoFieldBuilder() {
if (pdfGoToUrlProtoBuilder_ == null) {
if (!(fieldCase_ == 16)) {
field_ = com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto.getDefaultInstance();
}
pdfGoToUrlProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto, com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfGoToUrl_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfGoToUrl_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 16;
onChanged();;
return pdfGoToUrlProtoBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfBaseItem_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfBaseItem_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfBaseItem_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfBaseItem_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfBaseItem_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PdfCatalog_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfCatalog_proto)
com.google.protobuf.MessageOrBuilder {
/**
* repeated int64 idPdfPageListOpt = 1;
*/
java.util.List getIdPdfPageListOptList();
/**
* repeated int64 idPdfPageListOpt = 1;
*/
int getIdPdfPageListOptCount();
/**
* repeated int64 idPdfPageListOpt = 1;
*/
long getIdPdfPageListOpt(int index);
/**
* repeated int64 idPdfNamesOpt = 2;
*/
java.util.List getIdPdfNamesOptList();
/**
* repeated int64 idPdfNamesOpt = 2;
*/
int getIdPdfNamesOptCount();
/**
* repeated int64 idPdfNamesOpt = 2;
*/
long getIdPdfNamesOpt(int index);
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfCatalog_proto}
*/
public static final class PdfCatalog_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfCatalog_proto)
PdfCatalog_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfCatalog_proto.newBuilder() to construct.
private PdfCatalog_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfCatalog_proto() {
idPdfPageListOpt_ = java.util.Collections.emptyList();
idPdfNamesOpt_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfCatalog_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
idPdfPageListOpt_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
idPdfPageListOpt_.add(input.readInt64());
break;
}
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
idPdfPageListOpt_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
idPdfPageListOpt_.add(input.readInt64());
}
input.popLimit(limit);
break;
}
case 16: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
idPdfNamesOpt_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
idPdfNamesOpt_.add(input.readInt64());
break;
}
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) {
idPdfNamesOpt_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
while (input.getBytesUntilLimit() > 0) {
idPdfNamesOpt_.add(input.readInt64());
}
input.popLimit(limit);
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
idPdfPageListOpt_ = java.util.Collections.unmodifiableList(idPdfPageListOpt_);
}
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
idPdfNamesOpt_ = java.util.Collections.unmodifiableList(idPdfNamesOpt_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfCatalog_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfCatalog_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.class, com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.Builder.class);
}
public static final int IDPDFPAGELISTOPT_FIELD_NUMBER = 1;
private java.util.List idPdfPageListOpt_;
/**
* repeated int64 idPdfPageListOpt = 1;
*/
public java.util.List
getIdPdfPageListOptList() {
return idPdfPageListOpt_;
}
/**
* repeated int64 idPdfPageListOpt = 1;
*/
public int getIdPdfPageListOptCount() {
return idPdfPageListOpt_.size();
}
/**
* repeated int64 idPdfPageListOpt = 1;
*/
public long getIdPdfPageListOpt(int index) {
return idPdfPageListOpt_.get(index);
}
private int idPdfPageListOptMemoizedSerializedSize = -1;
public static final int IDPDFNAMESOPT_FIELD_NUMBER = 2;
private java.util.List idPdfNamesOpt_;
/**
* repeated int64 idPdfNamesOpt = 2;
*/
public java.util.List
getIdPdfNamesOptList() {
return idPdfNamesOpt_;
}
/**
* repeated int64 idPdfNamesOpt = 2;
*/
public int getIdPdfNamesOptCount() {
return idPdfNamesOpt_.size();
}
/**
* repeated int64 idPdfNamesOpt = 2;
*/
public long getIdPdfNamesOpt(int index) {
return idPdfNamesOpt_.get(index);
}
private int idPdfNamesOptMemoizedSerializedSize = -1;
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (getIdPdfPageListOptList().size() > 0) {
output.writeUInt32NoTag(10);
output.writeUInt32NoTag(idPdfPageListOptMemoizedSerializedSize);
}
for (int i = 0; i < idPdfPageListOpt_.size(); i++) {
output.writeInt64NoTag(idPdfPageListOpt_.get(i));
}
if (getIdPdfNamesOptList().size() > 0) {
output.writeUInt32NoTag(18);
output.writeUInt32NoTag(idPdfNamesOptMemoizedSerializedSize);
}
for (int i = 0; i < idPdfNamesOpt_.size(); i++) {
output.writeInt64NoTag(idPdfNamesOpt_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < idPdfPageListOpt_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(idPdfPageListOpt_.get(i));
}
size += dataSize;
if (!getIdPdfPageListOptList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
idPdfPageListOptMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < idPdfNamesOpt_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(idPdfNamesOpt_.get(i));
}
size += dataSize;
if (!getIdPdfNamesOptList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
idPdfNamesOptMemoizedSerializedSize = dataSize;
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfCatalog_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfCatalog_proto other = (com.sysalto.render.serialization.RenderProto.PdfCatalog_proto) obj;
boolean result = true;
result = result && getIdPdfPageListOptList()
.equals(other.getIdPdfPageListOptList());
result = result && getIdPdfNamesOptList()
.equals(other.getIdPdfNamesOptList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getIdPdfPageListOptCount() > 0) {
hash = (37 * hash) + IDPDFPAGELISTOPT_FIELD_NUMBER;
hash = (53 * hash) + getIdPdfPageListOptList().hashCode();
}
if (getIdPdfNamesOptCount() > 0) {
hash = (37 * hash) + IDPDFNAMESOPT_FIELD_NUMBER;
hash = (53 * hash) + getIdPdfNamesOptList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfCatalog_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfCatalog_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfCatalog_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfCatalog_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfCatalog_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfCatalog_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfCatalog_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfCatalog_proto 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.sysalto.render.serialization.RenderProto.PdfCatalog_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfCatalog_proto 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.sysalto.render.serialization.RenderProto.PdfCatalog_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfCatalog_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfCatalog_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfCatalog_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfCatalog_proto)
com.sysalto.render.serialization.RenderProto.PdfCatalog_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfCatalog_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfCatalog_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.class, com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
idPdfPageListOpt_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
idPdfNamesOpt_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfCatalog_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfCatalog_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfCatalog_proto build() {
com.sysalto.render.serialization.RenderProto.PdfCatalog_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfCatalog_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfCatalog_proto result = new com.sysalto.render.serialization.RenderProto.PdfCatalog_proto(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
idPdfPageListOpt_ = java.util.Collections.unmodifiableList(idPdfPageListOpt_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.idPdfPageListOpt_ = idPdfPageListOpt_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
idPdfNamesOpt_ = java.util.Collections.unmodifiableList(idPdfNamesOpt_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.idPdfNamesOpt_ = idPdfNamesOpt_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfCatalog_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfCatalog_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfCatalog_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfCatalog_proto.getDefaultInstance()) return this;
if (!other.idPdfPageListOpt_.isEmpty()) {
if (idPdfPageListOpt_.isEmpty()) {
idPdfPageListOpt_ = other.idPdfPageListOpt_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureIdPdfPageListOptIsMutable();
idPdfPageListOpt_.addAll(other.idPdfPageListOpt_);
}
onChanged();
}
if (!other.idPdfNamesOpt_.isEmpty()) {
if (idPdfNamesOpt_.isEmpty()) {
idPdfNamesOpt_ = other.idPdfNamesOpt_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureIdPdfNamesOptIsMutable();
idPdfNamesOpt_.addAll(other.idPdfNamesOpt_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfCatalog_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfCatalog_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List idPdfPageListOpt_ = java.util.Collections.emptyList();
private void ensureIdPdfPageListOptIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
idPdfPageListOpt_ = new java.util.ArrayList(idPdfPageListOpt_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated int64 idPdfPageListOpt = 1;
*/
public java.util.List
getIdPdfPageListOptList() {
return java.util.Collections.unmodifiableList(idPdfPageListOpt_);
}
/**
* repeated int64 idPdfPageListOpt = 1;
*/
public int getIdPdfPageListOptCount() {
return idPdfPageListOpt_.size();
}
/**
* repeated int64 idPdfPageListOpt = 1;
*/
public long getIdPdfPageListOpt(int index) {
return idPdfPageListOpt_.get(index);
}
/**
* repeated int64 idPdfPageListOpt = 1;
*/
public Builder setIdPdfPageListOpt(
int index, long value) {
ensureIdPdfPageListOptIsMutable();
idPdfPageListOpt_.set(index, value);
onChanged();
return this;
}
/**
* repeated int64 idPdfPageListOpt = 1;
*/
public Builder addIdPdfPageListOpt(long value) {
ensureIdPdfPageListOptIsMutable();
idPdfPageListOpt_.add(value);
onChanged();
return this;
}
/**
* repeated int64 idPdfPageListOpt = 1;
*/
public Builder addAllIdPdfPageListOpt(
java.lang.Iterable extends java.lang.Long> values) {
ensureIdPdfPageListOptIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, idPdfPageListOpt_);
onChanged();
return this;
}
/**
* repeated int64 idPdfPageListOpt = 1;
*/
public Builder clearIdPdfPageListOpt() {
idPdfPageListOpt_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private java.util.List idPdfNamesOpt_ = java.util.Collections.emptyList();
private void ensureIdPdfNamesOptIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
idPdfNamesOpt_ = new java.util.ArrayList(idPdfNamesOpt_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated int64 idPdfNamesOpt = 2;
*/
public java.util.List
getIdPdfNamesOptList() {
return java.util.Collections.unmodifiableList(idPdfNamesOpt_);
}
/**
* repeated int64 idPdfNamesOpt = 2;
*/
public int getIdPdfNamesOptCount() {
return idPdfNamesOpt_.size();
}
/**
* repeated int64 idPdfNamesOpt = 2;
*/
public long getIdPdfNamesOpt(int index) {
return idPdfNamesOpt_.get(index);
}
/**
* repeated int64 idPdfNamesOpt = 2;
*/
public Builder setIdPdfNamesOpt(
int index, long value) {
ensureIdPdfNamesOptIsMutable();
idPdfNamesOpt_.set(index, value);
onChanged();
return this;
}
/**
* repeated int64 idPdfNamesOpt = 2;
*/
public Builder addIdPdfNamesOpt(long value) {
ensureIdPdfNamesOptIsMutable();
idPdfNamesOpt_.add(value);
onChanged();
return this;
}
/**
* repeated int64 idPdfNamesOpt = 2;
*/
public Builder addAllIdPdfNamesOpt(
java.lang.Iterable extends java.lang.Long> values) {
ensureIdPdfNamesOptIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, idPdfNamesOpt_);
onChanged();
return this;
}
/**
* repeated int64 idPdfNamesOpt = 2;
*/
public Builder clearIdPdfNamesOpt() {
idPdfNamesOpt_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfCatalog_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfCatalog_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfCatalog_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfCatalog_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfCatalog_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfCatalog_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfCatalog_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfCatalog_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PdfPage_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfPage_proto)
com.google.protobuf.MessageOrBuilder {
/**
* int64 parentId = 1;
*/
long getParentId();
/**
* float pageWidth = 2;
*/
float getPageWidth();
/**
* float pageHeight = 3;
*/
float getPageHeight();
/**
* repeated int64 idFontList = 4;
*/
java.util.List getIdFontListList();
/**
* repeated int64 idFontList = 4;
*/
int getIdFontListCount();
/**
* repeated int64 idFontList = 4;
*/
long getIdFontList(int index);
/**
* repeated int64 idPdfPatternList = 5;
*/
java.util.List getIdPdfPatternListList();
/**
* repeated int64 idPdfPatternList = 5;
*/
int getIdPdfPatternListCount();
/**
* repeated int64 idPdfPatternList = 5;
*/
long getIdPdfPatternList(int index);
/**
* repeated int64 idAnnotationList = 6;
*/
java.util.List getIdAnnotationListList();
/**
* repeated int64 idAnnotationList = 6;
*/
int getIdAnnotationListCount();
/**
* repeated int64 idAnnotationList = 6;
*/
long getIdAnnotationList(int index);
/**
* repeated int64 idImageList = 7;
*/
java.util.List getIdImageListList();
/**
* repeated int64 idImageList = 7;
*/
int getIdImageListCount();
/**
* repeated int64 idImageList = 7;
*/
long getIdImageList(int index);
/**
* repeated int64 idContentPageOpt = 8;
*/
java.util.List getIdContentPageOptList();
/**
* repeated int64 idContentPageOpt = 8;
*/
int getIdContentPageOptCount();
/**
* repeated int64 idContentPageOpt = 8;
*/
long getIdContentPageOpt(int index);
/**
* int64 leafNbr = 9;
*/
long getLeafNbr();
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfPage_proto}
*/
public static final class PdfPage_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfPage_proto)
PdfPage_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfPage_proto.newBuilder() to construct.
private PdfPage_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfPage_proto() {
parentId_ = 0L;
pageWidth_ = 0F;
pageHeight_ = 0F;
idFontList_ = java.util.Collections.emptyList();
idPdfPatternList_ = java.util.Collections.emptyList();
idAnnotationList_ = java.util.Collections.emptyList();
idImageList_ = java.util.Collections.emptyList();
idContentPageOpt_ = java.util.Collections.emptyList();
leafNbr_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfPage_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
parentId_ = input.readInt64();
break;
}
case 21: {
pageWidth_ = input.readFloat();
break;
}
case 29: {
pageHeight_ = input.readFloat();
break;
}
case 32: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
idFontList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
idFontList_.add(input.readInt64());
break;
}
case 34: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) {
idFontList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
while (input.getBytesUntilLimit() > 0) {
idFontList_.add(input.readInt64());
}
input.popLimit(limit);
break;
}
case 40: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
idPdfPatternList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
idPdfPatternList_.add(input.readInt64());
break;
}
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010) && input.getBytesUntilLimit() > 0) {
idPdfPatternList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
while (input.getBytesUntilLimit() > 0) {
idPdfPatternList_.add(input.readInt64());
}
input.popLimit(limit);
break;
}
case 48: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
idAnnotationList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
idAnnotationList_.add(input.readInt64());
break;
}
case 50: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020) && input.getBytesUntilLimit() > 0) {
idAnnotationList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
while (input.getBytesUntilLimit() > 0) {
idAnnotationList_.add(input.readInt64());
}
input.popLimit(limit);
break;
}
case 56: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
idImageList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
idImageList_.add(input.readInt64());
break;
}
case 58: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040) && input.getBytesUntilLimit() > 0) {
idImageList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
while (input.getBytesUntilLimit() > 0) {
idImageList_.add(input.readInt64());
}
input.popLimit(limit);
break;
}
case 64: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
idContentPageOpt_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
idContentPageOpt_.add(input.readInt64());
break;
}
case 66: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080) && input.getBytesUntilLimit() > 0) {
idContentPageOpt_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
while (input.getBytesUntilLimit() > 0) {
idContentPageOpt_.add(input.readInt64());
}
input.popLimit(limit);
break;
}
case 72: {
leafNbr_ = input.readInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
idFontList_ = java.util.Collections.unmodifiableList(idFontList_);
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
idPdfPatternList_ = java.util.Collections.unmodifiableList(idPdfPatternList_);
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
idAnnotationList_ = java.util.Collections.unmodifiableList(idAnnotationList_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
idImageList_ = java.util.Collections.unmodifiableList(idImageList_);
}
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
idContentPageOpt_ = java.util.Collections.unmodifiableList(idContentPageOpt_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPage_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPage_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfPage_proto.class, com.sysalto.render.serialization.RenderProto.PdfPage_proto.Builder.class);
}
private int bitField0_;
public static final int PARENTID_FIELD_NUMBER = 1;
private long parentId_;
/**
* int64 parentId = 1;
*/
public long getParentId() {
return parentId_;
}
public static final int PAGEWIDTH_FIELD_NUMBER = 2;
private float pageWidth_;
/**
* float pageWidth = 2;
*/
public float getPageWidth() {
return pageWidth_;
}
public static final int PAGEHEIGHT_FIELD_NUMBER = 3;
private float pageHeight_;
/**
* float pageHeight = 3;
*/
public float getPageHeight() {
return pageHeight_;
}
public static final int IDFONTLIST_FIELD_NUMBER = 4;
private java.util.List idFontList_;
/**
* repeated int64 idFontList = 4;
*/
public java.util.List
getIdFontListList() {
return idFontList_;
}
/**
* repeated int64 idFontList = 4;
*/
public int getIdFontListCount() {
return idFontList_.size();
}
/**
* repeated int64 idFontList = 4;
*/
public long getIdFontList(int index) {
return idFontList_.get(index);
}
private int idFontListMemoizedSerializedSize = -1;
public static final int IDPDFPATTERNLIST_FIELD_NUMBER = 5;
private java.util.List idPdfPatternList_;
/**
* repeated int64 idPdfPatternList = 5;
*/
public java.util.List
getIdPdfPatternListList() {
return idPdfPatternList_;
}
/**
* repeated int64 idPdfPatternList = 5;
*/
public int getIdPdfPatternListCount() {
return idPdfPatternList_.size();
}
/**
* repeated int64 idPdfPatternList = 5;
*/
public long getIdPdfPatternList(int index) {
return idPdfPatternList_.get(index);
}
private int idPdfPatternListMemoizedSerializedSize = -1;
public static final int IDANNOTATIONLIST_FIELD_NUMBER = 6;
private java.util.List idAnnotationList_;
/**
* repeated int64 idAnnotationList = 6;
*/
public java.util.List
getIdAnnotationListList() {
return idAnnotationList_;
}
/**
* repeated int64 idAnnotationList = 6;
*/
public int getIdAnnotationListCount() {
return idAnnotationList_.size();
}
/**
* repeated int64 idAnnotationList = 6;
*/
public long getIdAnnotationList(int index) {
return idAnnotationList_.get(index);
}
private int idAnnotationListMemoizedSerializedSize = -1;
public static final int IDIMAGELIST_FIELD_NUMBER = 7;
private java.util.List idImageList_;
/**
* repeated int64 idImageList = 7;
*/
public java.util.List
getIdImageListList() {
return idImageList_;
}
/**
* repeated int64 idImageList = 7;
*/
public int getIdImageListCount() {
return idImageList_.size();
}
/**
* repeated int64 idImageList = 7;
*/
public long getIdImageList(int index) {
return idImageList_.get(index);
}
private int idImageListMemoizedSerializedSize = -1;
public static final int IDCONTENTPAGEOPT_FIELD_NUMBER = 8;
private java.util.List idContentPageOpt_;
/**
* repeated int64 idContentPageOpt = 8;
*/
public java.util.List
getIdContentPageOptList() {
return idContentPageOpt_;
}
/**
* repeated int64 idContentPageOpt = 8;
*/
public int getIdContentPageOptCount() {
return idContentPageOpt_.size();
}
/**
* repeated int64 idContentPageOpt = 8;
*/
public long getIdContentPageOpt(int index) {
return idContentPageOpt_.get(index);
}
private int idContentPageOptMemoizedSerializedSize = -1;
public static final int LEAFNBR_FIELD_NUMBER = 9;
private long leafNbr_;
/**
* int64 leafNbr = 9;
*/
public long getLeafNbr() {
return leafNbr_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (parentId_ != 0L) {
output.writeInt64(1, parentId_);
}
if (pageWidth_ != 0F) {
output.writeFloat(2, pageWidth_);
}
if (pageHeight_ != 0F) {
output.writeFloat(3, pageHeight_);
}
if (getIdFontListList().size() > 0) {
output.writeUInt32NoTag(34);
output.writeUInt32NoTag(idFontListMemoizedSerializedSize);
}
for (int i = 0; i < idFontList_.size(); i++) {
output.writeInt64NoTag(idFontList_.get(i));
}
if (getIdPdfPatternListList().size() > 0) {
output.writeUInt32NoTag(42);
output.writeUInt32NoTag(idPdfPatternListMemoizedSerializedSize);
}
for (int i = 0; i < idPdfPatternList_.size(); i++) {
output.writeInt64NoTag(idPdfPatternList_.get(i));
}
if (getIdAnnotationListList().size() > 0) {
output.writeUInt32NoTag(50);
output.writeUInt32NoTag(idAnnotationListMemoizedSerializedSize);
}
for (int i = 0; i < idAnnotationList_.size(); i++) {
output.writeInt64NoTag(idAnnotationList_.get(i));
}
if (getIdImageListList().size() > 0) {
output.writeUInt32NoTag(58);
output.writeUInt32NoTag(idImageListMemoizedSerializedSize);
}
for (int i = 0; i < idImageList_.size(); i++) {
output.writeInt64NoTag(idImageList_.get(i));
}
if (getIdContentPageOptList().size() > 0) {
output.writeUInt32NoTag(66);
output.writeUInt32NoTag(idContentPageOptMemoizedSerializedSize);
}
for (int i = 0; i < idContentPageOpt_.size(); i++) {
output.writeInt64NoTag(idContentPageOpt_.get(i));
}
if (leafNbr_ != 0L) {
output.writeInt64(9, leafNbr_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (parentId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, parentId_);
}
if (pageWidth_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, pageWidth_);
}
if (pageHeight_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, pageHeight_);
}
{
int dataSize = 0;
for (int i = 0; i < idFontList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(idFontList_.get(i));
}
size += dataSize;
if (!getIdFontListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
idFontListMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < idPdfPatternList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(idPdfPatternList_.get(i));
}
size += dataSize;
if (!getIdPdfPatternListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
idPdfPatternListMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < idAnnotationList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(idAnnotationList_.get(i));
}
size += dataSize;
if (!getIdAnnotationListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
idAnnotationListMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < idImageList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(idImageList_.get(i));
}
size += dataSize;
if (!getIdImageListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
idImageListMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < idContentPageOpt_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(idContentPageOpt_.get(i));
}
size += dataSize;
if (!getIdContentPageOptList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
idContentPageOptMemoizedSerializedSize = dataSize;
}
if (leafNbr_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(9, leafNbr_);
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfPage_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfPage_proto other = (com.sysalto.render.serialization.RenderProto.PdfPage_proto) obj;
boolean result = true;
result = result && (getParentId()
== other.getParentId());
result = result && (
java.lang.Float.floatToIntBits(getPageWidth())
== java.lang.Float.floatToIntBits(
other.getPageWidth()));
result = result && (
java.lang.Float.floatToIntBits(getPageHeight())
== java.lang.Float.floatToIntBits(
other.getPageHeight()));
result = result && getIdFontListList()
.equals(other.getIdFontListList());
result = result && getIdPdfPatternListList()
.equals(other.getIdPdfPatternListList());
result = result && getIdAnnotationListList()
.equals(other.getIdAnnotationListList());
result = result && getIdImageListList()
.equals(other.getIdImageListList());
result = result && getIdContentPageOptList()
.equals(other.getIdContentPageOptList());
result = result && (getLeafNbr()
== other.getLeafNbr());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PARENTID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getParentId());
hash = (37 * hash) + PAGEWIDTH_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getPageWidth());
hash = (37 * hash) + PAGEHEIGHT_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getPageHeight());
if (getIdFontListCount() > 0) {
hash = (37 * hash) + IDFONTLIST_FIELD_NUMBER;
hash = (53 * hash) + getIdFontListList().hashCode();
}
if (getIdPdfPatternListCount() > 0) {
hash = (37 * hash) + IDPDFPATTERNLIST_FIELD_NUMBER;
hash = (53 * hash) + getIdPdfPatternListList().hashCode();
}
if (getIdAnnotationListCount() > 0) {
hash = (37 * hash) + IDANNOTATIONLIST_FIELD_NUMBER;
hash = (53 * hash) + getIdAnnotationListList().hashCode();
}
if (getIdImageListCount() > 0) {
hash = (37 * hash) + IDIMAGELIST_FIELD_NUMBER;
hash = (53 * hash) + getIdImageListList().hashCode();
}
if (getIdContentPageOptCount() > 0) {
hash = (37 * hash) + IDCONTENTPAGEOPT_FIELD_NUMBER;
hash = (53 * hash) + getIdContentPageOptList().hashCode();
}
hash = (37 * hash) + LEAFNBR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLeafNbr());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfPage_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfPage_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfPage_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfPage_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfPage_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfPage_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfPage_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfPage_proto 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.sysalto.render.serialization.RenderProto.PdfPage_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfPage_proto 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.sysalto.render.serialization.RenderProto.PdfPage_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfPage_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfPage_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfPage_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfPage_proto)
com.sysalto.render.serialization.RenderProto.PdfPage_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPage_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPage_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfPage_proto.class, com.sysalto.render.serialization.RenderProto.PdfPage_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfPage_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
parentId_ = 0L;
pageWidth_ = 0F;
pageHeight_ = 0F;
idFontList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
idPdfPatternList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
idAnnotationList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
idImageList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
idContentPageOpt_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
leafNbr_ = 0L;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPage_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfPage_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfPage_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfPage_proto build() {
com.sysalto.render.serialization.RenderProto.PdfPage_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfPage_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfPage_proto result = new com.sysalto.render.serialization.RenderProto.PdfPage_proto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.parentId_ = parentId_;
result.pageWidth_ = pageWidth_;
result.pageHeight_ = pageHeight_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
idFontList_ = java.util.Collections.unmodifiableList(idFontList_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.idFontList_ = idFontList_;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
idPdfPatternList_ = java.util.Collections.unmodifiableList(idPdfPatternList_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.idPdfPatternList_ = idPdfPatternList_;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
idAnnotationList_ = java.util.Collections.unmodifiableList(idAnnotationList_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.idAnnotationList_ = idAnnotationList_;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
idImageList_ = java.util.Collections.unmodifiableList(idImageList_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.idImageList_ = idImageList_;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
idContentPageOpt_ = java.util.Collections.unmodifiableList(idContentPageOpt_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.idContentPageOpt_ = idContentPageOpt_;
result.leafNbr_ = leafNbr_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfPage_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfPage_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfPage_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfPage_proto.getDefaultInstance()) return this;
if (other.getParentId() != 0L) {
setParentId(other.getParentId());
}
if (other.getPageWidth() != 0F) {
setPageWidth(other.getPageWidth());
}
if (other.getPageHeight() != 0F) {
setPageHeight(other.getPageHeight());
}
if (!other.idFontList_.isEmpty()) {
if (idFontList_.isEmpty()) {
idFontList_ = other.idFontList_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureIdFontListIsMutable();
idFontList_.addAll(other.idFontList_);
}
onChanged();
}
if (!other.idPdfPatternList_.isEmpty()) {
if (idPdfPatternList_.isEmpty()) {
idPdfPatternList_ = other.idPdfPatternList_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureIdPdfPatternListIsMutable();
idPdfPatternList_.addAll(other.idPdfPatternList_);
}
onChanged();
}
if (!other.idAnnotationList_.isEmpty()) {
if (idAnnotationList_.isEmpty()) {
idAnnotationList_ = other.idAnnotationList_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureIdAnnotationListIsMutable();
idAnnotationList_.addAll(other.idAnnotationList_);
}
onChanged();
}
if (!other.idImageList_.isEmpty()) {
if (idImageList_.isEmpty()) {
idImageList_ = other.idImageList_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureIdImageListIsMutable();
idImageList_.addAll(other.idImageList_);
}
onChanged();
}
if (!other.idContentPageOpt_.isEmpty()) {
if (idContentPageOpt_.isEmpty()) {
idContentPageOpt_ = other.idContentPageOpt_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureIdContentPageOptIsMutable();
idContentPageOpt_.addAll(other.idContentPageOpt_);
}
onChanged();
}
if (other.getLeafNbr() != 0L) {
setLeafNbr(other.getLeafNbr());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfPage_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfPage_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long parentId_ ;
/**
* int64 parentId = 1;
*/
public long getParentId() {
return parentId_;
}
/**
* int64 parentId = 1;
*/
public Builder setParentId(long value) {
parentId_ = value;
onChanged();
return this;
}
/**
* int64 parentId = 1;
*/
public Builder clearParentId() {
parentId_ = 0L;
onChanged();
return this;
}
private float pageWidth_ ;
/**
* float pageWidth = 2;
*/
public float getPageWidth() {
return pageWidth_;
}
/**
* float pageWidth = 2;
*/
public Builder setPageWidth(float value) {
pageWidth_ = value;
onChanged();
return this;
}
/**
* float pageWidth = 2;
*/
public Builder clearPageWidth() {
pageWidth_ = 0F;
onChanged();
return this;
}
private float pageHeight_ ;
/**
* float pageHeight = 3;
*/
public float getPageHeight() {
return pageHeight_;
}
/**
* float pageHeight = 3;
*/
public Builder setPageHeight(float value) {
pageHeight_ = value;
onChanged();
return this;
}
/**
* float pageHeight = 3;
*/
public Builder clearPageHeight() {
pageHeight_ = 0F;
onChanged();
return this;
}
private java.util.List idFontList_ = java.util.Collections.emptyList();
private void ensureIdFontListIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
idFontList_ = new java.util.ArrayList(idFontList_);
bitField0_ |= 0x00000008;
}
}
/**
* repeated int64 idFontList = 4;
*/
public java.util.List
getIdFontListList() {
return java.util.Collections.unmodifiableList(idFontList_);
}
/**
* repeated int64 idFontList = 4;
*/
public int getIdFontListCount() {
return idFontList_.size();
}
/**
* repeated int64 idFontList = 4;
*/
public long getIdFontList(int index) {
return idFontList_.get(index);
}
/**
* repeated int64 idFontList = 4;
*/
public Builder setIdFontList(
int index, long value) {
ensureIdFontListIsMutable();
idFontList_.set(index, value);
onChanged();
return this;
}
/**
* repeated int64 idFontList = 4;
*/
public Builder addIdFontList(long value) {
ensureIdFontListIsMutable();
idFontList_.add(value);
onChanged();
return this;
}
/**
* repeated int64 idFontList = 4;
*/
public Builder addAllIdFontList(
java.lang.Iterable extends java.lang.Long> values) {
ensureIdFontListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, idFontList_);
onChanged();
return this;
}
/**
* repeated int64 idFontList = 4;
*/
public Builder clearIdFontList() {
idFontList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
private java.util.List idPdfPatternList_ = java.util.Collections.emptyList();
private void ensureIdPdfPatternListIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
idPdfPatternList_ = new java.util.ArrayList(idPdfPatternList_);
bitField0_ |= 0x00000010;
}
}
/**
* repeated int64 idPdfPatternList = 5;
*/
public java.util.List
getIdPdfPatternListList() {
return java.util.Collections.unmodifiableList(idPdfPatternList_);
}
/**
* repeated int64 idPdfPatternList = 5;
*/
public int getIdPdfPatternListCount() {
return idPdfPatternList_.size();
}
/**
* repeated int64 idPdfPatternList = 5;
*/
public long getIdPdfPatternList(int index) {
return idPdfPatternList_.get(index);
}
/**
* repeated int64 idPdfPatternList = 5;
*/
public Builder setIdPdfPatternList(
int index, long value) {
ensureIdPdfPatternListIsMutable();
idPdfPatternList_.set(index, value);
onChanged();
return this;
}
/**
* repeated int64 idPdfPatternList = 5;
*/
public Builder addIdPdfPatternList(long value) {
ensureIdPdfPatternListIsMutable();
idPdfPatternList_.add(value);
onChanged();
return this;
}
/**
* repeated int64 idPdfPatternList = 5;
*/
public Builder addAllIdPdfPatternList(
java.lang.Iterable extends java.lang.Long> values) {
ensureIdPdfPatternListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, idPdfPatternList_);
onChanged();
return this;
}
/**
* repeated int64 idPdfPatternList = 5;
*/
public Builder clearIdPdfPatternList() {
idPdfPatternList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
private java.util.List idAnnotationList_ = java.util.Collections.emptyList();
private void ensureIdAnnotationListIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
idAnnotationList_ = new java.util.ArrayList(idAnnotationList_);
bitField0_ |= 0x00000020;
}
}
/**
* repeated int64 idAnnotationList = 6;
*/
public java.util.List
getIdAnnotationListList() {
return java.util.Collections.unmodifiableList(idAnnotationList_);
}
/**
* repeated int64 idAnnotationList = 6;
*/
public int getIdAnnotationListCount() {
return idAnnotationList_.size();
}
/**
* repeated int64 idAnnotationList = 6;
*/
public long getIdAnnotationList(int index) {
return idAnnotationList_.get(index);
}
/**
* repeated int64 idAnnotationList = 6;
*/
public Builder setIdAnnotationList(
int index, long value) {
ensureIdAnnotationListIsMutable();
idAnnotationList_.set(index, value);
onChanged();
return this;
}
/**
* repeated int64 idAnnotationList = 6;
*/
public Builder addIdAnnotationList(long value) {
ensureIdAnnotationListIsMutable();
idAnnotationList_.add(value);
onChanged();
return this;
}
/**
* repeated int64 idAnnotationList = 6;
*/
public Builder addAllIdAnnotationList(
java.lang.Iterable extends java.lang.Long> values) {
ensureIdAnnotationListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, idAnnotationList_);
onChanged();
return this;
}
/**
* repeated int64 idAnnotationList = 6;
*/
public Builder clearIdAnnotationList() {
idAnnotationList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
private java.util.List idImageList_ = java.util.Collections.emptyList();
private void ensureIdImageListIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
idImageList_ = new java.util.ArrayList(idImageList_);
bitField0_ |= 0x00000040;
}
}
/**
* repeated int64 idImageList = 7;
*/
public java.util.List
getIdImageListList() {
return java.util.Collections.unmodifiableList(idImageList_);
}
/**
* repeated int64 idImageList = 7;
*/
public int getIdImageListCount() {
return idImageList_.size();
}
/**
* repeated int64 idImageList = 7;
*/
public long getIdImageList(int index) {
return idImageList_.get(index);
}
/**
* repeated int64 idImageList = 7;
*/
public Builder setIdImageList(
int index, long value) {
ensureIdImageListIsMutable();
idImageList_.set(index, value);
onChanged();
return this;
}
/**
* repeated int64 idImageList = 7;
*/
public Builder addIdImageList(long value) {
ensureIdImageListIsMutable();
idImageList_.add(value);
onChanged();
return this;
}
/**
* repeated int64 idImageList = 7;
*/
public Builder addAllIdImageList(
java.lang.Iterable extends java.lang.Long> values) {
ensureIdImageListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, idImageList_);
onChanged();
return this;
}
/**
* repeated int64 idImageList = 7;
*/
public Builder clearIdImageList() {
idImageList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
private java.util.List idContentPageOpt_ = java.util.Collections.emptyList();
private void ensureIdContentPageOptIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
idContentPageOpt_ = new java.util.ArrayList(idContentPageOpt_);
bitField0_ |= 0x00000080;
}
}
/**
* repeated int64 idContentPageOpt = 8;
*/
public java.util.List
getIdContentPageOptList() {
return java.util.Collections.unmodifiableList(idContentPageOpt_);
}
/**
* repeated int64 idContentPageOpt = 8;
*/
public int getIdContentPageOptCount() {
return idContentPageOpt_.size();
}
/**
* repeated int64 idContentPageOpt = 8;
*/
public long getIdContentPageOpt(int index) {
return idContentPageOpt_.get(index);
}
/**
* repeated int64 idContentPageOpt = 8;
*/
public Builder setIdContentPageOpt(
int index, long value) {
ensureIdContentPageOptIsMutable();
idContentPageOpt_.set(index, value);
onChanged();
return this;
}
/**
* repeated int64 idContentPageOpt = 8;
*/
public Builder addIdContentPageOpt(long value) {
ensureIdContentPageOptIsMutable();
idContentPageOpt_.add(value);
onChanged();
return this;
}
/**
* repeated int64 idContentPageOpt = 8;
*/
public Builder addAllIdContentPageOpt(
java.lang.Iterable extends java.lang.Long> values) {
ensureIdContentPageOptIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, idContentPageOpt_);
onChanged();
return this;
}
/**
* repeated int64 idContentPageOpt = 8;
*/
public Builder clearIdContentPageOpt() {
idContentPageOpt_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
private long leafNbr_ ;
/**
* int64 leafNbr = 9;
*/
public long getLeafNbr() {
return leafNbr_;
}
/**
* int64 leafNbr = 9;
*/
public Builder setLeafNbr(long value) {
leafNbr_ = value;
onChanged();
return this;
}
/**
* int64 leafNbr = 9;
*/
public Builder clearLeafNbr() {
leafNbr_ = 0L;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfPage_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfPage_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfPage_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfPage_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfPage_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfPage_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfPage_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfPage_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PdfFont_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfFont_proto)
com.google.protobuf.MessageOrBuilder {
/**
* string refName = 1;
*/
java.lang.String getRefName();
/**
* string refName = 1;
*/
com.google.protobuf.ByteString
getRefNameBytes();
/**
* string fontKeyName = 2;
*/
java.lang.String getFontKeyName();
/**
* string fontKeyName = 2;
*/
com.google.protobuf.ByteString
getFontKeyNameBytes();
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
java.util.List
getFontEmbeddedDefList();
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto getFontEmbeddedDef(int index);
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
int getFontEmbeddedDefCount();
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
java.util.List extends com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_protoOrBuilder>
getFontEmbeddedDefOrBuilderList();
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_protoOrBuilder getFontEmbeddedDefOrBuilder(
int index);
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfFont_proto}
*/
public static final class PdfFont_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfFont_proto)
PdfFont_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfFont_proto.newBuilder() to construct.
private PdfFont_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfFont_proto() {
refName_ = "";
fontKeyName_ = "";
fontEmbeddedDef_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfFont_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
refName_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
fontKeyName_ = s;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
fontEmbeddedDef_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
fontEmbeddedDef_.add(
input.readMessage(com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.parser(), extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
fontEmbeddedDef_ = java.util.Collections.unmodifiableList(fontEmbeddedDef_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfFont_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfFont_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfFont_proto.class, com.sysalto.render.serialization.RenderProto.PdfFont_proto.Builder.class);
}
private int bitField0_;
public static final int REFNAME_FIELD_NUMBER = 1;
private volatile java.lang.Object refName_;
/**
* string refName = 1;
*/
public java.lang.String getRefName() {
java.lang.Object ref = refName_;
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();
refName_ = s;
return s;
}
}
/**
* string refName = 1;
*/
public com.google.protobuf.ByteString
getRefNameBytes() {
java.lang.Object ref = refName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
refName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FONTKEYNAME_FIELD_NUMBER = 2;
private volatile java.lang.Object fontKeyName_;
/**
* string fontKeyName = 2;
*/
public java.lang.String getFontKeyName() {
java.lang.Object ref = fontKeyName_;
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();
fontKeyName_ = s;
return s;
}
}
/**
* string fontKeyName = 2;
*/
public com.google.protobuf.ByteString
getFontKeyNameBytes() {
java.lang.Object ref = fontKeyName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fontKeyName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FONTEMBEDDEDDEF_FIELD_NUMBER = 3;
private java.util.List fontEmbeddedDef_;
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public java.util.List getFontEmbeddedDefList() {
return fontEmbeddedDef_;
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public java.util.List extends com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_protoOrBuilder>
getFontEmbeddedDefOrBuilderList() {
return fontEmbeddedDef_;
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public int getFontEmbeddedDefCount() {
return fontEmbeddedDef_.size();
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto getFontEmbeddedDef(int index) {
return fontEmbeddedDef_.get(index);
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_protoOrBuilder getFontEmbeddedDefOrBuilder(
int index) {
return fontEmbeddedDef_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getRefNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, refName_);
}
if (!getFontKeyNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fontKeyName_);
}
for (int i = 0; i < fontEmbeddedDef_.size(); i++) {
output.writeMessage(3, fontEmbeddedDef_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getRefNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, refName_);
}
if (!getFontKeyNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fontKeyName_);
}
for (int i = 0; i < fontEmbeddedDef_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, fontEmbeddedDef_.get(i));
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfFont_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfFont_proto other = (com.sysalto.render.serialization.RenderProto.PdfFont_proto) obj;
boolean result = true;
result = result && getRefName()
.equals(other.getRefName());
result = result && getFontKeyName()
.equals(other.getFontKeyName());
result = result && getFontEmbeddedDefList()
.equals(other.getFontEmbeddedDefList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + REFNAME_FIELD_NUMBER;
hash = (53 * hash) + getRefName().hashCode();
hash = (37 * hash) + FONTKEYNAME_FIELD_NUMBER;
hash = (53 * hash) + getFontKeyName().hashCode();
if (getFontEmbeddedDefCount() > 0) {
hash = (37 * hash) + FONTEMBEDDEDDEF_FIELD_NUMBER;
hash = (53 * hash) + getFontEmbeddedDefList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfFont_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfFont_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfFont_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfFont_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfFont_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfFont_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfFont_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfFont_proto 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.sysalto.render.serialization.RenderProto.PdfFont_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfFont_proto 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.sysalto.render.serialization.RenderProto.PdfFont_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfFont_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfFont_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfFont_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfFont_proto)
com.sysalto.render.serialization.RenderProto.PdfFont_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfFont_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfFont_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfFont_proto.class, com.sysalto.render.serialization.RenderProto.PdfFont_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfFont_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getFontEmbeddedDefFieldBuilder();
}
}
public Builder clear() {
super.clear();
refName_ = "";
fontKeyName_ = "";
if (fontEmbeddedDefBuilder_ == null) {
fontEmbeddedDef_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
fontEmbeddedDefBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfFont_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfFont_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfFont_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfFont_proto build() {
com.sysalto.render.serialization.RenderProto.PdfFont_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfFont_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfFont_proto result = new com.sysalto.render.serialization.RenderProto.PdfFont_proto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.refName_ = refName_;
result.fontKeyName_ = fontKeyName_;
if (fontEmbeddedDefBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
fontEmbeddedDef_ = java.util.Collections.unmodifiableList(fontEmbeddedDef_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.fontEmbeddedDef_ = fontEmbeddedDef_;
} else {
result.fontEmbeddedDef_ = fontEmbeddedDefBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfFont_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfFont_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfFont_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfFont_proto.getDefaultInstance()) return this;
if (!other.getRefName().isEmpty()) {
refName_ = other.refName_;
onChanged();
}
if (!other.getFontKeyName().isEmpty()) {
fontKeyName_ = other.fontKeyName_;
onChanged();
}
if (fontEmbeddedDefBuilder_ == null) {
if (!other.fontEmbeddedDef_.isEmpty()) {
if (fontEmbeddedDef_.isEmpty()) {
fontEmbeddedDef_ = other.fontEmbeddedDef_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureFontEmbeddedDefIsMutable();
fontEmbeddedDef_.addAll(other.fontEmbeddedDef_);
}
onChanged();
}
} else {
if (!other.fontEmbeddedDef_.isEmpty()) {
if (fontEmbeddedDefBuilder_.isEmpty()) {
fontEmbeddedDefBuilder_.dispose();
fontEmbeddedDefBuilder_ = null;
fontEmbeddedDef_ = other.fontEmbeddedDef_;
bitField0_ = (bitField0_ & ~0x00000004);
fontEmbeddedDefBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFontEmbeddedDefFieldBuilder() : null;
} else {
fontEmbeddedDefBuilder_.addAllMessages(other.fontEmbeddedDef_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfFont_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfFont_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object refName_ = "";
/**
* string refName = 1;
*/
public java.lang.String getRefName() {
java.lang.Object ref = refName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
refName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string refName = 1;
*/
public com.google.protobuf.ByteString
getRefNameBytes() {
java.lang.Object ref = refName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
refName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string refName = 1;
*/
public Builder setRefName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
refName_ = value;
onChanged();
return this;
}
/**
* string refName = 1;
*/
public Builder clearRefName() {
refName_ = getDefaultInstance().getRefName();
onChanged();
return this;
}
/**
* string refName = 1;
*/
public Builder setRefNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
refName_ = value;
onChanged();
return this;
}
private java.lang.Object fontKeyName_ = "";
/**
* string fontKeyName = 2;
*/
public java.lang.String getFontKeyName() {
java.lang.Object ref = fontKeyName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fontKeyName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string fontKeyName = 2;
*/
public com.google.protobuf.ByteString
getFontKeyNameBytes() {
java.lang.Object ref = fontKeyName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fontKeyName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string fontKeyName = 2;
*/
public Builder setFontKeyName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fontKeyName_ = value;
onChanged();
return this;
}
/**
* string fontKeyName = 2;
*/
public Builder clearFontKeyName() {
fontKeyName_ = getDefaultInstance().getFontKeyName();
onChanged();
return this;
}
/**
* string fontKeyName = 2;
*/
public Builder setFontKeyNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fontKeyName_ = value;
onChanged();
return this;
}
private java.util.List fontEmbeddedDef_ =
java.util.Collections.emptyList();
private void ensureFontEmbeddedDefIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
fontEmbeddedDef_ = new java.util.ArrayList(fontEmbeddedDef_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto, com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.Builder, com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_protoOrBuilder> fontEmbeddedDefBuilder_;
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public java.util.List getFontEmbeddedDefList() {
if (fontEmbeddedDefBuilder_ == null) {
return java.util.Collections.unmodifiableList(fontEmbeddedDef_);
} else {
return fontEmbeddedDefBuilder_.getMessageList();
}
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public int getFontEmbeddedDefCount() {
if (fontEmbeddedDefBuilder_ == null) {
return fontEmbeddedDef_.size();
} else {
return fontEmbeddedDefBuilder_.getCount();
}
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto getFontEmbeddedDef(int index) {
if (fontEmbeddedDefBuilder_ == null) {
return fontEmbeddedDef_.get(index);
} else {
return fontEmbeddedDefBuilder_.getMessage(index);
}
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public Builder setFontEmbeddedDef(
int index, com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto value) {
if (fontEmbeddedDefBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFontEmbeddedDefIsMutable();
fontEmbeddedDef_.set(index, value);
onChanged();
} else {
fontEmbeddedDefBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public Builder setFontEmbeddedDef(
int index, com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.Builder builderForValue) {
if (fontEmbeddedDefBuilder_ == null) {
ensureFontEmbeddedDefIsMutable();
fontEmbeddedDef_.set(index, builderForValue.build());
onChanged();
} else {
fontEmbeddedDefBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public Builder addFontEmbeddedDef(com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto value) {
if (fontEmbeddedDefBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFontEmbeddedDefIsMutable();
fontEmbeddedDef_.add(value);
onChanged();
} else {
fontEmbeddedDefBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public Builder addFontEmbeddedDef(
int index, com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto value) {
if (fontEmbeddedDefBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFontEmbeddedDefIsMutable();
fontEmbeddedDef_.add(index, value);
onChanged();
} else {
fontEmbeddedDefBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public Builder addFontEmbeddedDef(
com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.Builder builderForValue) {
if (fontEmbeddedDefBuilder_ == null) {
ensureFontEmbeddedDefIsMutable();
fontEmbeddedDef_.add(builderForValue.build());
onChanged();
} else {
fontEmbeddedDefBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public Builder addFontEmbeddedDef(
int index, com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.Builder builderForValue) {
if (fontEmbeddedDefBuilder_ == null) {
ensureFontEmbeddedDefIsMutable();
fontEmbeddedDef_.add(index, builderForValue.build());
onChanged();
} else {
fontEmbeddedDefBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public Builder addAllFontEmbeddedDef(
java.lang.Iterable extends com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto> values) {
if (fontEmbeddedDefBuilder_ == null) {
ensureFontEmbeddedDefIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, fontEmbeddedDef_);
onChanged();
} else {
fontEmbeddedDefBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public Builder clearFontEmbeddedDef() {
if (fontEmbeddedDefBuilder_ == null) {
fontEmbeddedDef_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
fontEmbeddedDefBuilder_.clear();
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public Builder removeFontEmbeddedDef(int index) {
if (fontEmbeddedDefBuilder_ == null) {
ensureFontEmbeddedDefIsMutable();
fontEmbeddedDef_.remove(index);
onChanged();
} else {
fontEmbeddedDefBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.Builder getFontEmbeddedDefBuilder(
int index) {
return getFontEmbeddedDefFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_protoOrBuilder getFontEmbeddedDefOrBuilder(
int index) {
if (fontEmbeddedDefBuilder_ == null) {
return fontEmbeddedDef_.get(index); } else {
return fontEmbeddedDefBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public java.util.List extends com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_protoOrBuilder>
getFontEmbeddedDefOrBuilderList() {
if (fontEmbeddedDefBuilder_ != null) {
return fontEmbeddedDefBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(fontEmbeddedDef_);
}
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.Builder addFontEmbeddedDefBuilder() {
return getFontEmbeddedDefFieldBuilder().addBuilder(
com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.getDefaultInstance());
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.Builder addFontEmbeddedDefBuilder(
int index) {
return getFontEmbeddedDefFieldBuilder().addBuilder(
index, com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.getDefaultInstance());
}
/**
* repeated .com.sysalto.render.serialization.FontEmbeddedDef_proto fontEmbeddedDef = 3;
*/
public java.util.List
getFontEmbeddedDefBuilderList() {
return getFontEmbeddedDefFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto, com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.Builder, com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_protoOrBuilder>
getFontEmbeddedDefFieldBuilder() {
if (fontEmbeddedDefBuilder_ == null) {
fontEmbeddedDefBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto, com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.Builder, com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_protoOrBuilder>(
fontEmbeddedDef_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
fontEmbeddedDef_ = null;
}
return fontEmbeddedDefBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfFont_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfFont_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfFont_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfFont_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfFont_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfFont_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfFont_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfFont_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FontEmbeddedDef_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.FontEmbeddedDef_proto)
com.google.protobuf.MessageOrBuilder {
/**
* int64 idPdfFontDescriptor = 1;
*/
long getIdPdfFontDescriptor();
/**
* int64 idPdfFontStream = 2;
*/
long getIdPdfFontStream();
}
/**
* Protobuf type {@code com.sysalto.render.serialization.FontEmbeddedDef_proto}
*/
public static final class FontEmbeddedDef_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.FontEmbeddedDef_proto)
FontEmbeddedDef_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use FontEmbeddedDef_proto.newBuilder() to construct.
private FontEmbeddedDef_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FontEmbeddedDef_proto() {
idPdfFontDescriptor_ = 0L;
idPdfFontStream_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FontEmbeddedDef_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
idPdfFontDescriptor_ = input.readInt64();
break;
}
case 16: {
idPdfFontStream_ = input.readInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_FontEmbeddedDef_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_FontEmbeddedDef_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.class, com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.Builder.class);
}
public static final int IDPDFFONTDESCRIPTOR_FIELD_NUMBER = 1;
private long idPdfFontDescriptor_;
/**
* int64 idPdfFontDescriptor = 1;
*/
public long getIdPdfFontDescriptor() {
return idPdfFontDescriptor_;
}
public static final int IDPDFFONTSTREAM_FIELD_NUMBER = 2;
private long idPdfFontStream_;
/**
* int64 idPdfFontStream = 2;
*/
public long getIdPdfFontStream() {
return idPdfFontStream_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (idPdfFontDescriptor_ != 0L) {
output.writeInt64(1, idPdfFontDescriptor_);
}
if (idPdfFontStream_ != 0L) {
output.writeInt64(2, idPdfFontStream_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (idPdfFontDescriptor_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, idPdfFontDescriptor_);
}
if (idPdfFontStream_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, idPdfFontStream_);
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto other = (com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto) obj;
boolean result = true;
result = result && (getIdPdfFontDescriptor()
== other.getIdPdfFontDescriptor());
result = result && (getIdPdfFontStream()
== other.getIdPdfFontStream());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + IDPDFFONTDESCRIPTOR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIdPdfFontDescriptor());
hash = (37 * hash) + IDPDFFONTSTREAM_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIdPdfFontStream());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto 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.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto 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.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.FontEmbeddedDef_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.FontEmbeddedDef_proto)
com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_FontEmbeddedDef_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_FontEmbeddedDef_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.class, com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
idPdfFontDescriptor_ = 0L;
idPdfFontStream_ = 0L;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_FontEmbeddedDef_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto build() {
com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto result = new com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto(this);
result.idPdfFontDescriptor_ = idPdfFontDescriptor_;
result.idPdfFontStream_ = idPdfFontStream_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto.getDefaultInstance()) return this;
if (other.getIdPdfFontDescriptor() != 0L) {
setIdPdfFontDescriptor(other.getIdPdfFontDescriptor());
}
if (other.getIdPdfFontStream() != 0L) {
setIdPdfFontStream(other.getIdPdfFontStream());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long idPdfFontDescriptor_ ;
/**
* int64 idPdfFontDescriptor = 1;
*/
public long getIdPdfFontDescriptor() {
return idPdfFontDescriptor_;
}
/**
* int64 idPdfFontDescriptor = 1;
*/
public Builder setIdPdfFontDescriptor(long value) {
idPdfFontDescriptor_ = value;
onChanged();
return this;
}
/**
* int64 idPdfFontDescriptor = 1;
*/
public Builder clearIdPdfFontDescriptor() {
idPdfFontDescriptor_ = 0L;
onChanged();
return this;
}
private long idPdfFontStream_ ;
/**
* int64 idPdfFontStream = 2;
*/
public long getIdPdfFontStream() {
return idPdfFontStream_;
}
/**
* int64 idPdfFontStream = 2;
*/
public Builder setIdPdfFontStream(long value) {
idPdfFontStream_ = value;
onChanged();
return this;
}
/**
* int64 idPdfFontStream = 2;
*/
public Builder clearIdPdfFontStream() {
idPdfFontStream_ = 0L;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.FontEmbeddedDef_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.FontEmbeddedDef_proto)
private static final com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto();
}
public static com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public FontEmbeddedDef_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FontEmbeddedDef_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.FontEmbeddedDef_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PdfPageItem_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfPageItem_proto)
com.google.protobuf.MessageOrBuilder {
/**
* .com.sysalto.render.serialization.PdfText_proto pdfText_proto = 1;
*/
boolean hasPdfTextProto();
/**
* .com.sysalto.render.serialization.PdfText_proto pdfText_proto = 1;
*/
com.sysalto.render.serialization.RenderProto.PdfText_proto getPdfTextProto();
/**
* .com.sysalto.render.serialization.PdfText_proto pdfText_proto = 1;
*/
com.sysalto.render.serialization.RenderProto.PdfText_protoOrBuilder getPdfTextProtoOrBuilder();
/**
* .com.sysalto.render.serialization.PdfGraphic_proto pdfGraphic_proto = 2;
*/
boolean hasPdfGraphicProto();
/**
* .com.sysalto.render.serialization.PdfGraphic_proto pdfGraphic_proto = 2;
*/
com.sysalto.render.serialization.RenderProto.PdfGraphic_proto getPdfGraphicProto();
/**
* .com.sysalto.render.serialization.PdfGraphic_proto pdfGraphic_proto = 2;
*/
com.sysalto.render.serialization.RenderProto.PdfGraphic_protoOrBuilder getPdfGraphicProtoOrBuilder();
public com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.FieldItemCase getFieldItemCase();
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfPageItem_proto}
*/
public static final class PdfPageItem_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfPageItem_proto)
PdfPageItem_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfPageItem_proto.newBuilder() to construct.
private PdfPageItem_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfPageItem_proto() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfPageItem_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.sysalto.render.serialization.RenderProto.PdfText_proto.Builder subBuilder = null;
if (fieldItemCase_ == 1) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfText_proto) fieldItem_).toBuilder();
}
fieldItem_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfText_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfText_proto) fieldItem_);
fieldItem_ = subBuilder.buildPartial();
}
fieldItemCase_ = 1;
break;
}
case 18: {
com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.Builder subBuilder = null;
if (fieldItemCase_ == 2) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfGraphic_proto) fieldItem_).toBuilder();
}
fieldItem_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfGraphic_proto) fieldItem_);
fieldItem_ = subBuilder.buildPartial();
}
fieldItemCase_ = 2;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPageItem_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPageItem_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.class, com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.Builder.class);
}
private int fieldItemCase_ = 0;
private java.lang.Object fieldItem_;
public enum FieldItemCase
implements com.google.protobuf.Internal.EnumLite {
PDFTEXT_PROTO(1),
PDFGRAPHIC_PROTO(2),
FIELDITEM_NOT_SET(0);
private final int value;
private FieldItemCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static FieldItemCase valueOf(int value) {
return forNumber(value);
}
public static FieldItemCase forNumber(int value) {
switch (value) {
case 1: return PDFTEXT_PROTO;
case 2: return PDFGRAPHIC_PROTO;
case 0: return FIELDITEM_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public FieldItemCase
getFieldItemCase() {
return FieldItemCase.forNumber(
fieldItemCase_);
}
public static final int PDFTEXT_PROTO_FIELD_NUMBER = 1;
/**
* .com.sysalto.render.serialization.PdfText_proto pdfText_proto = 1;
*/
public boolean hasPdfTextProto() {
return fieldItemCase_ == 1;
}
/**
* .com.sysalto.render.serialization.PdfText_proto pdfText_proto = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfText_proto getPdfTextProto() {
if (fieldItemCase_ == 1) {
return (com.sysalto.render.serialization.RenderProto.PdfText_proto) fieldItem_;
}
return com.sysalto.render.serialization.RenderProto.PdfText_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfText_proto pdfText_proto = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfText_protoOrBuilder getPdfTextProtoOrBuilder() {
if (fieldItemCase_ == 1) {
return (com.sysalto.render.serialization.RenderProto.PdfText_proto) fieldItem_;
}
return com.sysalto.render.serialization.RenderProto.PdfText_proto.getDefaultInstance();
}
public static final int PDFGRAPHIC_PROTO_FIELD_NUMBER = 2;
/**
* .com.sysalto.render.serialization.PdfGraphic_proto pdfGraphic_proto = 2;
*/
public boolean hasPdfGraphicProto() {
return fieldItemCase_ == 2;
}
/**
* .com.sysalto.render.serialization.PdfGraphic_proto pdfGraphic_proto = 2;
*/
public com.sysalto.render.serialization.RenderProto.PdfGraphic_proto getPdfGraphicProto() {
if (fieldItemCase_ == 2) {
return (com.sysalto.render.serialization.RenderProto.PdfGraphic_proto) fieldItem_;
}
return com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfGraphic_proto pdfGraphic_proto = 2;
*/
public com.sysalto.render.serialization.RenderProto.PdfGraphic_protoOrBuilder getPdfGraphicProtoOrBuilder() {
if (fieldItemCase_ == 2) {
return (com.sysalto.render.serialization.RenderProto.PdfGraphic_proto) fieldItem_;
}
return com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (fieldItemCase_ == 1) {
output.writeMessage(1, (com.sysalto.render.serialization.RenderProto.PdfText_proto) fieldItem_);
}
if (fieldItemCase_ == 2) {
output.writeMessage(2, (com.sysalto.render.serialization.RenderProto.PdfGraphic_proto) fieldItem_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (fieldItemCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (com.sysalto.render.serialization.RenderProto.PdfText_proto) fieldItem_);
}
if (fieldItemCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (com.sysalto.render.serialization.RenderProto.PdfGraphic_proto) fieldItem_);
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfPageItem_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfPageItem_proto other = (com.sysalto.render.serialization.RenderProto.PdfPageItem_proto) obj;
boolean result = true;
result = result && getFieldItemCase().equals(
other.getFieldItemCase());
if (!result) return false;
switch (fieldItemCase_) {
case 1:
result = result && getPdfTextProto()
.equals(other.getPdfTextProto());
break;
case 2:
result = result && getPdfGraphicProto()
.equals(other.getPdfGraphicProto());
break;
case 0:
default:
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (fieldItemCase_) {
case 1:
hash = (37 * hash) + PDFTEXT_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfTextProto().hashCode();
break;
case 2:
hash = (37 * hash) + PDFGRAPHIC_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfGraphicProto().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfPageItem_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageItem_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageItem_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageItem_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageItem_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageItem_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageItem_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageItem_proto 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.sysalto.render.serialization.RenderProto.PdfPageItem_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageItem_proto 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.sysalto.render.serialization.RenderProto.PdfPageItem_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageItem_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfPageItem_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfPageItem_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfPageItem_proto)
com.sysalto.render.serialization.RenderProto.PdfPageItem_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPageItem_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPageItem_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.class, com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
fieldItemCase_ = 0;
fieldItem_ = null;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPageItem_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfPageItem_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfPageItem_proto build() {
com.sysalto.render.serialization.RenderProto.PdfPageItem_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfPageItem_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfPageItem_proto result = new com.sysalto.render.serialization.RenderProto.PdfPageItem_proto(this);
if (fieldItemCase_ == 1) {
if (pdfTextProtoBuilder_ == null) {
result.fieldItem_ = fieldItem_;
} else {
result.fieldItem_ = pdfTextProtoBuilder_.build();
}
}
if (fieldItemCase_ == 2) {
if (pdfGraphicProtoBuilder_ == null) {
result.fieldItem_ = fieldItem_;
} else {
result.fieldItem_ = pdfGraphicProtoBuilder_.build();
}
}
result.fieldItemCase_ = fieldItemCase_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfPageItem_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfPageItem_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfPageItem_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.getDefaultInstance()) return this;
switch (other.getFieldItemCase()) {
case PDFTEXT_PROTO: {
mergePdfTextProto(other.getPdfTextProto());
break;
}
case PDFGRAPHIC_PROTO: {
mergePdfGraphicProto(other.getPdfGraphicProto());
break;
}
case FIELDITEM_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfPageItem_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfPageItem_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int fieldItemCase_ = 0;
private java.lang.Object fieldItem_;
public FieldItemCase
getFieldItemCase() {
return FieldItemCase.forNumber(
fieldItemCase_);
}
public Builder clearFieldItem() {
fieldItemCase_ = 0;
fieldItem_ = null;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfText_proto, com.sysalto.render.serialization.RenderProto.PdfText_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfText_protoOrBuilder> pdfTextProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfText_proto pdfText_proto = 1;
*/
public boolean hasPdfTextProto() {
return fieldItemCase_ == 1;
}
/**
* .com.sysalto.render.serialization.PdfText_proto pdfText_proto = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfText_proto getPdfTextProto() {
if (pdfTextProtoBuilder_ == null) {
if (fieldItemCase_ == 1) {
return (com.sysalto.render.serialization.RenderProto.PdfText_proto) fieldItem_;
}
return com.sysalto.render.serialization.RenderProto.PdfText_proto.getDefaultInstance();
} else {
if (fieldItemCase_ == 1) {
return pdfTextProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfText_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfText_proto pdfText_proto = 1;
*/
public Builder setPdfTextProto(com.sysalto.render.serialization.RenderProto.PdfText_proto value) {
if (pdfTextProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fieldItem_ = value;
onChanged();
} else {
pdfTextProtoBuilder_.setMessage(value);
}
fieldItemCase_ = 1;
return this;
}
/**
* .com.sysalto.render.serialization.PdfText_proto pdfText_proto = 1;
*/
public Builder setPdfTextProto(
com.sysalto.render.serialization.RenderProto.PdfText_proto.Builder builderForValue) {
if (pdfTextProtoBuilder_ == null) {
fieldItem_ = builderForValue.build();
onChanged();
} else {
pdfTextProtoBuilder_.setMessage(builderForValue.build());
}
fieldItemCase_ = 1;
return this;
}
/**
* .com.sysalto.render.serialization.PdfText_proto pdfText_proto = 1;
*/
public Builder mergePdfTextProto(com.sysalto.render.serialization.RenderProto.PdfText_proto value) {
if (pdfTextProtoBuilder_ == null) {
if (fieldItemCase_ == 1 &&
fieldItem_ != com.sysalto.render.serialization.RenderProto.PdfText_proto.getDefaultInstance()) {
fieldItem_ = com.sysalto.render.serialization.RenderProto.PdfText_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfText_proto) fieldItem_)
.mergeFrom(value).buildPartial();
} else {
fieldItem_ = value;
}
onChanged();
} else {
if (fieldItemCase_ == 1) {
pdfTextProtoBuilder_.mergeFrom(value);
}
pdfTextProtoBuilder_.setMessage(value);
}
fieldItemCase_ = 1;
return this;
}
/**
* .com.sysalto.render.serialization.PdfText_proto pdfText_proto = 1;
*/
public Builder clearPdfTextProto() {
if (pdfTextProtoBuilder_ == null) {
if (fieldItemCase_ == 1) {
fieldItemCase_ = 0;
fieldItem_ = null;
onChanged();
}
} else {
if (fieldItemCase_ == 1) {
fieldItemCase_ = 0;
fieldItem_ = null;
}
pdfTextProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfText_proto pdfText_proto = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfText_proto.Builder getPdfTextProtoBuilder() {
return getPdfTextProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfText_proto pdfText_proto = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfText_protoOrBuilder getPdfTextProtoOrBuilder() {
if ((fieldItemCase_ == 1) && (pdfTextProtoBuilder_ != null)) {
return pdfTextProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldItemCase_ == 1) {
return (com.sysalto.render.serialization.RenderProto.PdfText_proto) fieldItem_;
}
return com.sysalto.render.serialization.RenderProto.PdfText_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfText_proto pdfText_proto = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfText_proto, com.sysalto.render.serialization.RenderProto.PdfText_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfText_protoOrBuilder>
getPdfTextProtoFieldBuilder() {
if (pdfTextProtoBuilder_ == null) {
if (!(fieldItemCase_ == 1)) {
fieldItem_ = com.sysalto.render.serialization.RenderProto.PdfText_proto.getDefaultInstance();
}
pdfTextProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfText_proto, com.sysalto.render.serialization.RenderProto.PdfText_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfText_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfText_proto) fieldItem_,
getParentForChildren(),
isClean());
fieldItem_ = null;
}
fieldItemCase_ = 1;
onChanged();;
return pdfTextProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfGraphic_proto, com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfGraphic_protoOrBuilder> pdfGraphicProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfGraphic_proto pdfGraphic_proto = 2;
*/
public boolean hasPdfGraphicProto() {
return fieldItemCase_ == 2;
}
/**
* .com.sysalto.render.serialization.PdfGraphic_proto pdfGraphic_proto = 2;
*/
public com.sysalto.render.serialization.RenderProto.PdfGraphic_proto getPdfGraphicProto() {
if (pdfGraphicProtoBuilder_ == null) {
if (fieldItemCase_ == 2) {
return (com.sysalto.render.serialization.RenderProto.PdfGraphic_proto) fieldItem_;
}
return com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.getDefaultInstance();
} else {
if (fieldItemCase_ == 2) {
return pdfGraphicProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfGraphic_proto pdfGraphic_proto = 2;
*/
public Builder setPdfGraphicProto(com.sysalto.render.serialization.RenderProto.PdfGraphic_proto value) {
if (pdfGraphicProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fieldItem_ = value;
onChanged();
} else {
pdfGraphicProtoBuilder_.setMessage(value);
}
fieldItemCase_ = 2;
return this;
}
/**
* .com.sysalto.render.serialization.PdfGraphic_proto pdfGraphic_proto = 2;
*/
public Builder setPdfGraphicProto(
com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.Builder builderForValue) {
if (pdfGraphicProtoBuilder_ == null) {
fieldItem_ = builderForValue.build();
onChanged();
} else {
pdfGraphicProtoBuilder_.setMessage(builderForValue.build());
}
fieldItemCase_ = 2;
return this;
}
/**
* .com.sysalto.render.serialization.PdfGraphic_proto pdfGraphic_proto = 2;
*/
public Builder mergePdfGraphicProto(com.sysalto.render.serialization.RenderProto.PdfGraphic_proto value) {
if (pdfGraphicProtoBuilder_ == null) {
if (fieldItemCase_ == 2 &&
fieldItem_ != com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.getDefaultInstance()) {
fieldItem_ = com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfGraphic_proto) fieldItem_)
.mergeFrom(value).buildPartial();
} else {
fieldItem_ = value;
}
onChanged();
} else {
if (fieldItemCase_ == 2) {
pdfGraphicProtoBuilder_.mergeFrom(value);
}
pdfGraphicProtoBuilder_.setMessage(value);
}
fieldItemCase_ = 2;
return this;
}
/**
* .com.sysalto.render.serialization.PdfGraphic_proto pdfGraphic_proto = 2;
*/
public Builder clearPdfGraphicProto() {
if (pdfGraphicProtoBuilder_ == null) {
if (fieldItemCase_ == 2) {
fieldItemCase_ = 0;
fieldItem_ = null;
onChanged();
}
} else {
if (fieldItemCase_ == 2) {
fieldItemCase_ = 0;
fieldItem_ = null;
}
pdfGraphicProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfGraphic_proto pdfGraphic_proto = 2;
*/
public com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.Builder getPdfGraphicProtoBuilder() {
return getPdfGraphicProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfGraphic_proto pdfGraphic_proto = 2;
*/
public com.sysalto.render.serialization.RenderProto.PdfGraphic_protoOrBuilder getPdfGraphicProtoOrBuilder() {
if ((fieldItemCase_ == 2) && (pdfGraphicProtoBuilder_ != null)) {
return pdfGraphicProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldItemCase_ == 2) {
return (com.sysalto.render.serialization.RenderProto.PdfGraphic_proto) fieldItem_;
}
return com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfGraphic_proto pdfGraphic_proto = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfGraphic_proto, com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfGraphic_protoOrBuilder>
getPdfGraphicProtoFieldBuilder() {
if (pdfGraphicProtoBuilder_ == null) {
if (!(fieldItemCase_ == 2)) {
fieldItem_ = com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.getDefaultInstance();
}
pdfGraphicProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfGraphic_proto, com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfGraphic_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfGraphic_proto) fieldItem_,
getParentForChildren(),
isClean());
fieldItem_ = null;
}
fieldItemCase_ = 2;
onChanged();;
return pdfGraphicProtoBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfPageItem_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfPageItem_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfPageItem_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfPageItem_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfPageItem_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfPageItem_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfPageItem_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfPageItem_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PdfGraphic_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfGraphic_proto)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
java.util.List
getPdfGraphicFragmentProtoList();
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto getPdfGraphicFragmentProto(int index);
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
int getPdfGraphicFragmentProtoCount();
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
java.util.List extends com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_protoOrBuilder>
getPdfGraphicFragmentProtoOrBuilderList();
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_protoOrBuilder getPdfGraphicFragmentProtoOrBuilder(
int index);
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfGraphic_proto}
*/
public static final class PdfGraphic_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfGraphic_proto)
PdfGraphic_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfGraphic_proto.newBuilder() to construct.
private PdfGraphic_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfGraphic_proto() {
pdfGraphicFragmentProto_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfGraphic_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
pdfGraphicFragmentProto_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
pdfGraphicFragmentProto_.add(
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.parser(), extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
pdfGraphicFragmentProto_ = java.util.Collections.unmodifiableList(pdfGraphicFragmentProto_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfGraphic_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfGraphic_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.class, com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.Builder.class);
}
public static final int PDFGRAPHICFRAGMENT_PROTO_FIELD_NUMBER = 1;
private java.util.List pdfGraphicFragmentProto_;
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public java.util.List getPdfGraphicFragmentProtoList() {
return pdfGraphicFragmentProto_;
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public java.util.List extends com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_protoOrBuilder>
getPdfGraphicFragmentProtoOrBuilderList() {
return pdfGraphicFragmentProto_;
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public int getPdfGraphicFragmentProtoCount() {
return pdfGraphicFragmentProto_.size();
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto getPdfGraphicFragmentProto(int index) {
return pdfGraphicFragmentProto_.get(index);
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_protoOrBuilder getPdfGraphicFragmentProtoOrBuilder(
int index) {
return pdfGraphicFragmentProto_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < pdfGraphicFragmentProto_.size(); i++) {
output.writeMessage(1, pdfGraphicFragmentProto_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < pdfGraphicFragmentProto_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, pdfGraphicFragmentProto_.get(i));
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfGraphic_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfGraphic_proto other = (com.sysalto.render.serialization.RenderProto.PdfGraphic_proto) obj;
boolean result = true;
result = result && getPdfGraphicFragmentProtoList()
.equals(other.getPdfGraphicFragmentProtoList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getPdfGraphicFragmentProtoCount() > 0) {
hash = (37 * hash) + PDFGRAPHICFRAGMENT_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfGraphicFragmentProtoList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphic_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphic_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphic_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphic_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphic_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphic_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphic_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphic_proto 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.sysalto.render.serialization.RenderProto.PdfGraphic_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphic_proto 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.sysalto.render.serialization.RenderProto.PdfGraphic_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphic_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfGraphic_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfGraphic_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfGraphic_proto)
com.sysalto.render.serialization.RenderProto.PdfGraphic_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfGraphic_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfGraphic_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.class, com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getPdfGraphicFragmentProtoFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (pdfGraphicFragmentProtoBuilder_ == null) {
pdfGraphicFragmentProto_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
pdfGraphicFragmentProtoBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfGraphic_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfGraphic_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfGraphic_proto build() {
com.sysalto.render.serialization.RenderProto.PdfGraphic_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfGraphic_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfGraphic_proto result = new com.sysalto.render.serialization.RenderProto.PdfGraphic_proto(this);
int from_bitField0_ = bitField0_;
if (pdfGraphicFragmentProtoBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
pdfGraphicFragmentProto_ = java.util.Collections.unmodifiableList(pdfGraphicFragmentProto_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.pdfGraphicFragmentProto_ = pdfGraphicFragmentProto_;
} else {
result.pdfGraphicFragmentProto_ = pdfGraphicFragmentProtoBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfGraphic_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfGraphic_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfGraphic_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfGraphic_proto.getDefaultInstance()) return this;
if (pdfGraphicFragmentProtoBuilder_ == null) {
if (!other.pdfGraphicFragmentProto_.isEmpty()) {
if (pdfGraphicFragmentProto_.isEmpty()) {
pdfGraphicFragmentProto_ = other.pdfGraphicFragmentProto_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePdfGraphicFragmentProtoIsMutable();
pdfGraphicFragmentProto_.addAll(other.pdfGraphicFragmentProto_);
}
onChanged();
}
} else {
if (!other.pdfGraphicFragmentProto_.isEmpty()) {
if (pdfGraphicFragmentProtoBuilder_.isEmpty()) {
pdfGraphicFragmentProtoBuilder_.dispose();
pdfGraphicFragmentProtoBuilder_ = null;
pdfGraphicFragmentProto_ = other.pdfGraphicFragmentProto_;
bitField0_ = (bitField0_ & ~0x00000001);
pdfGraphicFragmentProtoBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPdfGraphicFragmentProtoFieldBuilder() : null;
} else {
pdfGraphicFragmentProtoBuilder_.addAllMessages(other.pdfGraphicFragmentProto_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfGraphic_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfGraphic_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List pdfGraphicFragmentProto_ =
java.util.Collections.emptyList();
private void ensurePdfGraphicFragmentProtoIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
pdfGraphicFragmentProto_ = new java.util.ArrayList(pdfGraphicFragmentProto_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto, com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_protoOrBuilder> pdfGraphicFragmentProtoBuilder_;
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public java.util.List getPdfGraphicFragmentProtoList() {
if (pdfGraphicFragmentProtoBuilder_ == null) {
return java.util.Collections.unmodifiableList(pdfGraphicFragmentProto_);
} else {
return pdfGraphicFragmentProtoBuilder_.getMessageList();
}
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public int getPdfGraphicFragmentProtoCount() {
if (pdfGraphicFragmentProtoBuilder_ == null) {
return pdfGraphicFragmentProto_.size();
} else {
return pdfGraphicFragmentProtoBuilder_.getCount();
}
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto getPdfGraphicFragmentProto(int index) {
if (pdfGraphicFragmentProtoBuilder_ == null) {
return pdfGraphicFragmentProto_.get(index);
} else {
return pdfGraphicFragmentProtoBuilder_.getMessage(index);
}
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public Builder setPdfGraphicFragmentProto(
int index, com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto value) {
if (pdfGraphicFragmentProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePdfGraphicFragmentProtoIsMutable();
pdfGraphicFragmentProto_.set(index, value);
onChanged();
} else {
pdfGraphicFragmentProtoBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public Builder setPdfGraphicFragmentProto(
int index, com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.Builder builderForValue) {
if (pdfGraphicFragmentProtoBuilder_ == null) {
ensurePdfGraphicFragmentProtoIsMutable();
pdfGraphicFragmentProto_.set(index, builderForValue.build());
onChanged();
} else {
pdfGraphicFragmentProtoBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public Builder addPdfGraphicFragmentProto(com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto value) {
if (pdfGraphicFragmentProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePdfGraphicFragmentProtoIsMutable();
pdfGraphicFragmentProto_.add(value);
onChanged();
} else {
pdfGraphicFragmentProtoBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public Builder addPdfGraphicFragmentProto(
int index, com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto value) {
if (pdfGraphicFragmentProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePdfGraphicFragmentProtoIsMutable();
pdfGraphicFragmentProto_.add(index, value);
onChanged();
} else {
pdfGraphicFragmentProtoBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public Builder addPdfGraphicFragmentProto(
com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.Builder builderForValue) {
if (pdfGraphicFragmentProtoBuilder_ == null) {
ensurePdfGraphicFragmentProtoIsMutable();
pdfGraphicFragmentProto_.add(builderForValue.build());
onChanged();
} else {
pdfGraphicFragmentProtoBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public Builder addPdfGraphicFragmentProto(
int index, com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.Builder builderForValue) {
if (pdfGraphicFragmentProtoBuilder_ == null) {
ensurePdfGraphicFragmentProtoIsMutable();
pdfGraphicFragmentProto_.add(index, builderForValue.build());
onChanged();
} else {
pdfGraphicFragmentProtoBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public Builder addAllPdfGraphicFragmentProto(
java.lang.Iterable extends com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto> values) {
if (pdfGraphicFragmentProtoBuilder_ == null) {
ensurePdfGraphicFragmentProtoIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, pdfGraphicFragmentProto_);
onChanged();
} else {
pdfGraphicFragmentProtoBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public Builder clearPdfGraphicFragmentProto() {
if (pdfGraphicFragmentProtoBuilder_ == null) {
pdfGraphicFragmentProto_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
pdfGraphicFragmentProtoBuilder_.clear();
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public Builder removePdfGraphicFragmentProto(int index) {
if (pdfGraphicFragmentProtoBuilder_ == null) {
ensurePdfGraphicFragmentProtoIsMutable();
pdfGraphicFragmentProto_.remove(index);
onChanged();
} else {
pdfGraphicFragmentProtoBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.Builder getPdfGraphicFragmentProtoBuilder(
int index) {
return getPdfGraphicFragmentProtoFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_protoOrBuilder getPdfGraphicFragmentProtoOrBuilder(
int index) {
if (pdfGraphicFragmentProtoBuilder_ == null) {
return pdfGraphicFragmentProto_.get(index); } else {
return pdfGraphicFragmentProtoBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public java.util.List extends com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_protoOrBuilder>
getPdfGraphicFragmentProtoOrBuilderList() {
if (pdfGraphicFragmentProtoBuilder_ != null) {
return pdfGraphicFragmentProtoBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(pdfGraphicFragmentProto_);
}
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.Builder addPdfGraphicFragmentProtoBuilder() {
return getPdfGraphicFragmentProtoFieldBuilder().addBuilder(
com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.getDefaultInstance());
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.Builder addPdfGraphicFragmentProtoBuilder(
int index) {
return getPdfGraphicFragmentProtoFieldBuilder().addBuilder(
index, com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.getDefaultInstance());
}
/**
* repeated .com.sysalto.render.serialization.PdfGraphicFragment_proto pdfGraphicFragment_proto = 1;
*/
public java.util.List
getPdfGraphicFragmentProtoBuilderList() {
return getPdfGraphicFragmentProtoFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto, com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_protoOrBuilder>
getPdfGraphicFragmentProtoFieldBuilder() {
if (pdfGraphicFragmentProtoBuilder_ == null) {
pdfGraphicFragmentProtoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto, com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_protoOrBuilder>(
pdfGraphicFragmentProto_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
pdfGraphicFragmentProto_ = null;
}
return pdfGraphicFragmentProtoBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfGraphic_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfGraphic_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfGraphic_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfGraphic_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphic_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfGraphic_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfGraphic_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfGraphic_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PdfTxtFragment_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfTxtFragment_proto)
com.google.protobuf.MessageOrBuilder {
/**
* float x = 1;
*/
float getX();
/**
* float y = 2;
*/
float getY();
/**
* .com.sysalto.report.serialization.common.ReportTxt_proto rtext_proto = 3;
*/
boolean hasRtextProto();
/**
* .com.sysalto.report.serialization.common.ReportTxt_proto rtext_proto = 3;
*/
com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto getRtextProto();
/**
* .com.sysalto.report.serialization.common.ReportTxt_proto rtext_proto = 3;
*/
com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_protoOrBuilder getRtextProtoOrBuilder();
/**
* string fonttRefName = 4;
*/
java.lang.String getFonttRefName();
/**
* string fonttRefName = 4;
*/
com.google.protobuf.ByteString
getFonttRefNameBytes();
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfTxtFragment_proto}
*/
public static final class PdfTxtFragment_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfTxtFragment_proto)
PdfTxtFragment_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfTxtFragment_proto.newBuilder() to construct.
private PdfTxtFragment_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfTxtFragment_proto() {
x_ = 0F;
y_ = 0F;
fonttRefName_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfTxtFragment_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 13: {
x_ = input.readFloat();
break;
}
case 21: {
y_ = input.readFloat();
break;
}
case 26: {
com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto.Builder subBuilder = null;
if (rtextProto_ != null) {
subBuilder = rtextProto_.toBuilder();
}
rtextProto_ = input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(rtextProto_);
rtextProto_ = subBuilder.buildPartial();
}
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
fonttRefName_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfTxtFragment_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfTxtFragment_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.class, com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.Builder.class);
}
public static final int X_FIELD_NUMBER = 1;
private float x_;
/**
* float x = 1;
*/
public float getX() {
return x_;
}
public static final int Y_FIELD_NUMBER = 2;
private float y_;
/**
* float y = 2;
*/
public float getY() {
return y_;
}
public static final int RTEXT_PROTO_FIELD_NUMBER = 3;
private com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto rtextProto_;
/**
* .com.sysalto.report.serialization.common.ReportTxt_proto rtext_proto = 3;
*/
public boolean hasRtextProto() {
return rtextProto_ != null;
}
/**
* .com.sysalto.report.serialization.common.ReportTxt_proto rtext_proto = 3;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto getRtextProto() {
return rtextProto_ == null ? com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto.getDefaultInstance() : rtextProto_;
}
/**
* .com.sysalto.report.serialization.common.ReportTxt_proto rtext_proto = 3;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_protoOrBuilder getRtextProtoOrBuilder() {
return getRtextProto();
}
public static final int FONTTREFNAME_FIELD_NUMBER = 4;
private volatile java.lang.Object fonttRefName_;
/**
* string fonttRefName = 4;
*/
public java.lang.String getFonttRefName() {
java.lang.Object ref = fonttRefName_;
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();
fonttRefName_ = s;
return s;
}
}
/**
* string fonttRefName = 4;
*/
public com.google.protobuf.ByteString
getFonttRefNameBytes() {
java.lang.Object ref = fonttRefName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fonttRefName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (x_ != 0F) {
output.writeFloat(1, x_);
}
if (y_ != 0F) {
output.writeFloat(2, y_);
}
if (rtextProto_ != null) {
output.writeMessage(3, getRtextProto());
}
if (!getFonttRefNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, fonttRefName_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (x_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(1, x_);
}
if (y_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, y_);
}
if (rtextProto_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getRtextProto());
}
if (!getFonttRefNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, fonttRefName_);
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto other = (com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto) obj;
boolean result = true;
result = result && (
java.lang.Float.floatToIntBits(getX())
== java.lang.Float.floatToIntBits(
other.getX()));
result = result && (
java.lang.Float.floatToIntBits(getY())
== java.lang.Float.floatToIntBits(
other.getY()));
result = result && (hasRtextProto() == other.hasRtextProto());
if (hasRtextProto()) {
result = result && getRtextProto()
.equals(other.getRtextProto());
}
result = result && getFonttRefName()
.equals(other.getFonttRefName());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + X_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getX());
hash = (37 * hash) + Y_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getY());
if (hasRtextProto()) {
hash = (37 * hash) + RTEXT_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getRtextProto().hashCode();
}
hash = (37 * hash) + FONTTREFNAME_FIELD_NUMBER;
hash = (53 * hash) + getFonttRefName().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto 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.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto 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.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfTxtFragment_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfTxtFragment_proto)
com.sysalto.render.serialization.RenderProto.PdfTxtFragment_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfTxtFragment_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfTxtFragment_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.class, com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
x_ = 0F;
y_ = 0F;
if (rtextProtoBuilder_ == null) {
rtextProto_ = null;
} else {
rtextProto_ = null;
rtextProtoBuilder_ = null;
}
fonttRefName_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfTxtFragment_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto build() {
com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto result = new com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto(this);
result.x_ = x_;
result.y_ = y_;
if (rtextProtoBuilder_ == null) {
result.rtextProto_ = rtextProto_;
} else {
result.rtextProto_ = rtextProtoBuilder_.build();
}
result.fonttRefName_ = fonttRefName_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.getDefaultInstance()) return this;
if (other.getX() != 0F) {
setX(other.getX());
}
if (other.getY() != 0F) {
setY(other.getY());
}
if (other.hasRtextProto()) {
mergeRtextProto(other.getRtextProto());
}
if (!other.getFonttRefName().isEmpty()) {
fonttRefName_ = other.fonttRefName_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private float x_ ;
/**
* float x = 1;
*/
public float getX() {
return x_;
}
/**
* float x = 1;
*/
public Builder setX(float value) {
x_ = value;
onChanged();
return this;
}
/**
* float x = 1;
*/
public Builder clearX() {
x_ = 0F;
onChanged();
return this;
}
private float y_ ;
/**
* float y = 2;
*/
public float getY() {
return y_;
}
/**
* float y = 2;
*/
public Builder setY(float value) {
y_ = value;
onChanged();
return this;
}
/**
* float y = 2;
*/
public Builder clearY() {
y_ = 0F;
onChanged();
return this;
}
private com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto rtextProto_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_protoOrBuilder> rtextProtoBuilder_;
/**
* .com.sysalto.report.serialization.common.ReportTxt_proto rtext_proto = 3;
*/
public boolean hasRtextProto() {
return rtextProtoBuilder_ != null || rtextProto_ != null;
}
/**
* .com.sysalto.report.serialization.common.ReportTxt_proto rtext_proto = 3;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto getRtextProto() {
if (rtextProtoBuilder_ == null) {
return rtextProto_ == null ? com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto.getDefaultInstance() : rtextProto_;
} else {
return rtextProtoBuilder_.getMessage();
}
}
/**
* .com.sysalto.report.serialization.common.ReportTxt_proto rtext_proto = 3;
*/
public Builder setRtextProto(com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto value) {
if (rtextProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
rtextProto_ = value;
onChanged();
} else {
rtextProtoBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sysalto.report.serialization.common.ReportTxt_proto rtext_proto = 3;
*/
public Builder setRtextProto(
com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto.Builder builderForValue) {
if (rtextProtoBuilder_ == null) {
rtextProto_ = builderForValue.build();
onChanged();
} else {
rtextProtoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sysalto.report.serialization.common.ReportTxt_proto rtext_proto = 3;
*/
public Builder mergeRtextProto(com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto value) {
if (rtextProtoBuilder_ == null) {
if (rtextProto_ != null) {
rtextProto_ =
com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto.newBuilder(rtextProto_).mergeFrom(value).buildPartial();
} else {
rtextProto_ = value;
}
onChanged();
} else {
rtextProtoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sysalto.report.serialization.common.ReportTxt_proto rtext_proto = 3;
*/
public Builder clearRtextProto() {
if (rtextProtoBuilder_ == null) {
rtextProto_ = null;
onChanged();
} else {
rtextProto_ = null;
rtextProtoBuilder_ = null;
}
return this;
}
/**
* .com.sysalto.report.serialization.common.ReportTxt_proto rtext_proto = 3;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto.Builder getRtextProtoBuilder() {
onChanged();
return getRtextProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.report.serialization.common.ReportTxt_proto rtext_proto = 3;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_protoOrBuilder getRtextProtoOrBuilder() {
if (rtextProtoBuilder_ != null) {
return rtextProtoBuilder_.getMessageOrBuilder();
} else {
return rtextProto_ == null ?
com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto.getDefaultInstance() : rtextProto_;
}
}
/**
* .com.sysalto.report.serialization.common.ReportTxt_proto rtext_proto = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_protoOrBuilder>
getRtextProtoFieldBuilder() {
if (rtextProtoBuilder_ == null) {
rtextProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportTxt_protoOrBuilder>(
getRtextProto(),
getParentForChildren(),
isClean());
rtextProto_ = null;
}
return rtextProtoBuilder_;
}
private java.lang.Object fonttRefName_ = "";
/**
* string fonttRefName = 4;
*/
public java.lang.String getFonttRefName() {
java.lang.Object ref = fonttRefName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fonttRefName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string fonttRefName = 4;
*/
public com.google.protobuf.ByteString
getFonttRefNameBytes() {
java.lang.Object ref = fonttRefName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fonttRefName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string fonttRefName = 4;
*/
public Builder setFonttRefName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fonttRefName_ = value;
onChanged();
return this;
}
/**
* string fonttRefName = 4;
*/
public Builder clearFonttRefName() {
fonttRefName_ = getDefaultInstance().getFonttRefName();
onChanged();
return this;
}
/**
* string fonttRefName = 4;
*/
public Builder setFonttRefNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fonttRefName_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfTxtFragment_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfTxtFragment_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfTxtFragment_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfTxtFragment_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PdfText_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfText_proto)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
java.util.List
getTxtListList();
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto getTxtList(int index);
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
int getTxtListCount();
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
java.util.List extends com.sysalto.render.serialization.RenderProto.PdfTxtFragment_protoOrBuilder>
getTxtListOrBuilderList();
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
com.sysalto.render.serialization.RenderProto.PdfTxtFragment_protoOrBuilder getTxtListOrBuilder(
int index);
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfText_proto}
*/
public static final class PdfText_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfText_proto)
PdfText_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfText_proto.newBuilder() to construct.
private PdfText_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfText_proto() {
txtList_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfText_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
txtList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
txtList_.add(
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.parser(), extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
txtList_ = java.util.Collections.unmodifiableList(txtList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfText_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfText_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfText_proto.class, com.sysalto.render.serialization.RenderProto.PdfText_proto.Builder.class);
}
public static final int TXTLIST_FIELD_NUMBER = 1;
private java.util.List txtList_;
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public java.util.List getTxtListList() {
return txtList_;
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public java.util.List extends com.sysalto.render.serialization.RenderProto.PdfTxtFragment_protoOrBuilder>
getTxtListOrBuilderList() {
return txtList_;
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public int getTxtListCount() {
return txtList_.size();
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto getTxtList(int index) {
return txtList_.get(index);
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfTxtFragment_protoOrBuilder getTxtListOrBuilder(
int index) {
return txtList_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < txtList_.size(); i++) {
output.writeMessage(1, txtList_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < txtList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, txtList_.get(i));
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfText_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfText_proto other = (com.sysalto.render.serialization.RenderProto.PdfText_proto) obj;
boolean result = true;
result = result && getTxtListList()
.equals(other.getTxtListList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getTxtListCount() > 0) {
hash = (37 * hash) + TXTLIST_FIELD_NUMBER;
hash = (53 * hash) + getTxtListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfText_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfText_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfText_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfText_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfText_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfText_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfText_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfText_proto 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.sysalto.render.serialization.RenderProto.PdfText_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfText_proto 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.sysalto.render.serialization.RenderProto.PdfText_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfText_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfText_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfText_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfText_proto)
com.sysalto.render.serialization.RenderProto.PdfText_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfText_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfText_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfText_proto.class, com.sysalto.render.serialization.RenderProto.PdfText_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfText_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTxtListFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (txtListBuilder_ == null) {
txtList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
txtListBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfText_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfText_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfText_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfText_proto build() {
com.sysalto.render.serialization.RenderProto.PdfText_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfText_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfText_proto result = new com.sysalto.render.serialization.RenderProto.PdfText_proto(this);
int from_bitField0_ = bitField0_;
if (txtListBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
txtList_ = java.util.Collections.unmodifiableList(txtList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.txtList_ = txtList_;
} else {
result.txtList_ = txtListBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfText_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfText_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfText_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfText_proto.getDefaultInstance()) return this;
if (txtListBuilder_ == null) {
if (!other.txtList_.isEmpty()) {
if (txtList_.isEmpty()) {
txtList_ = other.txtList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTxtListIsMutable();
txtList_.addAll(other.txtList_);
}
onChanged();
}
} else {
if (!other.txtList_.isEmpty()) {
if (txtListBuilder_.isEmpty()) {
txtListBuilder_.dispose();
txtListBuilder_ = null;
txtList_ = other.txtList_;
bitField0_ = (bitField0_ & ~0x00000001);
txtListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTxtListFieldBuilder() : null;
} else {
txtListBuilder_.addAllMessages(other.txtList_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfText_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfText_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List txtList_ =
java.util.Collections.emptyList();
private void ensureTxtListIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
txtList_ = new java.util.ArrayList(txtList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto, com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfTxtFragment_protoOrBuilder> txtListBuilder_;
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public java.util.List getTxtListList() {
if (txtListBuilder_ == null) {
return java.util.Collections.unmodifiableList(txtList_);
} else {
return txtListBuilder_.getMessageList();
}
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public int getTxtListCount() {
if (txtListBuilder_ == null) {
return txtList_.size();
} else {
return txtListBuilder_.getCount();
}
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto getTxtList(int index) {
if (txtListBuilder_ == null) {
return txtList_.get(index);
} else {
return txtListBuilder_.getMessage(index);
}
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public Builder setTxtList(
int index, com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto value) {
if (txtListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTxtListIsMutable();
txtList_.set(index, value);
onChanged();
} else {
txtListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public Builder setTxtList(
int index, com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.Builder builderForValue) {
if (txtListBuilder_ == null) {
ensureTxtListIsMutable();
txtList_.set(index, builderForValue.build());
onChanged();
} else {
txtListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public Builder addTxtList(com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto value) {
if (txtListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTxtListIsMutable();
txtList_.add(value);
onChanged();
} else {
txtListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public Builder addTxtList(
int index, com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto value) {
if (txtListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTxtListIsMutable();
txtList_.add(index, value);
onChanged();
} else {
txtListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public Builder addTxtList(
com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.Builder builderForValue) {
if (txtListBuilder_ == null) {
ensureTxtListIsMutable();
txtList_.add(builderForValue.build());
onChanged();
} else {
txtListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public Builder addTxtList(
int index, com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.Builder builderForValue) {
if (txtListBuilder_ == null) {
ensureTxtListIsMutable();
txtList_.add(index, builderForValue.build());
onChanged();
} else {
txtListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public Builder addAllTxtList(
java.lang.Iterable extends com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto> values) {
if (txtListBuilder_ == null) {
ensureTxtListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, txtList_);
onChanged();
} else {
txtListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public Builder clearTxtList() {
if (txtListBuilder_ == null) {
txtList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
txtListBuilder_.clear();
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public Builder removeTxtList(int index) {
if (txtListBuilder_ == null) {
ensureTxtListIsMutable();
txtList_.remove(index);
onChanged();
} else {
txtListBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.Builder getTxtListBuilder(
int index) {
return getTxtListFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfTxtFragment_protoOrBuilder getTxtListOrBuilder(
int index) {
if (txtListBuilder_ == null) {
return txtList_.get(index); } else {
return txtListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public java.util.List extends com.sysalto.render.serialization.RenderProto.PdfTxtFragment_protoOrBuilder>
getTxtListOrBuilderList() {
if (txtListBuilder_ != null) {
return txtListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(txtList_);
}
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.Builder addTxtListBuilder() {
return getTxtListFieldBuilder().addBuilder(
com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.getDefaultInstance());
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.Builder addTxtListBuilder(
int index) {
return getTxtListFieldBuilder().addBuilder(
index, com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.getDefaultInstance());
}
/**
* repeated .com.sysalto.render.serialization.PdfTxtFragment_proto txtList = 1;
*/
public java.util.List
getTxtListBuilderList() {
return getTxtListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto, com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfTxtFragment_protoOrBuilder>
getTxtListFieldBuilder() {
if (txtListBuilder_ == null) {
txtListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto, com.sysalto.render.serialization.RenderProto.PdfTxtFragment_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfTxtFragment_protoOrBuilder>(
txtList_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
txtList_ = null;
}
return txtListBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfText_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfText_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfText_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfText_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfText_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfText_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfText_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfText_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PdfPageContent_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfPageContent_proto)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
java.util.List
getPdfPageItemProtoList();
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
com.sysalto.render.serialization.RenderProto.PdfPageItem_proto getPdfPageItemProto(int index);
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
int getPdfPageItemProtoCount();
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
java.util.List extends com.sysalto.render.serialization.RenderProto.PdfPageItem_protoOrBuilder>
getPdfPageItemProtoOrBuilderList();
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
com.sysalto.render.serialization.RenderProto.PdfPageItem_protoOrBuilder getPdfPageItemProtoOrBuilder(
int index);
/**
* bool pdfCompression = 4;
*/
boolean getPdfCompression();
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfPageContent_proto}
*/
public static final class PdfPageContent_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfPageContent_proto)
PdfPageContent_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfPageContent_proto.newBuilder() to construct.
private PdfPageContent_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfPageContent_proto() {
pdfPageItemProto_ = java.util.Collections.emptyList();
pdfCompression_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfPageContent_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
pdfPageItemProto_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
pdfPageItemProto_.add(
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.parser(), extensionRegistry));
break;
}
case 32: {
pdfCompression_ = input.readBool();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
pdfPageItemProto_ = java.util.Collections.unmodifiableList(pdfPageItemProto_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPageContent_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPageContent_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.class, com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.Builder.class);
}
private int bitField0_;
public static final int PDFPAGEITEM_PROTO_FIELD_NUMBER = 3;
private java.util.List pdfPageItemProto_;
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public java.util.List getPdfPageItemProtoList() {
return pdfPageItemProto_;
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public java.util.List extends com.sysalto.render.serialization.RenderProto.PdfPageItem_protoOrBuilder>
getPdfPageItemProtoOrBuilderList() {
return pdfPageItemProto_;
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public int getPdfPageItemProtoCount() {
return pdfPageItemProto_.size();
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageItem_proto getPdfPageItemProto(int index) {
return pdfPageItemProto_.get(index);
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageItem_protoOrBuilder getPdfPageItemProtoOrBuilder(
int index) {
return pdfPageItemProto_.get(index);
}
public static final int PDFCOMPRESSION_FIELD_NUMBER = 4;
private boolean pdfCompression_;
/**
* bool pdfCompression = 4;
*/
public boolean getPdfCompression() {
return pdfCompression_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < pdfPageItemProto_.size(); i++) {
output.writeMessage(3, pdfPageItemProto_.get(i));
}
if (pdfCompression_ != false) {
output.writeBool(4, pdfCompression_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < pdfPageItemProto_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, pdfPageItemProto_.get(i));
}
if (pdfCompression_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, pdfCompression_);
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfPageContent_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfPageContent_proto other = (com.sysalto.render.serialization.RenderProto.PdfPageContent_proto) obj;
boolean result = true;
result = result && getPdfPageItemProtoList()
.equals(other.getPdfPageItemProtoList());
result = result && (getPdfCompression()
== other.getPdfCompression());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getPdfPageItemProtoCount() > 0) {
hash = (37 * hash) + PDFPAGEITEM_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfPageItemProtoList().hashCode();
}
hash = (37 * hash) + PDFCOMPRESSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getPdfCompression());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfPageContent_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageContent_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageContent_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageContent_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageContent_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageContent_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageContent_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageContent_proto 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.sysalto.render.serialization.RenderProto.PdfPageContent_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageContent_proto 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.sysalto.render.serialization.RenderProto.PdfPageContent_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageContent_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfPageContent_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfPageContent_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfPageContent_proto)
com.sysalto.render.serialization.RenderProto.PdfPageContent_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPageContent_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPageContent_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.class, com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getPdfPageItemProtoFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (pdfPageItemProtoBuilder_ == null) {
pdfPageItemProto_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
pdfPageItemProtoBuilder_.clear();
}
pdfCompression_ = false;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPageContent_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfPageContent_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfPageContent_proto build() {
com.sysalto.render.serialization.RenderProto.PdfPageContent_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfPageContent_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfPageContent_proto result = new com.sysalto.render.serialization.RenderProto.PdfPageContent_proto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (pdfPageItemProtoBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
pdfPageItemProto_ = java.util.Collections.unmodifiableList(pdfPageItemProto_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.pdfPageItemProto_ = pdfPageItemProto_;
} else {
result.pdfPageItemProto_ = pdfPageItemProtoBuilder_.build();
}
result.pdfCompression_ = pdfCompression_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfPageContent_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfPageContent_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfPageContent_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfPageContent_proto.getDefaultInstance()) return this;
if (pdfPageItemProtoBuilder_ == null) {
if (!other.pdfPageItemProto_.isEmpty()) {
if (pdfPageItemProto_.isEmpty()) {
pdfPageItemProto_ = other.pdfPageItemProto_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePdfPageItemProtoIsMutable();
pdfPageItemProto_.addAll(other.pdfPageItemProto_);
}
onChanged();
}
} else {
if (!other.pdfPageItemProto_.isEmpty()) {
if (pdfPageItemProtoBuilder_.isEmpty()) {
pdfPageItemProtoBuilder_.dispose();
pdfPageItemProtoBuilder_ = null;
pdfPageItemProto_ = other.pdfPageItemProto_;
bitField0_ = (bitField0_ & ~0x00000001);
pdfPageItemProtoBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPdfPageItemProtoFieldBuilder() : null;
} else {
pdfPageItemProtoBuilder_.addAllMessages(other.pdfPageItemProto_);
}
}
}
if (other.getPdfCompression() != false) {
setPdfCompression(other.getPdfCompression());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfPageContent_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfPageContent_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List pdfPageItemProto_ =
java.util.Collections.emptyList();
private void ensurePdfPageItemProtoIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
pdfPageItemProto_ = new java.util.ArrayList(pdfPageItemProto_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfPageItem_proto, com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfPageItem_protoOrBuilder> pdfPageItemProtoBuilder_;
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public java.util.List getPdfPageItemProtoList() {
if (pdfPageItemProtoBuilder_ == null) {
return java.util.Collections.unmodifiableList(pdfPageItemProto_);
} else {
return pdfPageItemProtoBuilder_.getMessageList();
}
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public int getPdfPageItemProtoCount() {
if (pdfPageItemProtoBuilder_ == null) {
return pdfPageItemProto_.size();
} else {
return pdfPageItemProtoBuilder_.getCount();
}
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageItem_proto getPdfPageItemProto(int index) {
if (pdfPageItemProtoBuilder_ == null) {
return pdfPageItemProto_.get(index);
} else {
return pdfPageItemProtoBuilder_.getMessage(index);
}
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public Builder setPdfPageItemProto(
int index, com.sysalto.render.serialization.RenderProto.PdfPageItem_proto value) {
if (pdfPageItemProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePdfPageItemProtoIsMutable();
pdfPageItemProto_.set(index, value);
onChanged();
} else {
pdfPageItemProtoBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public Builder setPdfPageItemProto(
int index, com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.Builder builderForValue) {
if (pdfPageItemProtoBuilder_ == null) {
ensurePdfPageItemProtoIsMutable();
pdfPageItemProto_.set(index, builderForValue.build());
onChanged();
} else {
pdfPageItemProtoBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public Builder addPdfPageItemProto(com.sysalto.render.serialization.RenderProto.PdfPageItem_proto value) {
if (pdfPageItemProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePdfPageItemProtoIsMutable();
pdfPageItemProto_.add(value);
onChanged();
} else {
pdfPageItemProtoBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public Builder addPdfPageItemProto(
int index, com.sysalto.render.serialization.RenderProto.PdfPageItem_proto value) {
if (pdfPageItemProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePdfPageItemProtoIsMutable();
pdfPageItemProto_.add(index, value);
onChanged();
} else {
pdfPageItemProtoBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public Builder addPdfPageItemProto(
com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.Builder builderForValue) {
if (pdfPageItemProtoBuilder_ == null) {
ensurePdfPageItemProtoIsMutable();
pdfPageItemProto_.add(builderForValue.build());
onChanged();
} else {
pdfPageItemProtoBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public Builder addPdfPageItemProto(
int index, com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.Builder builderForValue) {
if (pdfPageItemProtoBuilder_ == null) {
ensurePdfPageItemProtoIsMutable();
pdfPageItemProto_.add(index, builderForValue.build());
onChanged();
} else {
pdfPageItemProtoBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public Builder addAllPdfPageItemProto(
java.lang.Iterable extends com.sysalto.render.serialization.RenderProto.PdfPageItem_proto> values) {
if (pdfPageItemProtoBuilder_ == null) {
ensurePdfPageItemProtoIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, pdfPageItemProto_);
onChanged();
} else {
pdfPageItemProtoBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public Builder clearPdfPageItemProto() {
if (pdfPageItemProtoBuilder_ == null) {
pdfPageItemProto_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
pdfPageItemProtoBuilder_.clear();
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public Builder removePdfPageItemProto(int index) {
if (pdfPageItemProtoBuilder_ == null) {
ensurePdfPageItemProtoIsMutable();
pdfPageItemProto_.remove(index);
onChanged();
} else {
pdfPageItemProtoBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.Builder getPdfPageItemProtoBuilder(
int index) {
return getPdfPageItemProtoFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageItem_protoOrBuilder getPdfPageItemProtoOrBuilder(
int index) {
if (pdfPageItemProtoBuilder_ == null) {
return pdfPageItemProto_.get(index); } else {
return pdfPageItemProtoBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public java.util.List extends com.sysalto.render.serialization.RenderProto.PdfPageItem_protoOrBuilder>
getPdfPageItemProtoOrBuilderList() {
if (pdfPageItemProtoBuilder_ != null) {
return pdfPageItemProtoBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(pdfPageItemProto_);
}
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.Builder addPdfPageItemProtoBuilder() {
return getPdfPageItemProtoFieldBuilder().addBuilder(
com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.getDefaultInstance());
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.Builder addPdfPageItemProtoBuilder(
int index) {
return getPdfPageItemProtoFieldBuilder().addBuilder(
index, com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.getDefaultInstance());
}
/**
* repeated .com.sysalto.render.serialization.PdfPageItem_proto pdfPageItem_proto = 3;
*/
public java.util.List
getPdfPageItemProtoBuilderList() {
return getPdfPageItemProtoFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfPageItem_proto, com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfPageItem_protoOrBuilder>
getPdfPageItemProtoFieldBuilder() {
if (pdfPageItemProtoBuilder_ == null) {
pdfPageItemProtoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfPageItem_proto, com.sysalto.render.serialization.RenderProto.PdfPageItem_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfPageItem_protoOrBuilder>(
pdfPageItemProto_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
pdfPageItemProto_ = null;
}
return pdfPageItemProtoBuilder_;
}
private boolean pdfCompression_ ;
/**
* bool pdfCompression = 4;
*/
public boolean getPdfCompression() {
return pdfCompression_;
}
/**
* bool pdfCompression = 4;
*/
public Builder setPdfCompression(boolean value) {
pdfCompression_ = value;
onChanged();
return this;
}
/**
* bool pdfCompression = 4;
*/
public Builder clearPdfCompression() {
pdfCompression_ = false;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfPageContent_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfPageContent_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfPageContent_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfPageContent_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfPageContent_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfPageContent_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfPageContent_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfPageContent_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PdfPageList_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfPageList_proto)
com.google.protobuf.MessageOrBuilder {
/**
* int64 leafNbr = 1;
*/
long getLeafNbr();
/**
* repeated int64 parentId = 2;
*/
java.util.List getParentIdList();
/**
* repeated int64 parentId = 2;
*/
int getParentIdCount();
/**
* repeated int64 parentId = 2;
*/
long getParentId(int index);
/**
* repeated int64 pageList = 3;
*/
java.util.List getPageListList();
/**
* repeated int64 pageList = 3;
*/
int getPageListCount();
/**
* repeated int64 pageList = 3;
*/
long getPageList(int index);
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfPageList_proto}
*/
public static final class PdfPageList_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfPageList_proto)
PdfPageList_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfPageList_proto.newBuilder() to construct.
private PdfPageList_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfPageList_proto() {
leafNbr_ = 0L;
parentId_ = java.util.Collections.emptyList();
pageList_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfPageList_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
leafNbr_ = input.readInt64();
break;
}
case 16: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
parentId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
parentId_.add(input.readInt64());
break;
}
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) {
parentId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
while (input.getBytesUntilLimit() > 0) {
parentId_.add(input.readInt64());
}
input.popLimit(limit);
break;
}
case 24: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
pageList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
pageList_.add(input.readInt64());
break;
}
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) {
pageList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
while (input.getBytesUntilLimit() > 0) {
pageList_.add(input.readInt64());
}
input.popLimit(limit);
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
parentId_ = java.util.Collections.unmodifiableList(parentId_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
pageList_ = java.util.Collections.unmodifiableList(pageList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPageList_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPageList_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfPageList_proto.class, com.sysalto.render.serialization.RenderProto.PdfPageList_proto.Builder.class);
}
private int bitField0_;
public static final int LEAFNBR_FIELD_NUMBER = 1;
private long leafNbr_;
/**
* int64 leafNbr = 1;
*/
public long getLeafNbr() {
return leafNbr_;
}
public static final int PARENTID_FIELD_NUMBER = 2;
private java.util.List parentId_;
/**
* repeated int64 parentId = 2;
*/
public java.util.List
getParentIdList() {
return parentId_;
}
/**
* repeated int64 parentId = 2;
*/
public int getParentIdCount() {
return parentId_.size();
}
/**
* repeated int64 parentId = 2;
*/
public long getParentId(int index) {
return parentId_.get(index);
}
private int parentIdMemoizedSerializedSize = -1;
public static final int PAGELIST_FIELD_NUMBER = 3;
private java.util.List pageList_;
/**
* repeated int64 pageList = 3;
*/
public java.util.List
getPageListList() {
return pageList_;
}
/**
* repeated int64 pageList = 3;
*/
public int getPageListCount() {
return pageList_.size();
}
/**
* repeated int64 pageList = 3;
*/
public long getPageList(int index) {
return pageList_.get(index);
}
private int pageListMemoizedSerializedSize = -1;
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (leafNbr_ != 0L) {
output.writeInt64(1, leafNbr_);
}
if (getParentIdList().size() > 0) {
output.writeUInt32NoTag(18);
output.writeUInt32NoTag(parentIdMemoizedSerializedSize);
}
for (int i = 0; i < parentId_.size(); i++) {
output.writeInt64NoTag(parentId_.get(i));
}
if (getPageListList().size() > 0) {
output.writeUInt32NoTag(26);
output.writeUInt32NoTag(pageListMemoizedSerializedSize);
}
for (int i = 0; i < pageList_.size(); i++) {
output.writeInt64NoTag(pageList_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (leafNbr_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, leafNbr_);
}
{
int dataSize = 0;
for (int i = 0; i < parentId_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(parentId_.get(i));
}
size += dataSize;
if (!getParentIdList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
parentIdMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < pageList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(pageList_.get(i));
}
size += dataSize;
if (!getPageListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
pageListMemoizedSerializedSize = dataSize;
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfPageList_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfPageList_proto other = (com.sysalto.render.serialization.RenderProto.PdfPageList_proto) obj;
boolean result = true;
result = result && (getLeafNbr()
== other.getLeafNbr());
result = result && getParentIdList()
.equals(other.getParentIdList());
result = result && getPageListList()
.equals(other.getPageListList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + LEAFNBR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLeafNbr());
if (getParentIdCount() > 0) {
hash = (37 * hash) + PARENTID_FIELD_NUMBER;
hash = (53 * hash) + getParentIdList().hashCode();
}
if (getPageListCount() > 0) {
hash = (37 * hash) + PAGELIST_FIELD_NUMBER;
hash = (53 * hash) + getPageListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfPageList_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageList_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageList_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageList_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageList_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageList_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageList_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageList_proto 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.sysalto.render.serialization.RenderProto.PdfPageList_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageList_proto 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.sysalto.render.serialization.RenderProto.PdfPageList_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfPageList_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfPageList_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfPageList_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfPageList_proto)
com.sysalto.render.serialization.RenderProto.PdfPageList_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPageList_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPageList_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfPageList_proto.class, com.sysalto.render.serialization.RenderProto.PdfPageList_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfPageList_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
leafNbr_ = 0L;
parentId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
pageList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfPageList_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfPageList_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfPageList_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfPageList_proto build() {
com.sysalto.render.serialization.RenderProto.PdfPageList_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfPageList_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfPageList_proto result = new com.sysalto.render.serialization.RenderProto.PdfPageList_proto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.leafNbr_ = leafNbr_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
parentId_ = java.util.Collections.unmodifiableList(parentId_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.parentId_ = parentId_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
pageList_ = java.util.Collections.unmodifiableList(pageList_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.pageList_ = pageList_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfPageList_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfPageList_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfPageList_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfPageList_proto.getDefaultInstance()) return this;
if (other.getLeafNbr() != 0L) {
setLeafNbr(other.getLeafNbr());
}
if (!other.parentId_.isEmpty()) {
if (parentId_.isEmpty()) {
parentId_ = other.parentId_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureParentIdIsMutable();
parentId_.addAll(other.parentId_);
}
onChanged();
}
if (!other.pageList_.isEmpty()) {
if (pageList_.isEmpty()) {
pageList_ = other.pageList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensurePageListIsMutable();
pageList_.addAll(other.pageList_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfPageList_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfPageList_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long leafNbr_ ;
/**
* int64 leafNbr = 1;
*/
public long getLeafNbr() {
return leafNbr_;
}
/**
* int64 leafNbr = 1;
*/
public Builder setLeafNbr(long value) {
leafNbr_ = value;
onChanged();
return this;
}
/**
* int64 leafNbr = 1;
*/
public Builder clearLeafNbr() {
leafNbr_ = 0L;
onChanged();
return this;
}
private java.util.List parentId_ = java.util.Collections.emptyList();
private void ensureParentIdIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
parentId_ = new java.util.ArrayList(parentId_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated int64 parentId = 2;
*/
public java.util.List
getParentIdList() {
return java.util.Collections.unmodifiableList(parentId_);
}
/**
* repeated int64 parentId = 2;
*/
public int getParentIdCount() {
return parentId_.size();
}
/**
* repeated int64 parentId = 2;
*/
public long getParentId(int index) {
return parentId_.get(index);
}
/**
* repeated int64 parentId = 2;
*/
public Builder setParentId(
int index, long value) {
ensureParentIdIsMutable();
parentId_.set(index, value);
onChanged();
return this;
}
/**
* repeated int64 parentId = 2;
*/
public Builder addParentId(long value) {
ensureParentIdIsMutable();
parentId_.add(value);
onChanged();
return this;
}
/**
* repeated int64 parentId = 2;
*/
public Builder addAllParentId(
java.lang.Iterable extends java.lang.Long> values) {
ensureParentIdIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, parentId_);
onChanged();
return this;
}
/**
* repeated int64 parentId = 2;
*/
public Builder clearParentId() {
parentId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private java.util.List pageList_ = java.util.Collections.emptyList();
private void ensurePageListIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
pageList_ = new java.util.ArrayList(pageList_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated int64 pageList = 3;
*/
public java.util.List
getPageListList() {
return java.util.Collections.unmodifiableList(pageList_);
}
/**
* repeated int64 pageList = 3;
*/
public int getPageListCount() {
return pageList_.size();
}
/**
* repeated int64 pageList = 3;
*/
public long getPageList(int index) {
return pageList_.get(index);
}
/**
* repeated int64 pageList = 3;
*/
public Builder setPageList(
int index, long value) {
ensurePageListIsMutable();
pageList_.set(index, value);
onChanged();
return this;
}
/**
* repeated int64 pageList = 3;
*/
public Builder addPageList(long value) {
ensurePageListIsMutable();
pageList_.add(value);
onChanged();
return this;
}
/**
* repeated int64 pageList = 3;
*/
public Builder addAllPageList(
java.lang.Iterable extends java.lang.Long> values) {
ensurePageListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, pageList_);
onChanged();
return this;
}
/**
* repeated int64 pageList = 3;
*/
public Builder clearPageList() {
pageList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfPageList_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfPageList_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfPageList_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfPageList_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfPageList_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfPageList_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfPageList_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfPageList_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PdfImage_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfImage_proto)
com.google.protobuf.MessageOrBuilder {
/**
* string fileName = 1;
*/
java.lang.String getFileName();
/**
* string fileName = 1;
*/
com.google.protobuf.ByteString
getFileNameBytes();
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfImage_proto}
*/
public static final class PdfImage_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfImage_proto)
PdfImage_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfImage_proto.newBuilder() to construct.
private PdfImage_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfImage_proto() {
fileName_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfImage_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
fileName_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfImage_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfImage_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfImage_proto.class, com.sysalto.render.serialization.RenderProto.PdfImage_proto.Builder.class);
}
public static final int FILENAME_FIELD_NUMBER = 1;
private volatile java.lang.Object fileName_;
/**
* string fileName = 1;
*/
public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
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();
fileName_ = s;
return s;
}
}
/**
* string fileName = 1;
*/
public com.google.protobuf.ByteString
getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getFileNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fileName_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getFileNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fileName_);
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfImage_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfImage_proto other = (com.sysalto.render.serialization.RenderProto.PdfImage_proto) obj;
boolean result = true;
result = result && getFileName()
.equals(other.getFileName());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FILENAME_FIELD_NUMBER;
hash = (53 * hash) + getFileName().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfImage_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfImage_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfImage_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfImage_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfImage_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfImage_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfImage_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfImage_proto 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.sysalto.render.serialization.RenderProto.PdfImage_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfImage_proto 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.sysalto.render.serialization.RenderProto.PdfImage_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfImage_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfImage_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfImage_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfImage_proto)
com.sysalto.render.serialization.RenderProto.PdfImage_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfImage_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfImage_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfImage_proto.class, com.sysalto.render.serialization.RenderProto.PdfImage_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfImage_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
fileName_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfImage_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfImage_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfImage_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfImage_proto build() {
com.sysalto.render.serialization.RenderProto.PdfImage_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfImage_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfImage_proto result = new com.sysalto.render.serialization.RenderProto.PdfImage_proto(this);
result.fileName_ = fileName_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfImage_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfImage_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfImage_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfImage_proto.getDefaultInstance()) return this;
if (!other.getFileName().isEmpty()) {
fileName_ = other.fileName_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfImage_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfImage_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object fileName_ = "";
/**
* string fileName = 1;
*/
public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fileName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string fileName = 1;
*/
public com.google.protobuf.ByteString
getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string fileName = 1;
*/
public Builder setFileName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fileName_ = value;
onChanged();
return this;
}
/**
* string fileName = 1;
*/
public Builder clearFileName() {
fileName_ = getDefaultInstance().getFileName();
onChanged();
return this;
}
/**
* string fileName = 1;
*/
public Builder setFileNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fileName_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfImage_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfImage_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfImage_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfImage_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfImage_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfImage_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfImage_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfImage_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PdfShaddingFctColor_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfShaddingFctColor_proto)
com.google.protobuf.MessageOrBuilder {
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color1 = 1;
*/
boolean hasColor1();
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color1 = 1;
*/
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto getColor1();
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color1 = 1;
*/
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder getColor1OrBuilder();
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color2 = 2;
*/
boolean hasColor2();
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color2 = 2;
*/
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto getColor2();
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color2 = 2;
*/
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder getColor2OrBuilder();
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfShaddingFctColor_proto}
*/
public static final class PdfShaddingFctColor_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfShaddingFctColor_proto)
PdfShaddingFctColor_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfShaddingFctColor_proto.newBuilder() to construct.
private PdfShaddingFctColor_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfShaddingFctColor_proto() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfShaddingFctColor_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder subBuilder = null;
if (color1_ != null) {
subBuilder = color1_.toBuilder();
}
color1_ = input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(color1_);
color1_ = subBuilder.buildPartial();
}
break;
}
case 18: {
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder subBuilder = null;
if (color2_ != null) {
subBuilder = color2_.toBuilder();
}
color2_ = input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(color2_);
color2_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfShaddingFctColor_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfShaddingFctColor_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.class, com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.Builder.class);
}
public static final int COLOR1_FIELD_NUMBER = 1;
private com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto color1_;
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color1 = 1;
*/
public boolean hasColor1() {
return color1_ != null;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color1 = 1;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto getColor1() {
return color1_ == null ? com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.getDefaultInstance() : color1_;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color1 = 1;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder getColor1OrBuilder() {
return getColor1();
}
public static final int COLOR2_FIELD_NUMBER = 2;
private com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto color2_;
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color2 = 2;
*/
public boolean hasColor2() {
return color2_ != null;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color2 = 2;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto getColor2() {
return color2_ == null ? com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.getDefaultInstance() : color2_;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color2 = 2;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder getColor2OrBuilder() {
return getColor2();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (color1_ != null) {
output.writeMessage(1, getColor1());
}
if (color2_ != null) {
output.writeMessage(2, getColor2());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (color1_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getColor1());
}
if (color2_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getColor2());
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto other = (com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto) obj;
boolean result = true;
result = result && (hasColor1() == other.hasColor1());
if (hasColor1()) {
result = result && getColor1()
.equals(other.getColor1());
}
result = result && (hasColor2() == other.hasColor2());
if (hasColor2()) {
result = result && getColor2()
.equals(other.getColor2());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasColor1()) {
hash = (37 * hash) + COLOR1_FIELD_NUMBER;
hash = (53 * hash) + getColor1().hashCode();
}
if (hasColor2()) {
hash = (37 * hash) + COLOR2_FIELD_NUMBER;
hash = (53 * hash) + getColor2().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto 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.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto 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.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfShaddingFctColor_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfShaddingFctColor_proto)
com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfShaddingFctColor_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfShaddingFctColor_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.class, com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
if (color1Builder_ == null) {
color1_ = null;
} else {
color1_ = null;
color1Builder_ = null;
}
if (color2Builder_ == null) {
color2_ = null;
} else {
color2_ = null;
color2Builder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfShaddingFctColor_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto build() {
com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto result = new com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto(this);
if (color1Builder_ == null) {
result.color1_ = color1_;
} else {
result.color1_ = color1Builder_.build();
}
if (color2Builder_ == null) {
result.color2_ = color2_;
} else {
result.color2_ = color2Builder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto.getDefaultInstance()) return this;
if (other.hasColor1()) {
mergeColor1(other.getColor1());
}
if (other.hasColor2()) {
mergeColor2(other.getColor2());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto color1_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder> color1Builder_;
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color1 = 1;
*/
public boolean hasColor1() {
return color1Builder_ != null || color1_ != null;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color1 = 1;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto getColor1() {
if (color1Builder_ == null) {
return color1_ == null ? com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.getDefaultInstance() : color1_;
} else {
return color1Builder_.getMessage();
}
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color1 = 1;
*/
public Builder setColor1(com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto value) {
if (color1Builder_ == null) {
if (value == null) {
throw new NullPointerException();
}
color1_ = value;
onChanged();
} else {
color1Builder_.setMessage(value);
}
return this;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color1 = 1;
*/
public Builder setColor1(
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder builderForValue) {
if (color1Builder_ == null) {
color1_ = builderForValue.build();
onChanged();
} else {
color1Builder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color1 = 1;
*/
public Builder mergeColor1(com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto value) {
if (color1Builder_ == null) {
if (color1_ != null) {
color1_ =
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.newBuilder(color1_).mergeFrom(value).buildPartial();
} else {
color1_ = value;
}
onChanged();
} else {
color1Builder_.mergeFrom(value);
}
return this;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color1 = 1;
*/
public Builder clearColor1() {
if (color1Builder_ == null) {
color1_ = null;
onChanged();
} else {
color1_ = null;
color1Builder_ = null;
}
return this;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color1 = 1;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder getColor1Builder() {
onChanged();
return getColor1FieldBuilder().getBuilder();
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color1 = 1;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder getColor1OrBuilder() {
if (color1Builder_ != null) {
return color1Builder_.getMessageOrBuilder();
} else {
return color1_ == null ?
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.getDefaultInstance() : color1_;
}
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color1 = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder>
getColor1FieldBuilder() {
if (color1Builder_ == null) {
color1Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder>(
getColor1(),
getParentForChildren(),
isClean());
color1_ = null;
}
return color1Builder_;
}
private com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto color2_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder> color2Builder_;
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color2 = 2;
*/
public boolean hasColor2() {
return color2Builder_ != null || color2_ != null;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color2 = 2;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto getColor2() {
if (color2Builder_ == null) {
return color2_ == null ? com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.getDefaultInstance() : color2_;
} else {
return color2Builder_.getMessage();
}
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color2 = 2;
*/
public Builder setColor2(com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto value) {
if (color2Builder_ == null) {
if (value == null) {
throw new NullPointerException();
}
color2_ = value;
onChanged();
} else {
color2Builder_.setMessage(value);
}
return this;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color2 = 2;
*/
public Builder setColor2(
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder builderForValue) {
if (color2Builder_ == null) {
color2_ = builderForValue.build();
onChanged();
} else {
color2Builder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color2 = 2;
*/
public Builder mergeColor2(com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto value) {
if (color2Builder_ == null) {
if (color2_ != null) {
color2_ =
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.newBuilder(color2_).mergeFrom(value).buildPartial();
} else {
color2_ = value;
}
onChanged();
} else {
color2Builder_.mergeFrom(value);
}
return this;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color2 = 2;
*/
public Builder clearColor2() {
if (color2Builder_ == null) {
color2_ = null;
onChanged();
} else {
color2_ = null;
color2Builder_ = null;
}
return this;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color2 = 2;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder getColor2Builder() {
onChanged();
return getColor2FieldBuilder().getBuilder();
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color2 = 2;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder getColor2OrBuilder() {
if (color2Builder_ != null) {
return color2Builder_.getMessageOrBuilder();
} else {
return color2_ == null ?
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.getDefaultInstance() : color2_;
}
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color2 = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder>
getColor2FieldBuilder() {
if (color2Builder_ == null) {
color2Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder>(
getColor2(),
getParentForChildren(),
isClean());
color2_ = null;
}
return color2Builder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfShaddingFctColor_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfShaddingFctColor_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfShaddingFctColor_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfShaddingFctColor_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfShaddingFctColor_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PdfColorShadding_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfColorShadding_proto)
com.google.protobuf.MessageOrBuilder {
/**
* float x0 = 1;
*/
float getX0();
/**
* float y0 = 2;
*/
float getY0();
/**
* float x1 = 3;
*/
float getX1();
/**
* float y1 = 4;
*/
float getY1();
/**
* int64 idPdfShaddingFctColor = 5;
*/
long getIdPdfShaddingFctColor();
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfColorShadding_proto}
*/
public static final class PdfColorShadding_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfColorShadding_proto)
PdfColorShadding_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfColorShadding_proto.newBuilder() to construct.
private PdfColorShadding_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfColorShadding_proto() {
x0_ = 0F;
y0_ = 0F;
x1_ = 0F;
y1_ = 0F;
idPdfShaddingFctColor_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfColorShadding_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 13: {
x0_ = input.readFloat();
break;
}
case 21: {
y0_ = input.readFloat();
break;
}
case 29: {
x1_ = input.readFloat();
break;
}
case 37: {
y1_ = input.readFloat();
break;
}
case 40: {
idPdfShaddingFctColor_ = input.readInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfColorShadding_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfColorShadding_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.class, com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.Builder.class);
}
public static final int X0_FIELD_NUMBER = 1;
private float x0_;
/**
* float x0 = 1;
*/
public float getX0() {
return x0_;
}
public static final int Y0_FIELD_NUMBER = 2;
private float y0_;
/**
* float y0 = 2;
*/
public float getY0() {
return y0_;
}
public static final int X1_FIELD_NUMBER = 3;
private float x1_;
/**
* float x1 = 3;
*/
public float getX1() {
return x1_;
}
public static final int Y1_FIELD_NUMBER = 4;
private float y1_;
/**
* float y1 = 4;
*/
public float getY1() {
return y1_;
}
public static final int IDPDFSHADDINGFCTCOLOR_FIELD_NUMBER = 5;
private long idPdfShaddingFctColor_;
/**
* int64 idPdfShaddingFctColor = 5;
*/
public long getIdPdfShaddingFctColor() {
return idPdfShaddingFctColor_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (x0_ != 0F) {
output.writeFloat(1, x0_);
}
if (y0_ != 0F) {
output.writeFloat(2, y0_);
}
if (x1_ != 0F) {
output.writeFloat(3, x1_);
}
if (y1_ != 0F) {
output.writeFloat(4, y1_);
}
if (idPdfShaddingFctColor_ != 0L) {
output.writeInt64(5, idPdfShaddingFctColor_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (x0_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(1, x0_);
}
if (y0_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, y0_);
}
if (x1_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, x1_);
}
if (y1_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(4, y1_);
}
if (idPdfShaddingFctColor_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, idPdfShaddingFctColor_);
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfColorShadding_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto other = (com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto) obj;
boolean result = true;
result = result && (
java.lang.Float.floatToIntBits(getX0())
== java.lang.Float.floatToIntBits(
other.getX0()));
result = result && (
java.lang.Float.floatToIntBits(getY0())
== java.lang.Float.floatToIntBits(
other.getY0()));
result = result && (
java.lang.Float.floatToIntBits(getX1())
== java.lang.Float.floatToIntBits(
other.getX1()));
result = result && (
java.lang.Float.floatToIntBits(getY1())
== java.lang.Float.floatToIntBits(
other.getY1()));
result = result && (getIdPdfShaddingFctColor()
== other.getIdPdfShaddingFctColor());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + X0_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getX0());
hash = (37 * hash) + Y0_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getY0());
hash = (37 * hash) + X1_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getX1());
hash = (37 * hash) + Y1_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getY1());
hash = (37 * hash) + IDPDFSHADDINGFCTCOLOR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIdPdfShaddingFctColor());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto 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.sysalto.render.serialization.RenderProto.PdfColorShadding_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto 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.sysalto.render.serialization.RenderProto.PdfColorShadding_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfColorShadding_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfColorShadding_proto)
com.sysalto.render.serialization.RenderProto.PdfColorShadding_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfColorShadding_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfColorShadding_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.class, com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
x0_ = 0F;
y0_ = 0F;
x1_ = 0F;
y1_ = 0F;
idPdfShaddingFctColor_ = 0L;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfColorShadding_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto build() {
com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto result = new com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto(this);
result.x0_ = x0_;
result.y0_ = y0_;
result.x1_ = x1_;
result.y1_ = y1_;
result.idPdfShaddingFctColor_ = idPdfShaddingFctColor_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto.getDefaultInstance()) return this;
if (other.getX0() != 0F) {
setX0(other.getX0());
}
if (other.getY0() != 0F) {
setY0(other.getY0());
}
if (other.getX1() != 0F) {
setX1(other.getX1());
}
if (other.getY1() != 0F) {
setY1(other.getY1());
}
if (other.getIdPdfShaddingFctColor() != 0L) {
setIdPdfShaddingFctColor(other.getIdPdfShaddingFctColor());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private float x0_ ;
/**
* float x0 = 1;
*/
public float getX0() {
return x0_;
}
/**
* float x0 = 1;
*/
public Builder setX0(float value) {
x0_ = value;
onChanged();
return this;
}
/**
* float x0 = 1;
*/
public Builder clearX0() {
x0_ = 0F;
onChanged();
return this;
}
private float y0_ ;
/**
* float y0 = 2;
*/
public float getY0() {
return y0_;
}
/**
* float y0 = 2;
*/
public Builder setY0(float value) {
y0_ = value;
onChanged();
return this;
}
/**
* float y0 = 2;
*/
public Builder clearY0() {
y0_ = 0F;
onChanged();
return this;
}
private float x1_ ;
/**
* float x1 = 3;
*/
public float getX1() {
return x1_;
}
/**
* float x1 = 3;
*/
public Builder setX1(float value) {
x1_ = value;
onChanged();
return this;
}
/**
* float x1 = 3;
*/
public Builder clearX1() {
x1_ = 0F;
onChanged();
return this;
}
private float y1_ ;
/**
* float y1 = 4;
*/
public float getY1() {
return y1_;
}
/**
* float y1 = 4;
*/
public Builder setY1(float value) {
y1_ = value;
onChanged();
return this;
}
/**
* float y1 = 4;
*/
public Builder clearY1() {
y1_ = 0F;
onChanged();
return this;
}
private long idPdfShaddingFctColor_ ;
/**
* int64 idPdfShaddingFctColor = 5;
*/
public long getIdPdfShaddingFctColor() {
return idPdfShaddingFctColor_;
}
/**
* int64 idPdfShaddingFctColor = 5;
*/
public Builder setIdPdfShaddingFctColor(long value) {
idPdfShaddingFctColor_ = value;
onChanged();
return this;
}
/**
* int64 idPdfShaddingFctColor = 5;
*/
public Builder clearIdPdfShaddingFctColor() {
idPdfShaddingFctColor_ = 0L;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfColorShadding_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfColorShadding_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfColorShadding_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfColorShadding_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfColorShadding_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PdfGPattern_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfGPattern_proto)
com.google.protobuf.MessageOrBuilder {
/**
* int64 idPdfShadding = 1;
*/
long getIdPdfShadding();
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfGPattern_proto}
*/
public static final class PdfGPattern_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfGPattern_proto)
PdfGPattern_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfGPattern_proto.newBuilder() to construct.
private PdfGPattern_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfGPattern_proto() {
idPdfShadding_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfGPattern_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
idPdfShadding_ = input.readInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfGPattern_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfGPattern_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.class, com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.Builder.class);
}
public static final int IDPDFSHADDING_FIELD_NUMBER = 1;
private long idPdfShadding_;
/**
* int64 idPdfShadding = 1;
*/
public long getIdPdfShadding() {
return idPdfShadding_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (idPdfShadding_ != 0L) {
output.writeInt64(1, idPdfShadding_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (idPdfShadding_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, idPdfShadding_);
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfGPattern_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfGPattern_proto other = (com.sysalto.render.serialization.RenderProto.PdfGPattern_proto) obj;
boolean result = true;
result = result && (getIdPdfShadding()
== other.getIdPdfShadding());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + IDPDFSHADDING_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIdPdfShadding());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfGPattern_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfGPattern_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfGPattern_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfGPattern_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfGPattern_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfGPattern_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfGPattern_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfGPattern_proto 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.sysalto.render.serialization.RenderProto.PdfGPattern_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfGPattern_proto 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.sysalto.render.serialization.RenderProto.PdfGPattern_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfGPattern_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfGPattern_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfGPattern_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfGPattern_proto)
com.sysalto.render.serialization.RenderProto.PdfGPattern_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfGPattern_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfGPattern_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.class, com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
idPdfShadding_ = 0L;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfGPattern_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfGPattern_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfGPattern_proto build() {
com.sysalto.render.serialization.RenderProto.PdfGPattern_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfGPattern_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfGPattern_proto result = new com.sysalto.render.serialization.RenderProto.PdfGPattern_proto(this);
result.idPdfShadding_ = idPdfShadding_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfGPattern_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfGPattern_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfGPattern_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfGPattern_proto.getDefaultInstance()) return this;
if (other.getIdPdfShadding() != 0L) {
setIdPdfShadding(other.getIdPdfShadding());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfGPattern_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfGPattern_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long idPdfShadding_ ;
/**
* int64 idPdfShadding = 1;
*/
public long getIdPdfShadding() {
return idPdfShadding_;
}
/**
* int64 idPdfShadding = 1;
*/
public Builder setIdPdfShadding(long value) {
idPdfShadding_ = value;
onChanged();
return this;
}
/**
* int64 idPdfShadding = 1;
*/
public Builder clearIdPdfShadding() {
idPdfShadding_ = 0L;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfGPattern_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfGPattern_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfGPattern_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfGPattern_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfGPattern_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfGPattern_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfGPattern_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfGPattern_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PdfGraphicFragment_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfGraphicFragment_proto)
com.google.protobuf.MessageOrBuilder {
/**
* string content = 1;
*/
java.lang.String getContent();
/**
* string content = 1;
*/
com.google.protobuf.ByteString
getContentBytes();
/**
* .com.sysalto.render.serialization.DrawLine_proto drawLine_proto = 2;
*/
boolean hasDrawLineProto();
/**
* .com.sysalto.render.serialization.DrawLine_proto drawLine_proto = 2;
*/
com.sysalto.render.serialization.RenderProto.DrawLine_proto getDrawLineProto();
/**
* .com.sysalto.render.serialization.DrawLine_proto drawLine_proto = 2;
*/
com.sysalto.render.serialization.RenderProto.DrawLine_protoOrBuilder getDrawLineProtoOrBuilder();
/**
* .com.sysalto.render.serialization.PdfRectangle_proto pdfRectangle_proto = 3;
*/
boolean hasPdfRectangleProto();
/**
* .com.sysalto.render.serialization.PdfRectangle_proto pdfRectangle_proto = 3;
*/
com.sysalto.render.serialization.RenderProto.PdfRectangle_proto getPdfRectangleProto();
/**
* .com.sysalto.render.serialization.PdfRectangle_proto pdfRectangle_proto = 3;
*/
com.sysalto.render.serialization.RenderProto.PdfRectangle_protoOrBuilder getPdfRectangleProtoOrBuilder();
/**
* .com.sysalto.render.serialization.DrawStroke_proto drawStroke_proto = 4;
*/
boolean hasDrawStrokeProto();
/**
* .com.sysalto.render.serialization.DrawStroke_proto drawStroke_proto = 4;
*/
com.sysalto.render.serialization.RenderProto.DrawStroke_proto getDrawStrokeProto();
/**
* .com.sysalto.render.serialization.DrawStroke_proto drawStroke_proto = 4;
*/
com.sysalto.render.serialization.RenderProto.DrawStroke_protoOrBuilder getDrawStrokeProtoOrBuilder();
/**
* .com.sysalto.render.serialization.PdfDrawImage_proto pdfDrawImage_proto = 5;
*/
boolean hasPdfDrawImageProto();
/**
* .com.sysalto.render.serialization.PdfDrawImage_proto pdfDrawImage_proto = 5;
*/
com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto getPdfDrawImageProto();
/**
* .com.sysalto.render.serialization.PdfDrawImage_proto pdfDrawImage_proto = 5;
*/
com.sysalto.render.serialization.RenderProto.PdfDrawImage_protoOrBuilder getPdfDrawImageProtoOrBuilder();
/**
* .com.sysalto.render.serialization.DrawPieChart_proto drawPieChart_proto = 6;
*/
boolean hasDrawPieChartProto();
/**
* .com.sysalto.render.serialization.DrawPieChart_proto drawPieChart_proto = 6;
*/
com.sysalto.render.serialization.RenderProto.DrawPieChart_proto getDrawPieChartProto();
/**
* .com.sysalto.render.serialization.DrawPieChart_proto drawPieChart_proto = 6;
*/
com.sysalto.render.serialization.RenderProto.DrawPieChart_protoOrBuilder getDrawPieChartProtoOrBuilder();
/**
* .com.sysalto.report.serialization.common.DirectDrawMovePoint_proto directDrawMovePoint_proto = 7;
*/
boolean hasDirectDrawMovePointProto();
/**
* .com.sysalto.report.serialization.common.DirectDrawMovePoint_proto directDrawMovePoint_proto = 7;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto getDirectDrawMovePointProto();
/**
* .com.sysalto.report.serialization.common.DirectDrawMovePoint_proto directDrawMovePoint_proto = 7;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_protoOrBuilder getDirectDrawMovePointProtoOrBuilder();
/**
* .com.sysalto.report.serialization.common.DirectDrawLine_proto directDrawLine_proto = 8;
*/
boolean hasDirectDrawLineProto();
/**
* .com.sysalto.report.serialization.common.DirectDrawLine_proto directDrawLine_proto = 8;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto getDirectDrawLineProto();
/**
* .com.sysalto.report.serialization.common.DirectDrawLine_proto directDrawLine_proto = 8;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_protoOrBuilder getDirectDrawLineProtoOrBuilder();
/**
* .com.sysalto.report.serialization.common.DirectFillStroke_proto directFillStroke_proto = 9;
*/
boolean hasDirectFillStrokeProto();
/**
* .com.sysalto.report.serialization.common.DirectFillStroke_proto directFillStroke_proto = 9;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto getDirectFillStrokeProto();
/**
* .com.sysalto.report.serialization.common.DirectFillStroke_proto directFillStroke_proto = 9;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_protoOrBuilder getDirectFillStrokeProtoOrBuilder();
/**
* .com.sysalto.report.serialization.common.DirectDrawRectangle_proto directDrawRectangle_proto = 10;
*/
boolean hasDirectDrawRectangleProto();
/**
* .com.sysalto.report.serialization.common.DirectDrawRectangle_proto directDrawRectangle_proto = 10;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto getDirectDrawRectangleProto();
/**
* .com.sysalto.report.serialization.common.DirectDrawRectangle_proto directDrawRectangle_proto = 10;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_protoOrBuilder getDirectDrawRectangleProtoOrBuilder();
/**
* .com.sysalto.report.serialization.common.DirectDraw_proto directDraw_proto = 11;
*/
boolean hasDirectDrawProto();
/**
* .com.sysalto.report.serialization.common.DirectDraw_proto directDraw_proto = 11;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto getDirectDrawProto();
/**
* .com.sysalto.report.serialization.common.DirectDraw_proto directDraw_proto = 11;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_protoOrBuilder getDirectDrawProtoOrBuilder();
/**
* .com.sysalto.report.serialization.common.DirectDrawCircle_proto directDrawCircle_proto = 12;
*/
boolean hasDirectDrawCircleProto();
/**
* .com.sysalto.report.serialization.common.DirectDrawCircle_proto directDrawCircle_proto = 12;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto getDirectDrawCircleProto();
/**
* .com.sysalto.report.serialization.common.DirectDrawCircle_proto directDrawCircle_proto = 12;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_protoOrBuilder getDirectDrawCircleProtoOrBuilder();
/**
* .com.sysalto.report.serialization.common.DirectDrawArc_proto directDrawArc_proto = 13;
*/
boolean hasDirectDrawArcProto();
/**
* .com.sysalto.report.serialization.common.DirectDrawArc_proto directDrawArc_proto = 13;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto getDirectDrawArcProto();
/**
* .com.sysalto.report.serialization.common.DirectDrawArc_proto directDrawArc_proto = 13;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_protoOrBuilder getDirectDrawArcProtoOrBuilder();
/**
* .com.sysalto.report.serialization.common.DirectDrawFill_proto direct_draw_fill_proto = 14;
*/
boolean hasDirectDrawFillProto();
/**
* .com.sysalto.report.serialization.common.DirectDrawFill_proto direct_draw_fill_proto = 14;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto getDirectDrawFillProto();
/**
* .com.sysalto.report.serialization.common.DirectDrawFill_proto direct_draw_fill_proto = 14;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_protoOrBuilder getDirectDrawFillProtoOrBuilder();
/**
* .com.sysalto.report.serialization.common.DirectDrawStroke_proto direct_draw_stroke_proto = 15;
*/
boolean hasDirectDrawStrokeProto();
/**
* .com.sysalto.report.serialization.common.DirectDrawStroke_proto direct_draw_stroke_proto = 15;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto getDirectDrawStrokeProto();
/**
* .com.sysalto.report.serialization.common.DirectDrawStroke_proto direct_draw_stroke_proto = 15;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_protoOrBuilder getDirectDrawStrokeProtoOrBuilder();
/**
* .com.sysalto.report.serialization.common.DirectDrawClosePath_proto direct_draw_close_path_proto = 16;
*/
boolean hasDirectDrawClosePathProto();
/**
* .com.sysalto.report.serialization.common.DirectDrawClosePath_proto direct_draw_close_path_proto = 16;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto getDirectDrawClosePathProto();
/**
* .com.sysalto.report.serialization.common.DirectDrawClosePath_proto direct_draw_close_path_proto = 16;
*/
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_protoOrBuilder getDirectDrawClosePathProtoOrBuilder();
public com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.FieldCase getFieldCase();
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfGraphicFragment_proto}
*/
public static final class PdfGraphicFragment_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfGraphicFragment_proto)
PdfGraphicFragment_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfGraphicFragment_proto.newBuilder() to construct.
private PdfGraphicFragment_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfGraphicFragment_proto() {
content_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfGraphicFragment_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
content_ = s;
break;
}
case 18: {
com.sysalto.render.serialization.RenderProto.DrawLine_proto.Builder subBuilder = null;
if (fieldCase_ == 2) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.DrawLine_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.DrawLine_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.DrawLine_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 2;
break;
}
case 26: {
com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.Builder subBuilder = null;
if (fieldCase_ == 3) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfRectangle_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfRectangle_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 3;
break;
}
case 34: {
com.sysalto.render.serialization.RenderProto.DrawStroke_proto.Builder subBuilder = null;
if (fieldCase_ == 4) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.DrawStroke_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.DrawStroke_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.DrawStroke_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 4;
break;
}
case 42: {
com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.Builder subBuilder = null;
if (fieldCase_ == 5) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 5;
break;
}
case 50: {
com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.Builder subBuilder = null;
if (fieldCase_ == 6) {
subBuilder = ((com.sysalto.render.serialization.RenderProto.DrawPieChart_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.render.serialization.RenderProto.DrawPieChart_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 6;
break;
}
case 58: {
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto.Builder subBuilder = null;
if (fieldCase_ == 7) {
subBuilder = ((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 7;
break;
}
case 66: {
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto.Builder subBuilder = null;
if (fieldCase_ == 8) {
subBuilder = ((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 8;
break;
}
case 74: {
com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto.Builder subBuilder = null;
if (fieldCase_ == 9) {
subBuilder = ((com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 9;
break;
}
case 82: {
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto.Builder subBuilder = null;
if (fieldCase_ == 10) {
subBuilder = ((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 10;
break;
}
case 90: {
com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto.Builder subBuilder = null;
if (fieldCase_ == 11) {
subBuilder = ((com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 11;
break;
}
case 98: {
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto.Builder subBuilder = null;
if (fieldCase_ == 12) {
subBuilder = ((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 12;
break;
}
case 106: {
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto.Builder subBuilder = null;
if (fieldCase_ == 13) {
subBuilder = ((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 13;
break;
}
case 114: {
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto.Builder subBuilder = null;
if (fieldCase_ == 14) {
subBuilder = ((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 14;
break;
}
case 122: {
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto.Builder subBuilder = null;
if (fieldCase_ == 15) {
subBuilder = ((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 15;
break;
}
case 130: {
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto.Builder subBuilder = null;
if (fieldCase_ == 16) {
subBuilder = ((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto) field_).toBuilder();
}
field_ =
input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto) field_);
field_ = subBuilder.buildPartial();
}
fieldCase_ = 16;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfGraphicFragment_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfGraphicFragment_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.class, com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.Builder.class);
}
private int fieldCase_ = 0;
private java.lang.Object field_;
public enum FieldCase
implements com.google.protobuf.Internal.EnumLite {
DRAWLINE_PROTO(2),
PDFRECTANGLE_PROTO(3),
DRAWSTROKE_PROTO(4),
PDFDRAWIMAGE_PROTO(5),
DRAWPIECHART_PROTO(6),
DIRECTDRAWMOVEPOINT_PROTO(7),
DIRECTDRAWLINE_PROTO(8),
DIRECTFILLSTROKE_PROTO(9),
DIRECTDRAWRECTANGLE_PROTO(10),
DIRECTDRAW_PROTO(11),
DIRECTDRAWCIRCLE_PROTO(12),
DIRECTDRAWARC_PROTO(13),
DIRECT_DRAW_FILL_PROTO(14),
DIRECT_DRAW_STROKE_PROTO(15),
DIRECT_DRAW_CLOSE_PATH_PROTO(16),
FIELD_NOT_SET(0);
private final int value;
private FieldCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static FieldCase valueOf(int value) {
return forNumber(value);
}
public static FieldCase forNumber(int value) {
switch (value) {
case 2: return DRAWLINE_PROTO;
case 3: return PDFRECTANGLE_PROTO;
case 4: return DRAWSTROKE_PROTO;
case 5: return PDFDRAWIMAGE_PROTO;
case 6: return DRAWPIECHART_PROTO;
case 7: return DIRECTDRAWMOVEPOINT_PROTO;
case 8: return DIRECTDRAWLINE_PROTO;
case 9: return DIRECTFILLSTROKE_PROTO;
case 10: return DIRECTDRAWRECTANGLE_PROTO;
case 11: return DIRECTDRAW_PROTO;
case 12: return DIRECTDRAWCIRCLE_PROTO;
case 13: return DIRECTDRAWARC_PROTO;
case 14: return DIRECT_DRAW_FILL_PROTO;
case 15: return DIRECT_DRAW_STROKE_PROTO;
case 16: return DIRECT_DRAW_CLOSE_PATH_PROTO;
case 0: return FIELD_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public FieldCase
getFieldCase() {
return FieldCase.forNumber(
fieldCase_);
}
public static final int CONTENT_FIELD_NUMBER = 1;
private volatile java.lang.Object content_;
/**
* string content = 1;
*/
public java.lang.String getContent() {
java.lang.Object ref = content_;
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();
content_ = s;
return s;
}
}
/**
* string content = 1;
*/
public com.google.protobuf.ByteString
getContentBytes() {
java.lang.Object ref = content_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
content_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DRAWLINE_PROTO_FIELD_NUMBER = 2;
/**
* .com.sysalto.render.serialization.DrawLine_proto drawLine_proto = 2;
*/
public boolean hasDrawLineProto() {
return fieldCase_ == 2;
}
/**
* .com.sysalto.render.serialization.DrawLine_proto drawLine_proto = 2;
*/
public com.sysalto.render.serialization.RenderProto.DrawLine_proto getDrawLineProto() {
if (fieldCase_ == 2) {
return (com.sysalto.render.serialization.RenderProto.DrawLine_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.DrawLine_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.DrawLine_proto drawLine_proto = 2;
*/
public com.sysalto.render.serialization.RenderProto.DrawLine_protoOrBuilder getDrawLineProtoOrBuilder() {
if (fieldCase_ == 2) {
return (com.sysalto.render.serialization.RenderProto.DrawLine_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.DrawLine_proto.getDefaultInstance();
}
public static final int PDFRECTANGLE_PROTO_FIELD_NUMBER = 3;
/**
* .com.sysalto.render.serialization.PdfRectangle_proto pdfRectangle_proto = 3;
*/
public boolean hasPdfRectangleProto() {
return fieldCase_ == 3;
}
/**
* .com.sysalto.render.serialization.PdfRectangle_proto pdfRectangle_proto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfRectangle_proto getPdfRectangleProto() {
if (fieldCase_ == 3) {
return (com.sysalto.render.serialization.RenderProto.PdfRectangle_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfRectangle_proto pdfRectangle_proto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfRectangle_protoOrBuilder getPdfRectangleProtoOrBuilder() {
if (fieldCase_ == 3) {
return (com.sysalto.render.serialization.RenderProto.PdfRectangle_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.getDefaultInstance();
}
public static final int DRAWSTROKE_PROTO_FIELD_NUMBER = 4;
/**
* .com.sysalto.render.serialization.DrawStroke_proto drawStroke_proto = 4;
*/
public boolean hasDrawStrokeProto() {
return fieldCase_ == 4;
}
/**
* .com.sysalto.render.serialization.DrawStroke_proto drawStroke_proto = 4;
*/
public com.sysalto.render.serialization.RenderProto.DrawStroke_proto getDrawStrokeProto() {
if (fieldCase_ == 4) {
return (com.sysalto.render.serialization.RenderProto.DrawStroke_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.DrawStroke_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.DrawStroke_proto drawStroke_proto = 4;
*/
public com.sysalto.render.serialization.RenderProto.DrawStroke_protoOrBuilder getDrawStrokeProtoOrBuilder() {
if (fieldCase_ == 4) {
return (com.sysalto.render.serialization.RenderProto.DrawStroke_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.DrawStroke_proto.getDefaultInstance();
}
public static final int PDFDRAWIMAGE_PROTO_FIELD_NUMBER = 5;
/**
* .com.sysalto.render.serialization.PdfDrawImage_proto pdfDrawImage_proto = 5;
*/
public boolean hasPdfDrawImageProto() {
return fieldCase_ == 5;
}
/**
* .com.sysalto.render.serialization.PdfDrawImage_proto pdfDrawImage_proto = 5;
*/
public com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto getPdfDrawImageProto() {
if (fieldCase_ == 5) {
return (com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.PdfDrawImage_proto pdfDrawImage_proto = 5;
*/
public com.sysalto.render.serialization.RenderProto.PdfDrawImage_protoOrBuilder getPdfDrawImageProtoOrBuilder() {
if (fieldCase_ == 5) {
return (com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.getDefaultInstance();
}
public static final int DRAWPIECHART_PROTO_FIELD_NUMBER = 6;
/**
* .com.sysalto.render.serialization.DrawPieChart_proto drawPieChart_proto = 6;
*/
public boolean hasDrawPieChartProto() {
return fieldCase_ == 6;
}
/**
* .com.sysalto.render.serialization.DrawPieChart_proto drawPieChart_proto = 6;
*/
public com.sysalto.render.serialization.RenderProto.DrawPieChart_proto getDrawPieChartProto() {
if (fieldCase_ == 6) {
return (com.sysalto.render.serialization.RenderProto.DrawPieChart_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.getDefaultInstance();
}
/**
* .com.sysalto.render.serialization.DrawPieChart_proto drawPieChart_proto = 6;
*/
public com.sysalto.render.serialization.RenderProto.DrawPieChart_protoOrBuilder getDrawPieChartProtoOrBuilder() {
if (fieldCase_ == 6) {
return (com.sysalto.render.serialization.RenderProto.DrawPieChart_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.getDefaultInstance();
}
public static final int DIRECTDRAWMOVEPOINT_PROTO_FIELD_NUMBER = 7;
/**
* .com.sysalto.report.serialization.common.DirectDrawMovePoint_proto directDrawMovePoint_proto = 7;
*/
public boolean hasDirectDrawMovePointProto() {
return fieldCase_ == 7;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawMovePoint_proto directDrawMovePoint_proto = 7;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto getDirectDrawMovePointProto() {
if (fieldCase_ == 7) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto.getDefaultInstance();
}
/**
* .com.sysalto.report.serialization.common.DirectDrawMovePoint_proto directDrawMovePoint_proto = 7;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_protoOrBuilder getDirectDrawMovePointProtoOrBuilder() {
if (fieldCase_ == 7) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto.getDefaultInstance();
}
public static final int DIRECTDRAWLINE_PROTO_FIELD_NUMBER = 8;
/**
* .com.sysalto.report.serialization.common.DirectDrawLine_proto directDrawLine_proto = 8;
*/
public boolean hasDirectDrawLineProto() {
return fieldCase_ == 8;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawLine_proto directDrawLine_proto = 8;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto getDirectDrawLineProto() {
if (fieldCase_ == 8) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto.getDefaultInstance();
}
/**
* .com.sysalto.report.serialization.common.DirectDrawLine_proto directDrawLine_proto = 8;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_protoOrBuilder getDirectDrawLineProtoOrBuilder() {
if (fieldCase_ == 8) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto.getDefaultInstance();
}
public static final int DIRECTFILLSTROKE_PROTO_FIELD_NUMBER = 9;
/**
* .com.sysalto.report.serialization.common.DirectFillStroke_proto directFillStroke_proto = 9;
*/
public boolean hasDirectFillStrokeProto() {
return fieldCase_ == 9;
}
/**
* .com.sysalto.report.serialization.common.DirectFillStroke_proto directFillStroke_proto = 9;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto getDirectFillStrokeProto() {
if (fieldCase_ == 9) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto.getDefaultInstance();
}
/**
* .com.sysalto.report.serialization.common.DirectFillStroke_proto directFillStroke_proto = 9;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_protoOrBuilder getDirectFillStrokeProtoOrBuilder() {
if (fieldCase_ == 9) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto.getDefaultInstance();
}
public static final int DIRECTDRAWRECTANGLE_PROTO_FIELD_NUMBER = 10;
/**
* .com.sysalto.report.serialization.common.DirectDrawRectangle_proto directDrawRectangle_proto = 10;
*/
public boolean hasDirectDrawRectangleProto() {
return fieldCase_ == 10;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawRectangle_proto directDrawRectangle_proto = 10;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto getDirectDrawRectangleProto() {
if (fieldCase_ == 10) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto.getDefaultInstance();
}
/**
* .com.sysalto.report.serialization.common.DirectDrawRectangle_proto directDrawRectangle_proto = 10;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_protoOrBuilder getDirectDrawRectangleProtoOrBuilder() {
if (fieldCase_ == 10) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto.getDefaultInstance();
}
public static final int DIRECTDRAW_PROTO_FIELD_NUMBER = 11;
/**
* .com.sysalto.report.serialization.common.DirectDraw_proto directDraw_proto = 11;
*/
public boolean hasDirectDrawProto() {
return fieldCase_ == 11;
}
/**
* .com.sysalto.report.serialization.common.DirectDraw_proto directDraw_proto = 11;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto getDirectDrawProto() {
if (fieldCase_ == 11) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto.getDefaultInstance();
}
/**
* .com.sysalto.report.serialization.common.DirectDraw_proto directDraw_proto = 11;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_protoOrBuilder getDirectDrawProtoOrBuilder() {
if (fieldCase_ == 11) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto.getDefaultInstance();
}
public static final int DIRECTDRAWCIRCLE_PROTO_FIELD_NUMBER = 12;
/**
* .com.sysalto.report.serialization.common.DirectDrawCircle_proto directDrawCircle_proto = 12;
*/
public boolean hasDirectDrawCircleProto() {
return fieldCase_ == 12;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawCircle_proto directDrawCircle_proto = 12;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto getDirectDrawCircleProto() {
if (fieldCase_ == 12) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto.getDefaultInstance();
}
/**
* .com.sysalto.report.serialization.common.DirectDrawCircle_proto directDrawCircle_proto = 12;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_protoOrBuilder getDirectDrawCircleProtoOrBuilder() {
if (fieldCase_ == 12) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto.getDefaultInstance();
}
public static final int DIRECTDRAWARC_PROTO_FIELD_NUMBER = 13;
/**
* .com.sysalto.report.serialization.common.DirectDrawArc_proto directDrawArc_proto = 13;
*/
public boolean hasDirectDrawArcProto() {
return fieldCase_ == 13;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawArc_proto directDrawArc_proto = 13;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto getDirectDrawArcProto() {
if (fieldCase_ == 13) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto.getDefaultInstance();
}
/**
* .com.sysalto.report.serialization.common.DirectDrawArc_proto directDrawArc_proto = 13;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_protoOrBuilder getDirectDrawArcProtoOrBuilder() {
if (fieldCase_ == 13) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto.getDefaultInstance();
}
public static final int DIRECT_DRAW_FILL_PROTO_FIELD_NUMBER = 14;
/**
* .com.sysalto.report.serialization.common.DirectDrawFill_proto direct_draw_fill_proto = 14;
*/
public boolean hasDirectDrawFillProto() {
return fieldCase_ == 14;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawFill_proto direct_draw_fill_proto = 14;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto getDirectDrawFillProto() {
if (fieldCase_ == 14) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto.getDefaultInstance();
}
/**
* .com.sysalto.report.serialization.common.DirectDrawFill_proto direct_draw_fill_proto = 14;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_protoOrBuilder getDirectDrawFillProtoOrBuilder() {
if (fieldCase_ == 14) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto.getDefaultInstance();
}
public static final int DIRECT_DRAW_STROKE_PROTO_FIELD_NUMBER = 15;
/**
* .com.sysalto.report.serialization.common.DirectDrawStroke_proto direct_draw_stroke_proto = 15;
*/
public boolean hasDirectDrawStrokeProto() {
return fieldCase_ == 15;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawStroke_proto direct_draw_stroke_proto = 15;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto getDirectDrawStrokeProto() {
if (fieldCase_ == 15) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto.getDefaultInstance();
}
/**
* .com.sysalto.report.serialization.common.DirectDrawStroke_proto direct_draw_stroke_proto = 15;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_protoOrBuilder getDirectDrawStrokeProtoOrBuilder() {
if (fieldCase_ == 15) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto.getDefaultInstance();
}
public static final int DIRECT_DRAW_CLOSE_PATH_PROTO_FIELD_NUMBER = 16;
/**
* .com.sysalto.report.serialization.common.DirectDrawClosePath_proto direct_draw_close_path_proto = 16;
*/
public boolean hasDirectDrawClosePathProto() {
return fieldCase_ == 16;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawClosePath_proto direct_draw_close_path_proto = 16;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto getDirectDrawClosePathProto() {
if (fieldCase_ == 16) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto.getDefaultInstance();
}
/**
* .com.sysalto.report.serialization.common.DirectDrawClosePath_proto direct_draw_close_path_proto = 16;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_protoOrBuilder getDirectDrawClosePathProtoOrBuilder() {
if (fieldCase_ == 16) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getContentBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, content_);
}
if (fieldCase_ == 2) {
output.writeMessage(2, (com.sysalto.render.serialization.RenderProto.DrawLine_proto) field_);
}
if (fieldCase_ == 3) {
output.writeMessage(3, (com.sysalto.render.serialization.RenderProto.PdfRectangle_proto) field_);
}
if (fieldCase_ == 4) {
output.writeMessage(4, (com.sysalto.render.serialization.RenderProto.DrawStroke_proto) field_);
}
if (fieldCase_ == 5) {
output.writeMessage(5, (com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto) field_);
}
if (fieldCase_ == 6) {
output.writeMessage(6, (com.sysalto.render.serialization.RenderProto.DrawPieChart_proto) field_);
}
if (fieldCase_ == 7) {
output.writeMessage(7, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto) field_);
}
if (fieldCase_ == 8) {
output.writeMessage(8, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto) field_);
}
if (fieldCase_ == 9) {
output.writeMessage(9, (com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto) field_);
}
if (fieldCase_ == 10) {
output.writeMessage(10, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto) field_);
}
if (fieldCase_ == 11) {
output.writeMessage(11, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto) field_);
}
if (fieldCase_ == 12) {
output.writeMessage(12, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto) field_);
}
if (fieldCase_ == 13) {
output.writeMessage(13, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto) field_);
}
if (fieldCase_ == 14) {
output.writeMessage(14, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto) field_);
}
if (fieldCase_ == 15) {
output.writeMessage(15, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto) field_);
}
if (fieldCase_ == 16) {
output.writeMessage(16, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto) field_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getContentBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, content_);
}
if (fieldCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (com.sysalto.render.serialization.RenderProto.DrawLine_proto) field_);
}
if (fieldCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (com.sysalto.render.serialization.RenderProto.PdfRectangle_proto) field_);
}
if (fieldCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (com.sysalto.render.serialization.RenderProto.DrawStroke_proto) field_);
}
if (fieldCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto) field_);
}
if (fieldCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (com.sysalto.render.serialization.RenderProto.DrawPieChart_proto) field_);
}
if (fieldCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto) field_);
}
if (fieldCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto) field_);
}
if (fieldCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto) field_);
}
if (fieldCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto) field_);
}
if (fieldCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto) field_);
}
if (fieldCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto) field_);
}
if (fieldCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto) field_);
}
if (fieldCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto) field_);
}
if (fieldCase_ == 15) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto) field_);
}
if (fieldCase_ == 16) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto) field_);
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto other = (com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto) obj;
boolean result = true;
result = result && getContent()
.equals(other.getContent());
result = result && getFieldCase().equals(
other.getFieldCase());
if (!result) return false;
switch (fieldCase_) {
case 2:
result = result && getDrawLineProto()
.equals(other.getDrawLineProto());
break;
case 3:
result = result && getPdfRectangleProto()
.equals(other.getPdfRectangleProto());
break;
case 4:
result = result && getDrawStrokeProto()
.equals(other.getDrawStrokeProto());
break;
case 5:
result = result && getPdfDrawImageProto()
.equals(other.getPdfDrawImageProto());
break;
case 6:
result = result && getDrawPieChartProto()
.equals(other.getDrawPieChartProto());
break;
case 7:
result = result && getDirectDrawMovePointProto()
.equals(other.getDirectDrawMovePointProto());
break;
case 8:
result = result && getDirectDrawLineProto()
.equals(other.getDirectDrawLineProto());
break;
case 9:
result = result && getDirectFillStrokeProto()
.equals(other.getDirectFillStrokeProto());
break;
case 10:
result = result && getDirectDrawRectangleProto()
.equals(other.getDirectDrawRectangleProto());
break;
case 11:
result = result && getDirectDrawProto()
.equals(other.getDirectDrawProto());
break;
case 12:
result = result && getDirectDrawCircleProto()
.equals(other.getDirectDrawCircleProto());
break;
case 13:
result = result && getDirectDrawArcProto()
.equals(other.getDirectDrawArcProto());
break;
case 14:
result = result && getDirectDrawFillProto()
.equals(other.getDirectDrawFillProto());
break;
case 15:
result = result && getDirectDrawStrokeProto()
.equals(other.getDirectDrawStrokeProto());
break;
case 16:
result = result && getDirectDrawClosePathProto()
.equals(other.getDirectDrawClosePathProto());
break;
case 0:
default:
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
switch (fieldCase_) {
case 2:
hash = (37 * hash) + DRAWLINE_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getDrawLineProto().hashCode();
break;
case 3:
hash = (37 * hash) + PDFRECTANGLE_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfRectangleProto().hashCode();
break;
case 4:
hash = (37 * hash) + DRAWSTROKE_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getDrawStrokeProto().hashCode();
break;
case 5:
hash = (37 * hash) + PDFDRAWIMAGE_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getPdfDrawImageProto().hashCode();
break;
case 6:
hash = (37 * hash) + DRAWPIECHART_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getDrawPieChartProto().hashCode();
break;
case 7:
hash = (37 * hash) + DIRECTDRAWMOVEPOINT_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getDirectDrawMovePointProto().hashCode();
break;
case 8:
hash = (37 * hash) + DIRECTDRAWLINE_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getDirectDrawLineProto().hashCode();
break;
case 9:
hash = (37 * hash) + DIRECTFILLSTROKE_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getDirectFillStrokeProto().hashCode();
break;
case 10:
hash = (37 * hash) + DIRECTDRAWRECTANGLE_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getDirectDrawRectangleProto().hashCode();
break;
case 11:
hash = (37 * hash) + DIRECTDRAW_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getDirectDrawProto().hashCode();
break;
case 12:
hash = (37 * hash) + DIRECTDRAWCIRCLE_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getDirectDrawCircleProto().hashCode();
break;
case 13:
hash = (37 * hash) + DIRECTDRAWARC_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getDirectDrawArcProto().hashCode();
break;
case 14:
hash = (37 * hash) + DIRECT_DRAW_FILL_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getDirectDrawFillProto().hashCode();
break;
case 15:
hash = (37 * hash) + DIRECT_DRAW_STROKE_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getDirectDrawStrokeProto().hashCode();
break;
case 16:
hash = (37 * hash) + DIRECT_DRAW_CLOSE_PATH_PROTO_FIELD_NUMBER;
hash = (53 * hash) + getDirectDrawClosePathProto().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto 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.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto 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.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfGraphicFragment_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfGraphicFragment_proto)
com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfGraphicFragment_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfGraphicFragment_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.class, com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
content_ = "";
fieldCase_ = 0;
field_ = null;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfGraphicFragment_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto build() {
com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto result = new com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto(this);
result.content_ = content_;
if (fieldCase_ == 2) {
if (drawLineProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = drawLineProtoBuilder_.build();
}
}
if (fieldCase_ == 3) {
if (pdfRectangleProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = pdfRectangleProtoBuilder_.build();
}
}
if (fieldCase_ == 4) {
if (drawStrokeProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = drawStrokeProtoBuilder_.build();
}
}
if (fieldCase_ == 5) {
if (pdfDrawImageProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = pdfDrawImageProtoBuilder_.build();
}
}
if (fieldCase_ == 6) {
if (drawPieChartProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = drawPieChartProtoBuilder_.build();
}
}
if (fieldCase_ == 7) {
if (directDrawMovePointProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = directDrawMovePointProtoBuilder_.build();
}
}
if (fieldCase_ == 8) {
if (directDrawLineProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = directDrawLineProtoBuilder_.build();
}
}
if (fieldCase_ == 9) {
if (directFillStrokeProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = directFillStrokeProtoBuilder_.build();
}
}
if (fieldCase_ == 10) {
if (directDrawRectangleProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = directDrawRectangleProtoBuilder_.build();
}
}
if (fieldCase_ == 11) {
if (directDrawProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = directDrawProtoBuilder_.build();
}
}
if (fieldCase_ == 12) {
if (directDrawCircleProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = directDrawCircleProtoBuilder_.build();
}
}
if (fieldCase_ == 13) {
if (directDrawArcProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = directDrawArcProtoBuilder_.build();
}
}
if (fieldCase_ == 14) {
if (directDrawFillProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = directDrawFillProtoBuilder_.build();
}
}
if (fieldCase_ == 15) {
if (directDrawStrokeProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = directDrawStrokeProtoBuilder_.build();
}
}
if (fieldCase_ == 16) {
if (directDrawClosePathProtoBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = directDrawClosePathProtoBuilder_.build();
}
}
result.fieldCase_ = fieldCase_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto.getDefaultInstance()) return this;
if (!other.getContent().isEmpty()) {
content_ = other.content_;
onChanged();
}
switch (other.getFieldCase()) {
case DRAWLINE_PROTO: {
mergeDrawLineProto(other.getDrawLineProto());
break;
}
case PDFRECTANGLE_PROTO: {
mergePdfRectangleProto(other.getPdfRectangleProto());
break;
}
case DRAWSTROKE_PROTO: {
mergeDrawStrokeProto(other.getDrawStrokeProto());
break;
}
case PDFDRAWIMAGE_PROTO: {
mergePdfDrawImageProto(other.getPdfDrawImageProto());
break;
}
case DRAWPIECHART_PROTO: {
mergeDrawPieChartProto(other.getDrawPieChartProto());
break;
}
case DIRECTDRAWMOVEPOINT_PROTO: {
mergeDirectDrawMovePointProto(other.getDirectDrawMovePointProto());
break;
}
case DIRECTDRAWLINE_PROTO: {
mergeDirectDrawLineProto(other.getDirectDrawLineProto());
break;
}
case DIRECTFILLSTROKE_PROTO: {
mergeDirectFillStrokeProto(other.getDirectFillStrokeProto());
break;
}
case DIRECTDRAWRECTANGLE_PROTO: {
mergeDirectDrawRectangleProto(other.getDirectDrawRectangleProto());
break;
}
case DIRECTDRAW_PROTO: {
mergeDirectDrawProto(other.getDirectDrawProto());
break;
}
case DIRECTDRAWCIRCLE_PROTO: {
mergeDirectDrawCircleProto(other.getDirectDrawCircleProto());
break;
}
case DIRECTDRAWARC_PROTO: {
mergeDirectDrawArcProto(other.getDirectDrawArcProto());
break;
}
case DIRECT_DRAW_FILL_PROTO: {
mergeDirectDrawFillProto(other.getDirectDrawFillProto());
break;
}
case DIRECT_DRAW_STROKE_PROTO: {
mergeDirectDrawStrokeProto(other.getDirectDrawStrokeProto());
break;
}
case DIRECT_DRAW_CLOSE_PATH_PROTO: {
mergeDirectDrawClosePathProto(other.getDirectDrawClosePathProto());
break;
}
case FIELD_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int fieldCase_ = 0;
private java.lang.Object field_;
public FieldCase
getFieldCase() {
return FieldCase.forNumber(
fieldCase_);
}
public Builder clearField() {
fieldCase_ = 0;
field_ = null;
onChanged();
return this;
}
private java.lang.Object content_ = "";
/**
* string content = 1;
*/
public java.lang.String getContent() {
java.lang.Object ref = content_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
content_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string content = 1;
*/
public com.google.protobuf.ByteString
getContentBytes() {
java.lang.Object ref = content_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
content_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string content = 1;
*/
public Builder setContent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
onChanged();
return this;
}
/**
* string content = 1;
*/
public Builder clearContent() {
content_ = getDefaultInstance().getContent();
onChanged();
return this;
}
/**
* string content = 1;
*/
public Builder setContentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
content_ = value;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.DrawLine_proto, com.sysalto.render.serialization.RenderProto.DrawLine_proto.Builder, com.sysalto.render.serialization.RenderProto.DrawLine_protoOrBuilder> drawLineProtoBuilder_;
/**
* .com.sysalto.render.serialization.DrawLine_proto drawLine_proto = 2;
*/
public boolean hasDrawLineProto() {
return fieldCase_ == 2;
}
/**
* .com.sysalto.render.serialization.DrawLine_proto drawLine_proto = 2;
*/
public com.sysalto.render.serialization.RenderProto.DrawLine_proto getDrawLineProto() {
if (drawLineProtoBuilder_ == null) {
if (fieldCase_ == 2) {
return (com.sysalto.render.serialization.RenderProto.DrawLine_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.DrawLine_proto.getDefaultInstance();
} else {
if (fieldCase_ == 2) {
return drawLineProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.DrawLine_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.DrawLine_proto drawLine_proto = 2;
*/
public Builder setDrawLineProto(com.sysalto.render.serialization.RenderProto.DrawLine_proto value) {
if (drawLineProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
drawLineProtoBuilder_.setMessage(value);
}
fieldCase_ = 2;
return this;
}
/**
* .com.sysalto.render.serialization.DrawLine_proto drawLine_proto = 2;
*/
public Builder setDrawLineProto(
com.sysalto.render.serialization.RenderProto.DrawLine_proto.Builder builderForValue) {
if (drawLineProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
drawLineProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 2;
return this;
}
/**
* .com.sysalto.render.serialization.DrawLine_proto drawLine_proto = 2;
*/
public Builder mergeDrawLineProto(com.sysalto.render.serialization.RenderProto.DrawLine_proto value) {
if (drawLineProtoBuilder_ == null) {
if (fieldCase_ == 2 &&
field_ != com.sysalto.render.serialization.RenderProto.DrawLine_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.DrawLine_proto.newBuilder((com.sysalto.render.serialization.RenderProto.DrawLine_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 2) {
drawLineProtoBuilder_.mergeFrom(value);
}
drawLineProtoBuilder_.setMessage(value);
}
fieldCase_ = 2;
return this;
}
/**
* .com.sysalto.render.serialization.DrawLine_proto drawLine_proto = 2;
*/
public Builder clearDrawLineProto() {
if (drawLineProtoBuilder_ == null) {
if (fieldCase_ == 2) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 2) {
fieldCase_ = 0;
field_ = null;
}
drawLineProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.DrawLine_proto drawLine_proto = 2;
*/
public com.sysalto.render.serialization.RenderProto.DrawLine_proto.Builder getDrawLineProtoBuilder() {
return getDrawLineProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.DrawLine_proto drawLine_proto = 2;
*/
public com.sysalto.render.serialization.RenderProto.DrawLine_protoOrBuilder getDrawLineProtoOrBuilder() {
if ((fieldCase_ == 2) && (drawLineProtoBuilder_ != null)) {
return drawLineProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 2) {
return (com.sysalto.render.serialization.RenderProto.DrawLine_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.DrawLine_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.DrawLine_proto drawLine_proto = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.DrawLine_proto, com.sysalto.render.serialization.RenderProto.DrawLine_proto.Builder, com.sysalto.render.serialization.RenderProto.DrawLine_protoOrBuilder>
getDrawLineProtoFieldBuilder() {
if (drawLineProtoBuilder_ == null) {
if (!(fieldCase_ == 2)) {
field_ = com.sysalto.render.serialization.RenderProto.DrawLine_proto.getDefaultInstance();
}
drawLineProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.DrawLine_proto, com.sysalto.render.serialization.RenderProto.DrawLine_proto.Builder, com.sysalto.render.serialization.RenderProto.DrawLine_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.DrawLine_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 2;
onChanged();;
return drawLineProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfRectangle_proto, com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfRectangle_protoOrBuilder> pdfRectangleProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfRectangle_proto pdfRectangle_proto = 3;
*/
public boolean hasPdfRectangleProto() {
return fieldCase_ == 3;
}
/**
* .com.sysalto.render.serialization.PdfRectangle_proto pdfRectangle_proto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfRectangle_proto getPdfRectangleProto() {
if (pdfRectangleProtoBuilder_ == null) {
if (fieldCase_ == 3) {
return (com.sysalto.render.serialization.RenderProto.PdfRectangle_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.getDefaultInstance();
} else {
if (fieldCase_ == 3) {
return pdfRectangleProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfRectangle_proto pdfRectangle_proto = 3;
*/
public Builder setPdfRectangleProto(com.sysalto.render.serialization.RenderProto.PdfRectangle_proto value) {
if (pdfRectangleProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
pdfRectangleProtoBuilder_.setMessage(value);
}
fieldCase_ = 3;
return this;
}
/**
* .com.sysalto.render.serialization.PdfRectangle_proto pdfRectangle_proto = 3;
*/
public Builder setPdfRectangleProto(
com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.Builder builderForValue) {
if (pdfRectangleProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
pdfRectangleProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 3;
return this;
}
/**
* .com.sysalto.render.serialization.PdfRectangle_proto pdfRectangle_proto = 3;
*/
public Builder mergePdfRectangleProto(com.sysalto.render.serialization.RenderProto.PdfRectangle_proto value) {
if (pdfRectangleProtoBuilder_ == null) {
if (fieldCase_ == 3 &&
field_ != com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfRectangle_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 3) {
pdfRectangleProtoBuilder_.mergeFrom(value);
}
pdfRectangleProtoBuilder_.setMessage(value);
}
fieldCase_ = 3;
return this;
}
/**
* .com.sysalto.render.serialization.PdfRectangle_proto pdfRectangle_proto = 3;
*/
public Builder clearPdfRectangleProto() {
if (pdfRectangleProtoBuilder_ == null) {
if (fieldCase_ == 3) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 3) {
fieldCase_ = 0;
field_ = null;
}
pdfRectangleProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfRectangle_proto pdfRectangle_proto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.Builder getPdfRectangleProtoBuilder() {
return getPdfRectangleProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfRectangle_proto pdfRectangle_proto = 3;
*/
public com.sysalto.render.serialization.RenderProto.PdfRectangle_protoOrBuilder getPdfRectangleProtoOrBuilder() {
if ((fieldCase_ == 3) && (pdfRectangleProtoBuilder_ != null)) {
return pdfRectangleProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 3) {
return (com.sysalto.render.serialization.RenderProto.PdfRectangle_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfRectangle_proto pdfRectangle_proto = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfRectangle_proto, com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfRectangle_protoOrBuilder>
getPdfRectangleProtoFieldBuilder() {
if (pdfRectangleProtoBuilder_ == null) {
if (!(fieldCase_ == 3)) {
field_ = com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.getDefaultInstance();
}
pdfRectangleProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfRectangle_proto, com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfRectangle_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfRectangle_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 3;
onChanged();;
return pdfRectangleProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.DrawStroke_proto, com.sysalto.render.serialization.RenderProto.DrawStroke_proto.Builder, com.sysalto.render.serialization.RenderProto.DrawStroke_protoOrBuilder> drawStrokeProtoBuilder_;
/**
* .com.sysalto.render.serialization.DrawStroke_proto drawStroke_proto = 4;
*/
public boolean hasDrawStrokeProto() {
return fieldCase_ == 4;
}
/**
* .com.sysalto.render.serialization.DrawStroke_proto drawStroke_proto = 4;
*/
public com.sysalto.render.serialization.RenderProto.DrawStroke_proto getDrawStrokeProto() {
if (drawStrokeProtoBuilder_ == null) {
if (fieldCase_ == 4) {
return (com.sysalto.render.serialization.RenderProto.DrawStroke_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.DrawStroke_proto.getDefaultInstance();
} else {
if (fieldCase_ == 4) {
return drawStrokeProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.DrawStroke_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.DrawStroke_proto drawStroke_proto = 4;
*/
public Builder setDrawStrokeProto(com.sysalto.render.serialization.RenderProto.DrawStroke_proto value) {
if (drawStrokeProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
drawStrokeProtoBuilder_.setMessage(value);
}
fieldCase_ = 4;
return this;
}
/**
* .com.sysalto.render.serialization.DrawStroke_proto drawStroke_proto = 4;
*/
public Builder setDrawStrokeProto(
com.sysalto.render.serialization.RenderProto.DrawStroke_proto.Builder builderForValue) {
if (drawStrokeProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
drawStrokeProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 4;
return this;
}
/**
* .com.sysalto.render.serialization.DrawStroke_proto drawStroke_proto = 4;
*/
public Builder mergeDrawStrokeProto(com.sysalto.render.serialization.RenderProto.DrawStroke_proto value) {
if (drawStrokeProtoBuilder_ == null) {
if (fieldCase_ == 4 &&
field_ != com.sysalto.render.serialization.RenderProto.DrawStroke_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.DrawStroke_proto.newBuilder((com.sysalto.render.serialization.RenderProto.DrawStroke_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 4) {
drawStrokeProtoBuilder_.mergeFrom(value);
}
drawStrokeProtoBuilder_.setMessage(value);
}
fieldCase_ = 4;
return this;
}
/**
* .com.sysalto.render.serialization.DrawStroke_proto drawStroke_proto = 4;
*/
public Builder clearDrawStrokeProto() {
if (drawStrokeProtoBuilder_ == null) {
if (fieldCase_ == 4) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 4) {
fieldCase_ = 0;
field_ = null;
}
drawStrokeProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.DrawStroke_proto drawStroke_proto = 4;
*/
public com.sysalto.render.serialization.RenderProto.DrawStroke_proto.Builder getDrawStrokeProtoBuilder() {
return getDrawStrokeProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.DrawStroke_proto drawStroke_proto = 4;
*/
public com.sysalto.render.serialization.RenderProto.DrawStroke_protoOrBuilder getDrawStrokeProtoOrBuilder() {
if ((fieldCase_ == 4) && (drawStrokeProtoBuilder_ != null)) {
return drawStrokeProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 4) {
return (com.sysalto.render.serialization.RenderProto.DrawStroke_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.DrawStroke_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.DrawStroke_proto drawStroke_proto = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.DrawStroke_proto, com.sysalto.render.serialization.RenderProto.DrawStroke_proto.Builder, com.sysalto.render.serialization.RenderProto.DrawStroke_protoOrBuilder>
getDrawStrokeProtoFieldBuilder() {
if (drawStrokeProtoBuilder_ == null) {
if (!(fieldCase_ == 4)) {
field_ = com.sysalto.render.serialization.RenderProto.DrawStroke_proto.getDefaultInstance();
}
drawStrokeProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.DrawStroke_proto, com.sysalto.render.serialization.RenderProto.DrawStroke_proto.Builder, com.sysalto.render.serialization.RenderProto.DrawStroke_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.DrawStroke_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 4;
onChanged();;
return drawStrokeProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto, com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfDrawImage_protoOrBuilder> pdfDrawImageProtoBuilder_;
/**
* .com.sysalto.render.serialization.PdfDrawImage_proto pdfDrawImage_proto = 5;
*/
public boolean hasPdfDrawImageProto() {
return fieldCase_ == 5;
}
/**
* .com.sysalto.render.serialization.PdfDrawImage_proto pdfDrawImage_proto = 5;
*/
public com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto getPdfDrawImageProto() {
if (pdfDrawImageProtoBuilder_ == null) {
if (fieldCase_ == 5) {
return (com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.getDefaultInstance();
} else {
if (fieldCase_ == 5) {
return pdfDrawImageProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfDrawImage_proto pdfDrawImage_proto = 5;
*/
public Builder setPdfDrawImageProto(com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto value) {
if (pdfDrawImageProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
pdfDrawImageProtoBuilder_.setMessage(value);
}
fieldCase_ = 5;
return this;
}
/**
* .com.sysalto.render.serialization.PdfDrawImage_proto pdfDrawImage_proto = 5;
*/
public Builder setPdfDrawImageProto(
com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.Builder builderForValue) {
if (pdfDrawImageProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
pdfDrawImageProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 5;
return this;
}
/**
* .com.sysalto.render.serialization.PdfDrawImage_proto pdfDrawImage_proto = 5;
*/
public Builder mergePdfDrawImageProto(com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto value) {
if (pdfDrawImageProtoBuilder_ == null) {
if (fieldCase_ == 5 &&
field_ != com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.newBuilder((com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 5) {
pdfDrawImageProtoBuilder_.mergeFrom(value);
}
pdfDrawImageProtoBuilder_.setMessage(value);
}
fieldCase_ = 5;
return this;
}
/**
* .com.sysalto.render.serialization.PdfDrawImage_proto pdfDrawImage_proto = 5;
*/
public Builder clearPdfDrawImageProto() {
if (pdfDrawImageProtoBuilder_ == null) {
if (fieldCase_ == 5) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 5) {
fieldCase_ = 0;
field_ = null;
}
pdfDrawImageProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.PdfDrawImage_proto pdfDrawImage_proto = 5;
*/
public com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.Builder getPdfDrawImageProtoBuilder() {
return getPdfDrawImageProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.PdfDrawImage_proto pdfDrawImage_proto = 5;
*/
public com.sysalto.render.serialization.RenderProto.PdfDrawImage_protoOrBuilder getPdfDrawImageProtoOrBuilder() {
if ((fieldCase_ == 5) && (pdfDrawImageProtoBuilder_ != null)) {
return pdfDrawImageProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 5) {
return (com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.PdfDrawImage_proto pdfDrawImage_proto = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto, com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfDrawImage_protoOrBuilder>
getPdfDrawImageProtoFieldBuilder() {
if (pdfDrawImageProtoBuilder_ == null) {
if (!(fieldCase_ == 5)) {
field_ = com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.getDefaultInstance();
}
pdfDrawImageProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto, com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.Builder, com.sysalto.render.serialization.RenderProto.PdfDrawImage_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 5;
onChanged();;
return pdfDrawImageProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.DrawPieChart_proto, com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.Builder, com.sysalto.render.serialization.RenderProto.DrawPieChart_protoOrBuilder> drawPieChartProtoBuilder_;
/**
* .com.sysalto.render.serialization.DrawPieChart_proto drawPieChart_proto = 6;
*/
public boolean hasDrawPieChartProto() {
return fieldCase_ == 6;
}
/**
* .com.sysalto.render.serialization.DrawPieChart_proto drawPieChart_proto = 6;
*/
public com.sysalto.render.serialization.RenderProto.DrawPieChart_proto getDrawPieChartProto() {
if (drawPieChartProtoBuilder_ == null) {
if (fieldCase_ == 6) {
return (com.sysalto.render.serialization.RenderProto.DrawPieChart_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.getDefaultInstance();
} else {
if (fieldCase_ == 6) {
return drawPieChartProtoBuilder_.getMessage();
}
return com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.DrawPieChart_proto drawPieChart_proto = 6;
*/
public Builder setDrawPieChartProto(com.sysalto.render.serialization.RenderProto.DrawPieChart_proto value) {
if (drawPieChartProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
drawPieChartProtoBuilder_.setMessage(value);
}
fieldCase_ = 6;
return this;
}
/**
* .com.sysalto.render.serialization.DrawPieChart_proto drawPieChart_proto = 6;
*/
public Builder setDrawPieChartProto(
com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.Builder builderForValue) {
if (drawPieChartProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
drawPieChartProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 6;
return this;
}
/**
* .com.sysalto.render.serialization.DrawPieChart_proto drawPieChart_proto = 6;
*/
public Builder mergeDrawPieChartProto(com.sysalto.render.serialization.RenderProto.DrawPieChart_proto value) {
if (drawPieChartProtoBuilder_ == null) {
if (fieldCase_ == 6 &&
field_ != com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.getDefaultInstance()) {
field_ = com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.newBuilder((com.sysalto.render.serialization.RenderProto.DrawPieChart_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 6) {
drawPieChartProtoBuilder_.mergeFrom(value);
}
drawPieChartProtoBuilder_.setMessage(value);
}
fieldCase_ = 6;
return this;
}
/**
* .com.sysalto.render.serialization.DrawPieChart_proto drawPieChart_proto = 6;
*/
public Builder clearDrawPieChartProto() {
if (drawPieChartProtoBuilder_ == null) {
if (fieldCase_ == 6) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 6) {
fieldCase_ = 0;
field_ = null;
}
drawPieChartProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.render.serialization.DrawPieChart_proto drawPieChart_proto = 6;
*/
public com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.Builder getDrawPieChartProtoBuilder() {
return getDrawPieChartProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.render.serialization.DrawPieChart_proto drawPieChart_proto = 6;
*/
public com.sysalto.render.serialization.RenderProto.DrawPieChart_protoOrBuilder getDrawPieChartProtoOrBuilder() {
if ((fieldCase_ == 6) && (drawPieChartProtoBuilder_ != null)) {
return drawPieChartProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 6) {
return (com.sysalto.render.serialization.RenderProto.DrawPieChart_proto) field_;
}
return com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.render.serialization.DrawPieChart_proto drawPieChart_proto = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.DrawPieChart_proto, com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.Builder, com.sysalto.render.serialization.RenderProto.DrawPieChart_protoOrBuilder>
getDrawPieChartProtoFieldBuilder() {
if (drawPieChartProtoBuilder_ == null) {
if (!(fieldCase_ == 6)) {
field_ = com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.getDefaultInstance();
}
drawPieChartProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.render.serialization.RenderProto.DrawPieChart_proto, com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.Builder, com.sysalto.render.serialization.RenderProto.DrawPieChart_protoOrBuilder>(
(com.sysalto.render.serialization.RenderProto.DrawPieChart_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 6;
onChanged();;
return drawPieChartProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_protoOrBuilder> directDrawMovePointProtoBuilder_;
/**
* .com.sysalto.report.serialization.common.DirectDrawMovePoint_proto directDrawMovePoint_proto = 7;
*/
public boolean hasDirectDrawMovePointProto() {
return fieldCase_ == 7;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawMovePoint_proto directDrawMovePoint_proto = 7;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto getDirectDrawMovePointProto() {
if (directDrawMovePointProtoBuilder_ == null) {
if (fieldCase_ == 7) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto.getDefaultInstance();
} else {
if (fieldCase_ == 7) {
return directDrawMovePointProtoBuilder_.getMessage();
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDrawMovePoint_proto directDrawMovePoint_proto = 7;
*/
public Builder setDirectDrawMovePointProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto value) {
if (directDrawMovePointProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
directDrawMovePointProtoBuilder_.setMessage(value);
}
fieldCase_ = 7;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawMovePoint_proto directDrawMovePoint_proto = 7;
*/
public Builder setDirectDrawMovePointProto(
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto.Builder builderForValue) {
if (directDrawMovePointProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
directDrawMovePointProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 7;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawMovePoint_proto directDrawMovePoint_proto = 7;
*/
public Builder mergeDirectDrawMovePointProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto value) {
if (directDrawMovePointProtoBuilder_ == null) {
if (fieldCase_ == 7 &&
field_ != com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto.getDefaultInstance()) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto.newBuilder((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 7) {
directDrawMovePointProtoBuilder_.mergeFrom(value);
}
directDrawMovePointProtoBuilder_.setMessage(value);
}
fieldCase_ = 7;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawMovePoint_proto directDrawMovePoint_proto = 7;
*/
public Builder clearDirectDrawMovePointProto() {
if (directDrawMovePointProtoBuilder_ == null) {
if (fieldCase_ == 7) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 7) {
fieldCase_ = 0;
field_ = null;
}
directDrawMovePointProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawMovePoint_proto directDrawMovePoint_proto = 7;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto.Builder getDirectDrawMovePointProtoBuilder() {
return getDirectDrawMovePointProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.report.serialization.common.DirectDrawMovePoint_proto directDrawMovePoint_proto = 7;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_protoOrBuilder getDirectDrawMovePointProtoOrBuilder() {
if ((fieldCase_ == 7) && (directDrawMovePointProtoBuilder_ != null)) {
return directDrawMovePointProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 7) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDrawMovePoint_proto directDrawMovePoint_proto = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_protoOrBuilder>
getDirectDrawMovePointProtoFieldBuilder() {
if (directDrawMovePointProtoBuilder_ == null) {
if (!(fieldCase_ == 7)) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto.getDefaultInstance();
}
directDrawMovePointProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_protoOrBuilder>(
(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawMovePoint_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 7;
onChanged();;
return directDrawMovePointProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_protoOrBuilder> directDrawLineProtoBuilder_;
/**
* .com.sysalto.report.serialization.common.DirectDrawLine_proto directDrawLine_proto = 8;
*/
public boolean hasDirectDrawLineProto() {
return fieldCase_ == 8;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawLine_proto directDrawLine_proto = 8;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto getDirectDrawLineProto() {
if (directDrawLineProtoBuilder_ == null) {
if (fieldCase_ == 8) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto.getDefaultInstance();
} else {
if (fieldCase_ == 8) {
return directDrawLineProtoBuilder_.getMessage();
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDrawLine_proto directDrawLine_proto = 8;
*/
public Builder setDirectDrawLineProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto value) {
if (directDrawLineProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
directDrawLineProtoBuilder_.setMessage(value);
}
fieldCase_ = 8;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawLine_proto directDrawLine_proto = 8;
*/
public Builder setDirectDrawLineProto(
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto.Builder builderForValue) {
if (directDrawLineProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
directDrawLineProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 8;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawLine_proto directDrawLine_proto = 8;
*/
public Builder mergeDirectDrawLineProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto value) {
if (directDrawLineProtoBuilder_ == null) {
if (fieldCase_ == 8 &&
field_ != com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto.getDefaultInstance()) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto.newBuilder((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 8) {
directDrawLineProtoBuilder_.mergeFrom(value);
}
directDrawLineProtoBuilder_.setMessage(value);
}
fieldCase_ = 8;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawLine_proto directDrawLine_proto = 8;
*/
public Builder clearDirectDrawLineProto() {
if (directDrawLineProtoBuilder_ == null) {
if (fieldCase_ == 8) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 8) {
fieldCase_ = 0;
field_ = null;
}
directDrawLineProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawLine_proto directDrawLine_proto = 8;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto.Builder getDirectDrawLineProtoBuilder() {
return getDirectDrawLineProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.report.serialization.common.DirectDrawLine_proto directDrawLine_proto = 8;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_protoOrBuilder getDirectDrawLineProtoOrBuilder() {
if ((fieldCase_ == 8) && (directDrawLineProtoBuilder_ != null)) {
return directDrawLineProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 8) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDrawLine_proto directDrawLine_proto = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_protoOrBuilder>
getDirectDrawLineProtoFieldBuilder() {
if (directDrawLineProtoBuilder_ == null) {
if (!(fieldCase_ == 8)) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto.getDefaultInstance();
}
directDrawLineProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_protoOrBuilder>(
(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawLine_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 8;
onChanged();;
return directDrawLineProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_protoOrBuilder> directFillStrokeProtoBuilder_;
/**
* .com.sysalto.report.serialization.common.DirectFillStroke_proto directFillStroke_proto = 9;
*/
public boolean hasDirectFillStrokeProto() {
return fieldCase_ == 9;
}
/**
* .com.sysalto.report.serialization.common.DirectFillStroke_proto directFillStroke_proto = 9;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto getDirectFillStrokeProto() {
if (directFillStrokeProtoBuilder_ == null) {
if (fieldCase_ == 9) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto.getDefaultInstance();
} else {
if (fieldCase_ == 9) {
return directFillStrokeProtoBuilder_.getMessage();
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectFillStroke_proto directFillStroke_proto = 9;
*/
public Builder setDirectFillStrokeProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto value) {
if (directFillStrokeProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
directFillStrokeProtoBuilder_.setMessage(value);
}
fieldCase_ = 9;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectFillStroke_proto directFillStroke_proto = 9;
*/
public Builder setDirectFillStrokeProto(
com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto.Builder builderForValue) {
if (directFillStrokeProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
directFillStrokeProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 9;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectFillStroke_proto directFillStroke_proto = 9;
*/
public Builder mergeDirectFillStrokeProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto value) {
if (directFillStrokeProtoBuilder_ == null) {
if (fieldCase_ == 9 &&
field_ != com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto.getDefaultInstance()) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto.newBuilder((com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 9) {
directFillStrokeProtoBuilder_.mergeFrom(value);
}
directFillStrokeProtoBuilder_.setMessage(value);
}
fieldCase_ = 9;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectFillStroke_proto directFillStroke_proto = 9;
*/
public Builder clearDirectFillStrokeProto() {
if (directFillStrokeProtoBuilder_ == null) {
if (fieldCase_ == 9) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 9) {
fieldCase_ = 0;
field_ = null;
}
directFillStrokeProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectFillStroke_proto directFillStroke_proto = 9;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto.Builder getDirectFillStrokeProtoBuilder() {
return getDirectFillStrokeProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.report.serialization.common.DirectFillStroke_proto directFillStroke_proto = 9;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_protoOrBuilder getDirectFillStrokeProtoOrBuilder() {
if ((fieldCase_ == 9) && (directFillStrokeProtoBuilder_ != null)) {
return directFillStrokeProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 9) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectFillStroke_proto directFillStroke_proto = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_protoOrBuilder>
getDirectFillStrokeProtoFieldBuilder() {
if (directFillStrokeProtoBuilder_ == null) {
if (!(fieldCase_ == 9)) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto.getDefaultInstance();
}
directFillStrokeProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_protoOrBuilder>(
(com.sysalto.report.serialization.common.ReportCommonProto.DirectFillStroke_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 9;
onChanged();;
return directFillStrokeProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_protoOrBuilder> directDrawRectangleProtoBuilder_;
/**
* .com.sysalto.report.serialization.common.DirectDrawRectangle_proto directDrawRectangle_proto = 10;
*/
public boolean hasDirectDrawRectangleProto() {
return fieldCase_ == 10;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawRectangle_proto directDrawRectangle_proto = 10;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto getDirectDrawRectangleProto() {
if (directDrawRectangleProtoBuilder_ == null) {
if (fieldCase_ == 10) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto.getDefaultInstance();
} else {
if (fieldCase_ == 10) {
return directDrawRectangleProtoBuilder_.getMessage();
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDrawRectangle_proto directDrawRectangle_proto = 10;
*/
public Builder setDirectDrawRectangleProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto value) {
if (directDrawRectangleProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
directDrawRectangleProtoBuilder_.setMessage(value);
}
fieldCase_ = 10;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawRectangle_proto directDrawRectangle_proto = 10;
*/
public Builder setDirectDrawRectangleProto(
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto.Builder builderForValue) {
if (directDrawRectangleProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
directDrawRectangleProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 10;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawRectangle_proto directDrawRectangle_proto = 10;
*/
public Builder mergeDirectDrawRectangleProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto value) {
if (directDrawRectangleProtoBuilder_ == null) {
if (fieldCase_ == 10 &&
field_ != com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto.getDefaultInstance()) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto.newBuilder((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 10) {
directDrawRectangleProtoBuilder_.mergeFrom(value);
}
directDrawRectangleProtoBuilder_.setMessage(value);
}
fieldCase_ = 10;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawRectangle_proto directDrawRectangle_proto = 10;
*/
public Builder clearDirectDrawRectangleProto() {
if (directDrawRectangleProtoBuilder_ == null) {
if (fieldCase_ == 10) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 10) {
fieldCase_ = 0;
field_ = null;
}
directDrawRectangleProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawRectangle_proto directDrawRectangle_proto = 10;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto.Builder getDirectDrawRectangleProtoBuilder() {
return getDirectDrawRectangleProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.report.serialization.common.DirectDrawRectangle_proto directDrawRectangle_proto = 10;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_protoOrBuilder getDirectDrawRectangleProtoOrBuilder() {
if ((fieldCase_ == 10) && (directDrawRectangleProtoBuilder_ != null)) {
return directDrawRectangleProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 10) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDrawRectangle_proto directDrawRectangle_proto = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_protoOrBuilder>
getDirectDrawRectangleProtoFieldBuilder() {
if (directDrawRectangleProtoBuilder_ == null) {
if (!(fieldCase_ == 10)) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto.getDefaultInstance();
}
directDrawRectangleProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_protoOrBuilder>(
(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawRectangle_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 10;
onChanged();;
return directDrawRectangleProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_protoOrBuilder> directDrawProtoBuilder_;
/**
* .com.sysalto.report.serialization.common.DirectDraw_proto directDraw_proto = 11;
*/
public boolean hasDirectDrawProto() {
return fieldCase_ == 11;
}
/**
* .com.sysalto.report.serialization.common.DirectDraw_proto directDraw_proto = 11;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto getDirectDrawProto() {
if (directDrawProtoBuilder_ == null) {
if (fieldCase_ == 11) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto.getDefaultInstance();
} else {
if (fieldCase_ == 11) {
return directDrawProtoBuilder_.getMessage();
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDraw_proto directDraw_proto = 11;
*/
public Builder setDirectDrawProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto value) {
if (directDrawProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
directDrawProtoBuilder_.setMessage(value);
}
fieldCase_ = 11;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDraw_proto directDraw_proto = 11;
*/
public Builder setDirectDrawProto(
com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto.Builder builderForValue) {
if (directDrawProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
directDrawProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 11;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDraw_proto directDraw_proto = 11;
*/
public Builder mergeDirectDrawProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto value) {
if (directDrawProtoBuilder_ == null) {
if (fieldCase_ == 11 &&
field_ != com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto.getDefaultInstance()) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto.newBuilder((com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 11) {
directDrawProtoBuilder_.mergeFrom(value);
}
directDrawProtoBuilder_.setMessage(value);
}
fieldCase_ = 11;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDraw_proto directDraw_proto = 11;
*/
public Builder clearDirectDrawProto() {
if (directDrawProtoBuilder_ == null) {
if (fieldCase_ == 11) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 11) {
fieldCase_ = 0;
field_ = null;
}
directDrawProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDraw_proto directDraw_proto = 11;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto.Builder getDirectDrawProtoBuilder() {
return getDirectDrawProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.report.serialization.common.DirectDraw_proto directDraw_proto = 11;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_protoOrBuilder getDirectDrawProtoOrBuilder() {
if ((fieldCase_ == 11) && (directDrawProtoBuilder_ != null)) {
return directDrawProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 11) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDraw_proto directDraw_proto = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_protoOrBuilder>
getDirectDrawProtoFieldBuilder() {
if (directDrawProtoBuilder_ == null) {
if (!(fieldCase_ == 11)) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto.getDefaultInstance();
}
directDrawProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_protoOrBuilder>(
(com.sysalto.report.serialization.common.ReportCommonProto.DirectDraw_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 11;
onChanged();;
return directDrawProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_protoOrBuilder> directDrawCircleProtoBuilder_;
/**
* .com.sysalto.report.serialization.common.DirectDrawCircle_proto directDrawCircle_proto = 12;
*/
public boolean hasDirectDrawCircleProto() {
return fieldCase_ == 12;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawCircle_proto directDrawCircle_proto = 12;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto getDirectDrawCircleProto() {
if (directDrawCircleProtoBuilder_ == null) {
if (fieldCase_ == 12) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto.getDefaultInstance();
} else {
if (fieldCase_ == 12) {
return directDrawCircleProtoBuilder_.getMessage();
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDrawCircle_proto directDrawCircle_proto = 12;
*/
public Builder setDirectDrawCircleProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto value) {
if (directDrawCircleProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
directDrawCircleProtoBuilder_.setMessage(value);
}
fieldCase_ = 12;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawCircle_proto directDrawCircle_proto = 12;
*/
public Builder setDirectDrawCircleProto(
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto.Builder builderForValue) {
if (directDrawCircleProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
directDrawCircleProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 12;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawCircle_proto directDrawCircle_proto = 12;
*/
public Builder mergeDirectDrawCircleProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto value) {
if (directDrawCircleProtoBuilder_ == null) {
if (fieldCase_ == 12 &&
field_ != com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto.getDefaultInstance()) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto.newBuilder((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 12) {
directDrawCircleProtoBuilder_.mergeFrom(value);
}
directDrawCircleProtoBuilder_.setMessage(value);
}
fieldCase_ = 12;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawCircle_proto directDrawCircle_proto = 12;
*/
public Builder clearDirectDrawCircleProto() {
if (directDrawCircleProtoBuilder_ == null) {
if (fieldCase_ == 12) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 12) {
fieldCase_ = 0;
field_ = null;
}
directDrawCircleProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawCircle_proto directDrawCircle_proto = 12;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto.Builder getDirectDrawCircleProtoBuilder() {
return getDirectDrawCircleProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.report.serialization.common.DirectDrawCircle_proto directDrawCircle_proto = 12;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_protoOrBuilder getDirectDrawCircleProtoOrBuilder() {
if ((fieldCase_ == 12) && (directDrawCircleProtoBuilder_ != null)) {
return directDrawCircleProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 12) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDrawCircle_proto directDrawCircle_proto = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_protoOrBuilder>
getDirectDrawCircleProtoFieldBuilder() {
if (directDrawCircleProtoBuilder_ == null) {
if (!(fieldCase_ == 12)) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto.getDefaultInstance();
}
directDrawCircleProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_protoOrBuilder>(
(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawCircle_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 12;
onChanged();;
return directDrawCircleProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_protoOrBuilder> directDrawArcProtoBuilder_;
/**
* .com.sysalto.report.serialization.common.DirectDrawArc_proto directDrawArc_proto = 13;
*/
public boolean hasDirectDrawArcProto() {
return fieldCase_ == 13;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawArc_proto directDrawArc_proto = 13;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto getDirectDrawArcProto() {
if (directDrawArcProtoBuilder_ == null) {
if (fieldCase_ == 13) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto.getDefaultInstance();
} else {
if (fieldCase_ == 13) {
return directDrawArcProtoBuilder_.getMessage();
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDrawArc_proto directDrawArc_proto = 13;
*/
public Builder setDirectDrawArcProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto value) {
if (directDrawArcProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
directDrawArcProtoBuilder_.setMessage(value);
}
fieldCase_ = 13;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawArc_proto directDrawArc_proto = 13;
*/
public Builder setDirectDrawArcProto(
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto.Builder builderForValue) {
if (directDrawArcProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
directDrawArcProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 13;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawArc_proto directDrawArc_proto = 13;
*/
public Builder mergeDirectDrawArcProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto value) {
if (directDrawArcProtoBuilder_ == null) {
if (fieldCase_ == 13 &&
field_ != com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto.getDefaultInstance()) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto.newBuilder((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 13) {
directDrawArcProtoBuilder_.mergeFrom(value);
}
directDrawArcProtoBuilder_.setMessage(value);
}
fieldCase_ = 13;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawArc_proto directDrawArc_proto = 13;
*/
public Builder clearDirectDrawArcProto() {
if (directDrawArcProtoBuilder_ == null) {
if (fieldCase_ == 13) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 13) {
fieldCase_ = 0;
field_ = null;
}
directDrawArcProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawArc_proto directDrawArc_proto = 13;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto.Builder getDirectDrawArcProtoBuilder() {
return getDirectDrawArcProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.report.serialization.common.DirectDrawArc_proto directDrawArc_proto = 13;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_protoOrBuilder getDirectDrawArcProtoOrBuilder() {
if ((fieldCase_ == 13) && (directDrawArcProtoBuilder_ != null)) {
return directDrawArcProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 13) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDrawArc_proto directDrawArc_proto = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_protoOrBuilder>
getDirectDrawArcProtoFieldBuilder() {
if (directDrawArcProtoBuilder_ == null) {
if (!(fieldCase_ == 13)) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto.getDefaultInstance();
}
directDrawArcProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_protoOrBuilder>(
(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawArc_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 13;
onChanged();;
return directDrawArcProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_protoOrBuilder> directDrawFillProtoBuilder_;
/**
* .com.sysalto.report.serialization.common.DirectDrawFill_proto direct_draw_fill_proto = 14;
*/
public boolean hasDirectDrawFillProto() {
return fieldCase_ == 14;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawFill_proto direct_draw_fill_proto = 14;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto getDirectDrawFillProto() {
if (directDrawFillProtoBuilder_ == null) {
if (fieldCase_ == 14) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto.getDefaultInstance();
} else {
if (fieldCase_ == 14) {
return directDrawFillProtoBuilder_.getMessage();
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDrawFill_proto direct_draw_fill_proto = 14;
*/
public Builder setDirectDrawFillProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto value) {
if (directDrawFillProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
directDrawFillProtoBuilder_.setMessage(value);
}
fieldCase_ = 14;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawFill_proto direct_draw_fill_proto = 14;
*/
public Builder setDirectDrawFillProto(
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto.Builder builderForValue) {
if (directDrawFillProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
directDrawFillProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 14;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawFill_proto direct_draw_fill_proto = 14;
*/
public Builder mergeDirectDrawFillProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto value) {
if (directDrawFillProtoBuilder_ == null) {
if (fieldCase_ == 14 &&
field_ != com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto.getDefaultInstance()) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto.newBuilder((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 14) {
directDrawFillProtoBuilder_.mergeFrom(value);
}
directDrawFillProtoBuilder_.setMessage(value);
}
fieldCase_ = 14;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawFill_proto direct_draw_fill_proto = 14;
*/
public Builder clearDirectDrawFillProto() {
if (directDrawFillProtoBuilder_ == null) {
if (fieldCase_ == 14) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 14) {
fieldCase_ = 0;
field_ = null;
}
directDrawFillProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawFill_proto direct_draw_fill_proto = 14;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto.Builder getDirectDrawFillProtoBuilder() {
return getDirectDrawFillProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.report.serialization.common.DirectDrawFill_proto direct_draw_fill_proto = 14;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_protoOrBuilder getDirectDrawFillProtoOrBuilder() {
if ((fieldCase_ == 14) && (directDrawFillProtoBuilder_ != null)) {
return directDrawFillProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 14) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDrawFill_proto direct_draw_fill_proto = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_protoOrBuilder>
getDirectDrawFillProtoFieldBuilder() {
if (directDrawFillProtoBuilder_ == null) {
if (!(fieldCase_ == 14)) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto.getDefaultInstance();
}
directDrawFillProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_protoOrBuilder>(
(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawFill_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 14;
onChanged();;
return directDrawFillProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_protoOrBuilder> directDrawStrokeProtoBuilder_;
/**
* .com.sysalto.report.serialization.common.DirectDrawStroke_proto direct_draw_stroke_proto = 15;
*/
public boolean hasDirectDrawStrokeProto() {
return fieldCase_ == 15;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawStroke_proto direct_draw_stroke_proto = 15;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto getDirectDrawStrokeProto() {
if (directDrawStrokeProtoBuilder_ == null) {
if (fieldCase_ == 15) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto.getDefaultInstance();
} else {
if (fieldCase_ == 15) {
return directDrawStrokeProtoBuilder_.getMessage();
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDrawStroke_proto direct_draw_stroke_proto = 15;
*/
public Builder setDirectDrawStrokeProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto value) {
if (directDrawStrokeProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
directDrawStrokeProtoBuilder_.setMessage(value);
}
fieldCase_ = 15;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawStroke_proto direct_draw_stroke_proto = 15;
*/
public Builder setDirectDrawStrokeProto(
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto.Builder builderForValue) {
if (directDrawStrokeProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
directDrawStrokeProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 15;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawStroke_proto direct_draw_stroke_proto = 15;
*/
public Builder mergeDirectDrawStrokeProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto value) {
if (directDrawStrokeProtoBuilder_ == null) {
if (fieldCase_ == 15 &&
field_ != com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto.getDefaultInstance()) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto.newBuilder((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 15) {
directDrawStrokeProtoBuilder_.mergeFrom(value);
}
directDrawStrokeProtoBuilder_.setMessage(value);
}
fieldCase_ = 15;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawStroke_proto direct_draw_stroke_proto = 15;
*/
public Builder clearDirectDrawStrokeProto() {
if (directDrawStrokeProtoBuilder_ == null) {
if (fieldCase_ == 15) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 15) {
fieldCase_ = 0;
field_ = null;
}
directDrawStrokeProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawStroke_proto direct_draw_stroke_proto = 15;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto.Builder getDirectDrawStrokeProtoBuilder() {
return getDirectDrawStrokeProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.report.serialization.common.DirectDrawStroke_proto direct_draw_stroke_proto = 15;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_protoOrBuilder getDirectDrawStrokeProtoOrBuilder() {
if ((fieldCase_ == 15) && (directDrawStrokeProtoBuilder_ != null)) {
return directDrawStrokeProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 15) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDrawStroke_proto direct_draw_stroke_proto = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_protoOrBuilder>
getDirectDrawStrokeProtoFieldBuilder() {
if (directDrawStrokeProtoBuilder_ == null) {
if (!(fieldCase_ == 15)) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto.getDefaultInstance();
}
directDrawStrokeProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_protoOrBuilder>(
(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawStroke_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 15;
onChanged();;
return directDrawStrokeProtoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_protoOrBuilder> directDrawClosePathProtoBuilder_;
/**
* .com.sysalto.report.serialization.common.DirectDrawClosePath_proto direct_draw_close_path_proto = 16;
*/
public boolean hasDirectDrawClosePathProto() {
return fieldCase_ == 16;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawClosePath_proto direct_draw_close_path_proto = 16;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto getDirectDrawClosePathProto() {
if (directDrawClosePathProtoBuilder_ == null) {
if (fieldCase_ == 16) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto.getDefaultInstance();
} else {
if (fieldCase_ == 16) {
return directDrawClosePathProtoBuilder_.getMessage();
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDrawClosePath_proto direct_draw_close_path_proto = 16;
*/
public Builder setDirectDrawClosePathProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto value) {
if (directDrawClosePathProtoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
directDrawClosePathProtoBuilder_.setMessage(value);
}
fieldCase_ = 16;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawClosePath_proto direct_draw_close_path_proto = 16;
*/
public Builder setDirectDrawClosePathProto(
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto.Builder builderForValue) {
if (directDrawClosePathProtoBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
directDrawClosePathProtoBuilder_.setMessage(builderForValue.build());
}
fieldCase_ = 16;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawClosePath_proto direct_draw_close_path_proto = 16;
*/
public Builder mergeDirectDrawClosePathProto(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto value) {
if (directDrawClosePathProtoBuilder_ == null) {
if (fieldCase_ == 16 &&
field_ != com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto.getDefaultInstance()) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto.newBuilder((com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto) field_)
.mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
if (fieldCase_ == 16) {
directDrawClosePathProtoBuilder_.mergeFrom(value);
}
directDrawClosePathProtoBuilder_.setMessage(value);
}
fieldCase_ = 16;
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawClosePath_proto direct_draw_close_path_proto = 16;
*/
public Builder clearDirectDrawClosePathProto() {
if (directDrawClosePathProtoBuilder_ == null) {
if (fieldCase_ == 16) {
fieldCase_ = 0;
field_ = null;
onChanged();
}
} else {
if (fieldCase_ == 16) {
fieldCase_ = 0;
field_ = null;
}
directDrawClosePathProtoBuilder_.clear();
}
return this;
}
/**
* .com.sysalto.report.serialization.common.DirectDrawClosePath_proto direct_draw_close_path_proto = 16;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto.Builder getDirectDrawClosePathProtoBuilder() {
return getDirectDrawClosePathProtoFieldBuilder().getBuilder();
}
/**
* .com.sysalto.report.serialization.common.DirectDrawClosePath_proto direct_draw_close_path_proto = 16;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_protoOrBuilder getDirectDrawClosePathProtoOrBuilder() {
if ((fieldCase_ == 16) && (directDrawClosePathProtoBuilder_ != null)) {
return directDrawClosePathProtoBuilder_.getMessageOrBuilder();
} else {
if (fieldCase_ == 16) {
return (com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto) field_;
}
return com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto.getDefaultInstance();
}
}
/**
* .com.sysalto.report.serialization.common.DirectDrawClosePath_proto direct_draw_close_path_proto = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_protoOrBuilder>
getDirectDrawClosePathProtoFieldBuilder() {
if (directDrawClosePathProtoBuilder_ == null) {
if (!(fieldCase_ == 16)) {
field_ = com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto.getDefaultInstance();
}
directDrawClosePathProtoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_protoOrBuilder>(
(com.sysalto.report.serialization.common.ReportCommonProto.DirectDrawClosePath_proto) field_,
getParentForChildren(),
isClean());
field_ = null;
}
fieldCase_ = 16;
onChanged();;
return directDrawClosePathProtoBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfGraphicFragment_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfGraphicFragment_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfGraphicFragment_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfGraphicFragment_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfGraphicFragment_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DrawStroke_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.DrawStroke_proto)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code com.sysalto.render.serialization.DrawStroke_proto}
*/
public static final class DrawStroke_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.DrawStroke_proto)
DrawStroke_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use DrawStroke_proto.newBuilder() to construct.
private DrawStroke_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DrawStroke_proto() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DrawStroke_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_DrawStroke_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_DrawStroke_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.DrawStroke_proto.class, com.sysalto.render.serialization.RenderProto.DrawStroke_proto.Builder.class);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.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.sysalto.render.serialization.RenderProto.DrawStroke_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.DrawStroke_proto other = (com.sysalto.render.serialization.RenderProto.DrawStroke_proto) obj;
boolean result = true;
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.DrawStroke_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.DrawStroke_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.DrawStroke_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.DrawStroke_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.DrawStroke_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.DrawStroke_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.DrawStroke_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.DrawStroke_proto 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.sysalto.render.serialization.RenderProto.DrawStroke_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.DrawStroke_proto 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.sysalto.render.serialization.RenderProto.DrawStroke_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.DrawStroke_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.DrawStroke_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.DrawStroke_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.DrawStroke_proto)
com.sysalto.render.serialization.RenderProto.DrawStroke_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_DrawStroke_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_DrawStroke_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.DrawStroke_proto.class, com.sysalto.render.serialization.RenderProto.DrawStroke_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.DrawStroke_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_DrawStroke_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.DrawStroke_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.DrawStroke_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.DrawStroke_proto build() {
com.sysalto.render.serialization.RenderProto.DrawStroke_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.DrawStroke_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.DrawStroke_proto result = new com.sysalto.render.serialization.RenderProto.DrawStroke_proto(this);
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.DrawStroke_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.DrawStroke_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.DrawStroke_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.DrawStroke_proto.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.DrawStroke_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.DrawStroke_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.DrawStroke_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.DrawStroke_proto)
private static final com.sysalto.render.serialization.RenderProto.DrawStroke_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.DrawStroke_proto();
}
public static com.sysalto.render.serialization.RenderProto.DrawStroke_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public DrawStroke_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DrawStroke_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.DrawStroke_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PdfRectangle_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfRectangle_proto)
com.google.protobuf.MessageOrBuilder {
/**
* int64 x2 = 1;
*/
long getX2();
/**
* float radius = 2;
*/
float getRadius();
/**
* repeated int64 idPatternColor = 3;
*/
java.util.List getIdPatternColorList();
/**
* repeated int64 idPatternColor = 3;
*/
int getIdPatternColorCount();
/**
* repeated int64 idPatternColor = 3;
*/
long getIdPatternColor(int index);
/**
* int64 y1 = 4;
*/
long getY1();
/**
* int64 y2 = 5;
*/
long getY2();
/**
* int64 x1 = 6;
*/
long getX1();
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
java.util.List
getBorderColorList();
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto getBorderColor(int index);
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
int getBorderColorCount();
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
java.util.List extends com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder>
getBorderColorOrBuilderList();
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder getBorderColorOrBuilder(
int index);
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
java.util.List
getFillColorList();
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto getFillColor(int index);
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
int getFillColorCount();
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
java.util.List extends com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder>
getFillColorOrBuilderList();
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder getFillColorOrBuilder(
int index);
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfRectangle_proto}
*/
public static final class PdfRectangle_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfRectangle_proto)
PdfRectangle_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfRectangle_proto.newBuilder() to construct.
private PdfRectangle_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfRectangle_proto() {
x2_ = 0L;
radius_ = 0F;
idPatternColor_ = java.util.Collections.emptyList();
y1_ = 0L;
y2_ = 0L;
x1_ = 0L;
borderColor_ = java.util.Collections.emptyList();
fillColor_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfRectangle_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
x2_ = input.readInt64();
break;
}
case 21: {
radius_ = input.readFloat();
break;
}
case 24: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
idPatternColor_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
idPatternColor_.add(input.readInt64());
break;
}
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) {
idPatternColor_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
while (input.getBytesUntilLimit() > 0) {
idPatternColor_.add(input.readInt64());
}
input.popLimit(limit);
break;
}
case 32: {
y1_ = input.readInt64();
break;
}
case 40: {
y2_ = input.readInt64();
break;
}
case 48: {
x1_ = input.readInt64();
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
borderColor_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
borderColor_.add(
input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.parser(), extensionRegistry));
break;
}
case 66: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
fillColor_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
fillColor_.add(
input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.parser(), extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
idPatternColor_ = java.util.Collections.unmodifiableList(idPatternColor_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
borderColor_ = java.util.Collections.unmodifiableList(borderColor_);
}
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
fillColor_ = java.util.Collections.unmodifiableList(fillColor_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfRectangle_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfRectangle_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.class, com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.Builder.class);
}
private int bitField0_;
public static final int X2_FIELD_NUMBER = 1;
private long x2_;
/**
* int64 x2 = 1;
*/
public long getX2() {
return x2_;
}
public static final int RADIUS_FIELD_NUMBER = 2;
private float radius_;
/**
* float radius = 2;
*/
public float getRadius() {
return radius_;
}
public static final int IDPATTERNCOLOR_FIELD_NUMBER = 3;
private java.util.List idPatternColor_;
/**
* repeated int64 idPatternColor = 3;
*/
public java.util.List
getIdPatternColorList() {
return idPatternColor_;
}
/**
* repeated int64 idPatternColor = 3;
*/
public int getIdPatternColorCount() {
return idPatternColor_.size();
}
/**
* repeated int64 idPatternColor = 3;
*/
public long getIdPatternColor(int index) {
return idPatternColor_.get(index);
}
private int idPatternColorMemoizedSerializedSize = -1;
public static final int Y1_FIELD_NUMBER = 4;
private long y1_;
/**
* int64 y1 = 4;
*/
public long getY1() {
return y1_;
}
public static final int Y2_FIELD_NUMBER = 5;
private long y2_;
/**
* int64 y2 = 5;
*/
public long getY2() {
return y2_;
}
public static final int X1_FIELD_NUMBER = 6;
private long x1_;
/**
* int64 x1 = 6;
*/
public long getX1() {
return x1_;
}
public static final int BORDERCOLOR_FIELD_NUMBER = 7;
private java.util.List borderColor_;
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public java.util.List getBorderColorList() {
return borderColor_;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public java.util.List extends com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder>
getBorderColorOrBuilderList() {
return borderColor_;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public int getBorderColorCount() {
return borderColor_.size();
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto getBorderColor(int index) {
return borderColor_.get(index);
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder getBorderColorOrBuilder(
int index) {
return borderColor_.get(index);
}
public static final int FILLCOLOR_FIELD_NUMBER = 8;
private java.util.List fillColor_;
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public java.util.List getFillColorList() {
return fillColor_;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public java.util.List extends com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder>
getFillColorOrBuilderList() {
return fillColor_;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public int getFillColorCount() {
return fillColor_.size();
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto getFillColor(int index) {
return fillColor_.get(index);
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder getFillColorOrBuilder(
int index) {
return fillColor_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (x2_ != 0L) {
output.writeInt64(1, x2_);
}
if (radius_ != 0F) {
output.writeFloat(2, radius_);
}
if (getIdPatternColorList().size() > 0) {
output.writeUInt32NoTag(26);
output.writeUInt32NoTag(idPatternColorMemoizedSerializedSize);
}
for (int i = 0; i < idPatternColor_.size(); i++) {
output.writeInt64NoTag(idPatternColor_.get(i));
}
if (y1_ != 0L) {
output.writeInt64(4, y1_);
}
if (y2_ != 0L) {
output.writeInt64(5, y2_);
}
if (x1_ != 0L) {
output.writeInt64(6, x1_);
}
for (int i = 0; i < borderColor_.size(); i++) {
output.writeMessage(7, borderColor_.get(i));
}
for (int i = 0; i < fillColor_.size(); i++) {
output.writeMessage(8, fillColor_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (x2_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, x2_);
}
if (radius_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, radius_);
}
{
int dataSize = 0;
for (int i = 0; i < idPatternColor_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(idPatternColor_.get(i));
}
size += dataSize;
if (!getIdPatternColorList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
idPatternColorMemoizedSerializedSize = dataSize;
}
if (y1_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, y1_);
}
if (y2_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, y2_);
}
if (x1_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, x1_);
}
for (int i = 0; i < borderColor_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, borderColor_.get(i));
}
for (int i = 0; i < fillColor_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, fillColor_.get(i));
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfRectangle_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfRectangle_proto other = (com.sysalto.render.serialization.RenderProto.PdfRectangle_proto) obj;
boolean result = true;
result = result && (getX2()
== other.getX2());
result = result && (
java.lang.Float.floatToIntBits(getRadius())
== java.lang.Float.floatToIntBits(
other.getRadius()));
result = result && getIdPatternColorList()
.equals(other.getIdPatternColorList());
result = result && (getY1()
== other.getY1());
result = result && (getY2()
== other.getY2());
result = result && (getX1()
== other.getX1());
result = result && getBorderColorList()
.equals(other.getBorderColorList());
result = result && getFillColorList()
.equals(other.getFillColorList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + X2_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getX2());
hash = (37 * hash) + RADIUS_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getRadius());
if (getIdPatternColorCount() > 0) {
hash = (37 * hash) + IDPATTERNCOLOR_FIELD_NUMBER;
hash = (53 * hash) + getIdPatternColorList().hashCode();
}
hash = (37 * hash) + Y1_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getY1());
hash = (37 * hash) + Y2_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getY2());
hash = (37 * hash) + X1_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getX1());
if (getBorderColorCount() > 0) {
hash = (37 * hash) + BORDERCOLOR_FIELD_NUMBER;
hash = (53 * hash) + getBorderColorList().hashCode();
}
if (getFillColorCount() > 0) {
hash = (37 * hash) + FILLCOLOR_FIELD_NUMBER;
hash = (53 * hash) + getFillColorList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfRectangle_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfRectangle_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfRectangle_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfRectangle_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfRectangle_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfRectangle_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfRectangle_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfRectangle_proto 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.sysalto.render.serialization.RenderProto.PdfRectangle_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfRectangle_proto 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.sysalto.render.serialization.RenderProto.PdfRectangle_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfRectangle_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfRectangle_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfRectangle_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfRectangle_proto)
com.sysalto.render.serialization.RenderProto.PdfRectangle_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfRectangle_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfRectangle_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.class, com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getBorderColorFieldBuilder();
getFillColorFieldBuilder();
}
}
public Builder clear() {
super.clear();
x2_ = 0L;
radius_ = 0F;
idPatternColor_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
y1_ = 0L;
y2_ = 0L;
x1_ = 0L;
if (borderColorBuilder_ == null) {
borderColor_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
borderColorBuilder_.clear();
}
if (fillColorBuilder_ == null) {
fillColor_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
} else {
fillColorBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfRectangle_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfRectangle_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfRectangle_proto build() {
com.sysalto.render.serialization.RenderProto.PdfRectangle_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfRectangle_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfRectangle_proto result = new com.sysalto.render.serialization.RenderProto.PdfRectangle_proto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.x2_ = x2_;
result.radius_ = radius_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
idPatternColor_ = java.util.Collections.unmodifiableList(idPatternColor_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.idPatternColor_ = idPatternColor_;
result.y1_ = y1_;
result.y2_ = y2_;
result.x1_ = x1_;
if (borderColorBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040)) {
borderColor_ = java.util.Collections.unmodifiableList(borderColor_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.borderColor_ = borderColor_;
} else {
result.borderColor_ = borderColorBuilder_.build();
}
if (fillColorBuilder_ == null) {
if (((bitField0_ & 0x00000080) == 0x00000080)) {
fillColor_ = java.util.Collections.unmodifiableList(fillColor_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.fillColor_ = fillColor_;
} else {
result.fillColor_ = fillColorBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfRectangle_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfRectangle_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfRectangle_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfRectangle_proto.getDefaultInstance()) return this;
if (other.getX2() != 0L) {
setX2(other.getX2());
}
if (other.getRadius() != 0F) {
setRadius(other.getRadius());
}
if (!other.idPatternColor_.isEmpty()) {
if (idPatternColor_.isEmpty()) {
idPatternColor_ = other.idPatternColor_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureIdPatternColorIsMutable();
idPatternColor_.addAll(other.idPatternColor_);
}
onChanged();
}
if (other.getY1() != 0L) {
setY1(other.getY1());
}
if (other.getY2() != 0L) {
setY2(other.getY2());
}
if (other.getX1() != 0L) {
setX1(other.getX1());
}
if (borderColorBuilder_ == null) {
if (!other.borderColor_.isEmpty()) {
if (borderColor_.isEmpty()) {
borderColor_ = other.borderColor_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureBorderColorIsMutable();
borderColor_.addAll(other.borderColor_);
}
onChanged();
}
} else {
if (!other.borderColor_.isEmpty()) {
if (borderColorBuilder_.isEmpty()) {
borderColorBuilder_.dispose();
borderColorBuilder_ = null;
borderColor_ = other.borderColor_;
bitField0_ = (bitField0_ & ~0x00000040);
borderColorBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getBorderColorFieldBuilder() : null;
} else {
borderColorBuilder_.addAllMessages(other.borderColor_);
}
}
}
if (fillColorBuilder_ == null) {
if (!other.fillColor_.isEmpty()) {
if (fillColor_.isEmpty()) {
fillColor_ = other.fillColor_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureFillColorIsMutable();
fillColor_.addAll(other.fillColor_);
}
onChanged();
}
} else {
if (!other.fillColor_.isEmpty()) {
if (fillColorBuilder_.isEmpty()) {
fillColorBuilder_.dispose();
fillColorBuilder_ = null;
fillColor_ = other.fillColor_;
bitField0_ = (bitField0_ & ~0x00000080);
fillColorBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFillColorFieldBuilder() : null;
} else {
fillColorBuilder_.addAllMessages(other.fillColor_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfRectangle_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfRectangle_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long x2_ ;
/**
* int64 x2 = 1;
*/
public long getX2() {
return x2_;
}
/**
* int64 x2 = 1;
*/
public Builder setX2(long value) {
x2_ = value;
onChanged();
return this;
}
/**
* int64 x2 = 1;
*/
public Builder clearX2() {
x2_ = 0L;
onChanged();
return this;
}
private float radius_ ;
/**
* float radius = 2;
*/
public float getRadius() {
return radius_;
}
/**
* float radius = 2;
*/
public Builder setRadius(float value) {
radius_ = value;
onChanged();
return this;
}
/**
* float radius = 2;
*/
public Builder clearRadius() {
radius_ = 0F;
onChanged();
return this;
}
private java.util.List idPatternColor_ = java.util.Collections.emptyList();
private void ensureIdPatternColorIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
idPatternColor_ = new java.util.ArrayList(idPatternColor_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated int64 idPatternColor = 3;
*/
public java.util.List
getIdPatternColorList() {
return java.util.Collections.unmodifiableList(idPatternColor_);
}
/**
* repeated int64 idPatternColor = 3;
*/
public int getIdPatternColorCount() {
return idPatternColor_.size();
}
/**
* repeated int64 idPatternColor = 3;
*/
public long getIdPatternColor(int index) {
return idPatternColor_.get(index);
}
/**
* repeated int64 idPatternColor = 3;
*/
public Builder setIdPatternColor(
int index, long value) {
ensureIdPatternColorIsMutable();
idPatternColor_.set(index, value);
onChanged();
return this;
}
/**
* repeated int64 idPatternColor = 3;
*/
public Builder addIdPatternColor(long value) {
ensureIdPatternColorIsMutable();
idPatternColor_.add(value);
onChanged();
return this;
}
/**
* repeated int64 idPatternColor = 3;
*/
public Builder addAllIdPatternColor(
java.lang.Iterable extends java.lang.Long> values) {
ensureIdPatternColorIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, idPatternColor_);
onChanged();
return this;
}
/**
* repeated int64 idPatternColor = 3;
*/
public Builder clearIdPatternColor() {
idPatternColor_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
private long y1_ ;
/**
* int64 y1 = 4;
*/
public long getY1() {
return y1_;
}
/**
* int64 y1 = 4;
*/
public Builder setY1(long value) {
y1_ = value;
onChanged();
return this;
}
/**
* int64 y1 = 4;
*/
public Builder clearY1() {
y1_ = 0L;
onChanged();
return this;
}
private long y2_ ;
/**
* int64 y2 = 5;
*/
public long getY2() {
return y2_;
}
/**
* int64 y2 = 5;
*/
public Builder setY2(long value) {
y2_ = value;
onChanged();
return this;
}
/**
* int64 y2 = 5;
*/
public Builder clearY2() {
y2_ = 0L;
onChanged();
return this;
}
private long x1_ ;
/**
* int64 x1 = 6;
*/
public long getX1() {
return x1_;
}
/**
* int64 x1 = 6;
*/
public Builder setX1(long value) {
x1_ = value;
onChanged();
return this;
}
/**
* int64 x1 = 6;
*/
public Builder clearX1() {
x1_ = 0L;
onChanged();
return this;
}
private java.util.List borderColor_ =
java.util.Collections.emptyList();
private void ensureBorderColorIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
borderColor_ = new java.util.ArrayList(borderColor_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder> borderColorBuilder_;
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public java.util.List getBorderColorList() {
if (borderColorBuilder_ == null) {
return java.util.Collections.unmodifiableList(borderColor_);
} else {
return borderColorBuilder_.getMessageList();
}
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public int getBorderColorCount() {
if (borderColorBuilder_ == null) {
return borderColor_.size();
} else {
return borderColorBuilder_.getCount();
}
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto getBorderColor(int index) {
if (borderColorBuilder_ == null) {
return borderColor_.get(index);
} else {
return borderColorBuilder_.getMessage(index);
}
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public Builder setBorderColor(
int index, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto value) {
if (borderColorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBorderColorIsMutable();
borderColor_.set(index, value);
onChanged();
} else {
borderColorBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public Builder setBorderColor(
int index, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder builderForValue) {
if (borderColorBuilder_ == null) {
ensureBorderColorIsMutable();
borderColor_.set(index, builderForValue.build());
onChanged();
} else {
borderColorBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public Builder addBorderColor(com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto value) {
if (borderColorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBorderColorIsMutable();
borderColor_.add(value);
onChanged();
} else {
borderColorBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public Builder addBorderColor(
int index, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto value) {
if (borderColorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBorderColorIsMutable();
borderColor_.add(index, value);
onChanged();
} else {
borderColorBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public Builder addBorderColor(
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder builderForValue) {
if (borderColorBuilder_ == null) {
ensureBorderColorIsMutable();
borderColor_.add(builderForValue.build());
onChanged();
} else {
borderColorBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public Builder addBorderColor(
int index, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder builderForValue) {
if (borderColorBuilder_ == null) {
ensureBorderColorIsMutable();
borderColor_.add(index, builderForValue.build());
onChanged();
} else {
borderColorBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public Builder addAllBorderColor(
java.lang.Iterable extends com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto> values) {
if (borderColorBuilder_ == null) {
ensureBorderColorIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, borderColor_);
onChanged();
} else {
borderColorBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public Builder clearBorderColor() {
if (borderColorBuilder_ == null) {
borderColor_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
borderColorBuilder_.clear();
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public Builder removeBorderColor(int index) {
if (borderColorBuilder_ == null) {
ensureBorderColorIsMutable();
borderColor_.remove(index);
onChanged();
} else {
borderColorBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder getBorderColorBuilder(
int index) {
return getBorderColorFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder getBorderColorOrBuilder(
int index) {
if (borderColorBuilder_ == null) {
return borderColor_.get(index); } else {
return borderColorBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public java.util.List extends com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder>
getBorderColorOrBuilderList() {
if (borderColorBuilder_ != null) {
return borderColorBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(borderColor_);
}
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder addBorderColorBuilder() {
return getBorderColorFieldBuilder().addBuilder(
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.getDefaultInstance());
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder addBorderColorBuilder(
int index) {
return getBorderColorFieldBuilder().addBuilder(
index, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.getDefaultInstance());
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto borderColor = 7;
*/
public java.util.List
getBorderColorBuilderList() {
return getBorderColorFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder>
getBorderColorFieldBuilder() {
if (borderColorBuilder_ == null) {
borderColorBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder>(
borderColor_,
((bitField0_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
borderColor_ = null;
}
return borderColorBuilder_;
}
private java.util.List fillColor_ =
java.util.Collections.emptyList();
private void ensureFillColorIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
fillColor_ = new java.util.ArrayList(fillColor_);
bitField0_ |= 0x00000080;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder> fillColorBuilder_;
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public java.util.List getFillColorList() {
if (fillColorBuilder_ == null) {
return java.util.Collections.unmodifiableList(fillColor_);
} else {
return fillColorBuilder_.getMessageList();
}
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public int getFillColorCount() {
if (fillColorBuilder_ == null) {
return fillColor_.size();
} else {
return fillColorBuilder_.getCount();
}
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto getFillColor(int index) {
if (fillColorBuilder_ == null) {
return fillColor_.get(index);
} else {
return fillColorBuilder_.getMessage(index);
}
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public Builder setFillColor(
int index, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto value) {
if (fillColorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFillColorIsMutable();
fillColor_.set(index, value);
onChanged();
} else {
fillColorBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public Builder setFillColor(
int index, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder builderForValue) {
if (fillColorBuilder_ == null) {
ensureFillColorIsMutable();
fillColor_.set(index, builderForValue.build());
onChanged();
} else {
fillColorBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public Builder addFillColor(com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto value) {
if (fillColorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFillColorIsMutable();
fillColor_.add(value);
onChanged();
} else {
fillColorBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public Builder addFillColor(
int index, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto value) {
if (fillColorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFillColorIsMutable();
fillColor_.add(index, value);
onChanged();
} else {
fillColorBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public Builder addFillColor(
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder builderForValue) {
if (fillColorBuilder_ == null) {
ensureFillColorIsMutable();
fillColor_.add(builderForValue.build());
onChanged();
} else {
fillColorBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public Builder addFillColor(
int index, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder builderForValue) {
if (fillColorBuilder_ == null) {
ensureFillColorIsMutable();
fillColor_.add(index, builderForValue.build());
onChanged();
} else {
fillColorBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public Builder addAllFillColor(
java.lang.Iterable extends com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto> values) {
if (fillColorBuilder_ == null) {
ensureFillColorIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, fillColor_);
onChanged();
} else {
fillColorBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public Builder clearFillColor() {
if (fillColorBuilder_ == null) {
fillColor_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
} else {
fillColorBuilder_.clear();
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public Builder removeFillColor(int index) {
if (fillColorBuilder_ == null) {
ensureFillColorIsMutable();
fillColor_.remove(index);
onChanged();
} else {
fillColorBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder getFillColorBuilder(
int index) {
return getFillColorFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder getFillColorOrBuilder(
int index) {
if (fillColorBuilder_ == null) {
return fillColor_.get(index); } else {
return fillColorBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public java.util.List extends com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder>
getFillColorOrBuilderList() {
if (fillColorBuilder_ != null) {
return fillColorBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(fillColor_);
}
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder addFillColorBuilder() {
return getFillColorFieldBuilder().addBuilder(
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.getDefaultInstance());
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder addFillColorBuilder(
int index) {
return getFillColorFieldBuilder().addBuilder(
index, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.getDefaultInstance());
}
/**
* repeated .com.sysalto.report.serialization.common.ReportColor_proto fillColor = 8;
*/
public java.util.List
getFillColorBuilderList() {
return getFillColorFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder>
getFillColorFieldBuilder() {
if (fillColorBuilder_ == null) {
fillColorBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder>(
fillColor_,
((bitField0_ & 0x00000080) == 0x00000080),
getParentForChildren(),
isClean());
fillColor_ = null;
}
return fillColorBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfRectangle_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfRectangle_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfRectangle_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfRectangle_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfRectangle_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfRectangle_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfRectangle_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfRectangle_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LineDashType_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.LineDashType_proto)
com.google.protobuf.MessageOrBuilder {
/**
* int32 unit = 1;
*/
int getUnit();
/**
* int32 phase = 2;
*/
int getPhase();
}
/**
* Protobuf type {@code com.sysalto.render.serialization.LineDashType_proto}
*/
public static final class LineDashType_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.LineDashType_proto)
LineDashType_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use LineDashType_proto.newBuilder() to construct.
private LineDashType_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private LineDashType_proto() {
unit_ = 0;
phase_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LineDashType_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
unit_ = input.readInt32();
break;
}
case 16: {
phase_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_LineDashType_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_LineDashType_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.LineDashType_proto.class, com.sysalto.render.serialization.RenderProto.LineDashType_proto.Builder.class);
}
public static final int UNIT_FIELD_NUMBER = 1;
private int unit_;
/**
* int32 unit = 1;
*/
public int getUnit() {
return unit_;
}
public static final int PHASE_FIELD_NUMBER = 2;
private int phase_;
/**
* int32 phase = 2;
*/
public int getPhase() {
return phase_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (unit_ != 0) {
output.writeInt32(1, unit_);
}
if (phase_ != 0) {
output.writeInt32(2, phase_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (unit_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, unit_);
}
if (phase_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, phase_);
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.LineDashType_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.LineDashType_proto other = (com.sysalto.render.serialization.RenderProto.LineDashType_proto) obj;
boolean result = true;
result = result && (getUnit()
== other.getUnit());
result = result && (getPhase()
== other.getPhase());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + UNIT_FIELD_NUMBER;
hash = (53 * hash) + getUnit();
hash = (37 * hash) + PHASE_FIELD_NUMBER;
hash = (53 * hash) + getPhase();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.LineDashType_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.LineDashType_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.LineDashType_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.LineDashType_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.LineDashType_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.LineDashType_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.LineDashType_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.LineDashType_proto 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.sysalto.render.serialization.RenderProto.LineDashType_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.LineDashType_proto 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.sysalto.render.serialization.RenderProto.LineDashType_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.LineDashType_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.LineDashType_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.LineDashType_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.LineDashType_proto)
com.sysalto.render.serialization.RenderProto.LineDashType_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_LineDashType_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_LineDashType_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.LineDashType_proto.class, com.sysalto.render.serialization.RenderProto.LineDashType_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.LineDashType_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
unit_ = 0;
phase_ = 0;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_LineDashType_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.LineDashType_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.LineDashType_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.LineDashType_proto build() {
com.sysalto.render.serialization.RenderProto.LineDashType_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.LineDashType_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.LineDashType_proto result = new com.sysalto.render.serialization.RenderProto.LineDashType_proto(this);
result.unit_ = unit_;
result.phase_ = phase_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.LineDashType_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.LineDashType_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.LineDashType_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.LineDashType_proto.getDefaultInstance()) return this;
if (other.getUnit() != 0) {
setUnit(other.getUnit());
}
if (other.getPhase() != 0) {
setPhase(other.getPhase());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.LineDashType_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.LineDashType_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int unit_ ;
/**
* int32 unit = 1;
*/
public int getUnit() {
return unit_;
}
/**
* int32 unit = 1;
*/
public Builder setUnit(int value) {
unit_ = value;
onChanged();
return this;
}
/**
* int32 unit = 1;
*/
public Builder clearUnit() {
unit_ = 0;
onChanged();
return this;
}
private int phase_ ;
/**
* int32 phase = 2;
*/
public int getPhase() {
return phase_;
}
/**
* int32 phase = 2;
*/
public Builder setPhase(int value) {
phase_ = value;
onChanged();
return this;
}
/**
* int32 phase = 2;
*/
public Builder clearPhase() {
phase_ = 0;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.LineDashType_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.LineDashType_proto)
private static final com.sysalto.render.serialization.RenderProto.LineDashType_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.LineDashType_proto();
}
public static com.sysalto.render.serialization.RenderProto.LineDashType_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public LineDashType_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LineDashType_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.LineDashType_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DrawLine_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.DrawLine_proto)
com.google.protobuf.MessageOrBuilder {
/**
* float x1 = 1;
*/
float getX1();
/**
* float y1 = 2;
*/
float getY1();
/**
* float x2 = 3;
*/
float getX2();
/**
* float y2 = 4;
*/
float getY2();
/**
* float vlineWidth = 5;
*/
float getVlineWidth();
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color = 6;
*/
boolean hasColor();
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color = 6;
*/
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto getColor();
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color = 6;
*/
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder getColorOrBuilder();
}
/**
* Protobuf type {@code com.sysalto.render.serialization.DrawLine_proto}
*/
public static final class DrawLine_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.DrawLine_proto)
DrawLine_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use DrawLine_proto.newBuilder() to construct.
private DrawLine_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DrawLine_proto() {
x1_ = 0F;
y1_ = 0F;
x2_ = 0F;
y2_ = 0F;
vlineWidth_ = 0F;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DrawLine_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 13: {
x1_ = input.readFloat();
break;
}
case 21: {
y1_ = input.readFloat();
break;
}
case 29: {
x2_ = input.readFloat();
break;
}
case 37: {
y2_ = input.readFloat();
break;
}
case 45: {
vlineWidth_ = input.readFloat();
break;
}
case 50: {
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder subBuilder = null;
if (color_ != null) {
subBuilder = color_.toBuilder();
}
color_ = input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(color_);
color_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_DrawLine_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_DrawLine_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.DrawLine_proto.class, com.sysalto.render.serialization.RenderProto.DrawLine_proto.Builder.class);
}
public static final int X1_FIELD_NUMBER = 1;
private float x1_;
/**
* float x1 = 1;
*/
public float getX1() {
return x1_;
}
public static final int Y1_FIELD_NUMBER = 2;
private float y1_;
/**
* float y1 = 2;
*/
public float getY1() {
return y1_;
}
public static final int X2_FIELD_NUMBER = 3;
private float x2_;
/**
* float x2 = 3;
*/
public float getX2() {
return x2_;
}
public static final int Y2_FIELD_NUMBER = 4;
private float y2_;
/**
* float y2 = 4;
*/
public float getY2() {
return y2_;
}
public static final int VLINEWIDTH_FIELD_NUMBER = 5;
private float vlineWidth_;
/**
* float vlineWidth = 5;
*/
public float getVlineWidth() {
return vlineWidth_;
}
public static final int COLOR_FIELD_NUMBER = 6;
private com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto color_;
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color = 6;
*/
public boolean hasColor() {
return color_ != null;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color = 6;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto getColor() {
return color_ == null ? com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.getDefaultInstance() : color_;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color = 6;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder getColorOrBuilder() {
return getColor();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (x1_ != 0F) {
output.writeFloat(1, x1_);
}
if (y1_ != 0F) {
output.writeFloat(2, y1_);
}
if (x2_ != 0F) {
output.writeFloat(3, x2_);
}
if (y2_ != 0F) {
output.writeFloat(4, y2_);
}
if (vlineWidth_ != 0F) {
output.writeFloat(5, vlineWidth_);
}
if (color_ != null) {
output.writeMessage(6, getColor());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (x1_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(1, x1_);
}
if (y1_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, y1_);
}
if (x2_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, x2_);
}
if (y2_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(4, y2_);
}
if (vlineWidth_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(5, vlineWidth_);
}
if (color_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getColor());
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.DrawLine_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.DrawLine_proto other = (com.sysalto.render.serialization.RenderProto.DrawLine_proto) obj;
boolean result = true;
result = result && (
java.lang.Float.floatToIntBits(getX1())
== java.lang.Float.floatToIntBits(
other.getX1()));
result = result && (
java.lang.Float.floatToIntBits(getY1())
== java.lang.Float.floatToIntBits(
other.getY1()));
result = result && (
java.lang.Float.floatToIntBits(getX2())
== java.lang.Float.floatToIntBits(
other.getX2()));
result = result && (
java.lang.Float.floatToIntBits(getY2())
== java.lang.Float.floatToIntBits(
other.getY2()));
result = result && (
java.lang.Float.floatToIntBits(getVlineWidth())
== java.lang.Float.floatToIntBits(
other.getVlineWidth()));
result = result && (hasColor() == other.hasColor());
if (hasColor()) {
result = result && getColor()
.equals(other.getColor());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + X1_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getX1());
hash = (37 * hash) + Y1_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getY1());
hash = (37 * hash) + X2_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getX2());
hash = (37 * hash) + Y2_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getY2());
hash = (37 * hash) + VLINEWIDTH_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getVlineWidth());
if (hasColor()) {
hash = (37 * hash) + COLOR_FIELD_NUMBER;
hash = (53 * hash) + getColor().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.DrawLine_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.DrawLine_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.DrawLine_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.DrawLine_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.DrawLine_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.DrawLine_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.DrawLine_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.DrawLine_proto 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.sysalto.render.serialization.RenderProto.DrawLine_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.DrawLine_proto 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.sysalto.render.serialization.RenderProto.DrawLine_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.DrawLine_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.DrawLine_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.DrawLine_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.DrawLine_proto)
com.sysalto.render.serialization.RenderProto.DrawLine_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_DrawLine_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_DrawLine_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.DrawLine_proto.class, com.sysalto.render.serialization.RenderProto.DrawLine_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.DrawLine_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
x1_ = 0F;
y1_ = 0F;
x2_ = 0F;
y2_ = 0F;
vlineWidth_ = 0F;
if (colorBuilder_ == null) {
color_ = null;
} else {
color_ = null;
colorBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_DrawLine_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.DrawLine_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.DrawLine_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.DrawLine_proto build() {
com.sysalto.render.serialization.RenderProto.DrawLine_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.DrawLine_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.DrawLine_proto result = new com.sysalto.render.serialization.RenderProto.DrawLine_proto(this);
result.x1_ = x1_;
result.y1_ = y1_;
result.x2_ = x2_;
result.y2_ = y2_;
result.vlineWidth_ = vlineWidth_;
if (colorBuilder_ == null) {
result.color_ = color_;
} else {
result.color_ = colorBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.DrawLine_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.DrawLine_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.DrawLine_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.DrawLine_proto.getDefaultInstance()) return this;
if (other.getX1() != 0F) {
setX1(other.getX1());
}
if (other.getY1() != 0F) {
setY1(other.getY1());
}
if (other.getX2() != 0F) {
setX2(other.getX2());
}
if (other.getY2() != 0F) {
setY2(other.getY2());
}
if (other.getVlineWidth() != 0F) {
setVlineWidth(other.getVlineWidth());
}
if (other.hasColor()) {
mergeColor(other.getColor());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.DrawLine_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.DrawLine_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private float x1_ ;
/**
* float x1 = 1;
*/
public float getX1() {
return x1_;
}
/**
* float x1 = 1;
*/
public Builder setX1(float value) {
x1_ = value;
onChanged();
return this;
}
/**
* float x1 = 1;
*/
public Builder clearX1() {
x1_ = 0F;
onChanged();
return this;
}
private float y1_ ;
/**
* float y1 = 2;
*/
public float getY1() {
return y1_;
}
/**
* float y1 = 2;
*/
public Builder setY1(float value) {
y1_ = value;
onChanged();
return this;
}
/**
* float y1 = 2;
*/
public Builder clearY1() {
y1_ = 0F;
onChanged();
return this;
}
private float x2_ ;
/**
* float x2 = 3;
*/
public float getX2() {
return x2_;
}
/**
* float x2 = 3;
*/
public Builder setX2(float value) {
x2_ = value;
onChanged();
return this;
}
/**
* float x2 = 3;
*/
public Builder clearX2() {
x2_ = 0F;
onChanged();
return this;
}
private float y2_ ;
/**
* float y2 = 4;
*/
public float getY2() {
return y2_;
}
/**
* float y2 = 4;
*/
public Builder setY2(float value) {
y2_ = value;
onChanged();
return this;
}
/**
* float y2 = 4;
*/
public Builder clearY2() {
y2_ = 0F;
onChanged();
return this;
}
private float vlineWidth_ ;
/**
* float vlineWidth = 5;
*/
public float getVlineWidth() {
return vlineWidth_;
}
/**
* float vlineWidth = 5;
*/
public Builder setVlineWidth(float value) {
vlineWidth_ = value;
onChanged();
return this;
}
/**
* float vlineWidth = 5;
*/
public Builder clearVlineWidth() {
vlineWidth_ = 0F;
onChanged();
return this;
}
private com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto color_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder> colorBuilder_;
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color = 6;
*/
public boolean hasColor() {
return colorBuilder_ != null || color_ != null;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color = 6;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto getColor() {
if (colorBuilder_ == null) {
return color_ == null ? com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.getDefaultInstance() : color_;
} else {
return colorBuilder_.getMessage();
}
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color = 6;
*/
public Builder setColor(com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto value) {
if (colorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
color_ = value;
onChanged();
} else {
colorBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color = 6;
*/
public Builder setColor(
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder builderForValue) {
if (colorBuilder_ == null) {
color_ = builderForValue.build();
onChanged();
} else {
colorBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color = 6;
*/
public Builder mergeColor(com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto value) {
if (colorBuilder_ == null) {
if (color_ != null) {
color_ =
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.newBuilder(color_).mergeFrom(value).buildPartial();
} else {
color_ = value;
}
onChanged();
} else {
colorBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color = 6;
*/
public Builder clearColor() {
if (colorBuilder_ == null) {
color_ = null;
onChanged();
} else {
color_ = null;
colorBuilder_ = null;
}
return this;
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color = 6;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder getColorBuilder() {
onChanged();
return getColorFieldBuilder().getBuilder();
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color = 6;
*/
public com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder getColorOrBuilder() {
if (colorBuilder_ != null) {
return colorBuilder_.getMessageOrBuilder();
} else {
return color_ == null ?
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.getDefaultInstance() : color_;
}
}
/**
* .com.sysalto.report.serialization.common.ReportColor_proto color = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder>
getColorFieldBuilder() {
if (colorBuilder_ == null) {
colorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_proto.Builder, com.sysalto.report.serialization.common.ReportCommonProto.ReportColor_protoOrBuilder>(
getColor(),
getParentForChildren(),
isClean());
color_ = null;
}
return colorBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.DrawLine_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.DrawLine_proto)
private static final com.sysalto.render.serialization.RenderProto.DrawLine_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.DrawLine_proto();
}
public static com.sysalto.render.serialization.RenderProto.DrawLine_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public DrawLine_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DrawLine_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.DrawLine_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PdfDrawImage_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.PdfDrawImage_proto)
com.google.protobuf.MessageOrBuilder {
/**
* float x = 1;
*/
float getX();
/**
* float y = 2;
*/
float getY();
/**
* float scale = 3;
*/
float getScale();
/**
* int64 idPdfImage = 4;
*/
long getIdPdfImage();
/**
* repeated float opacity = 5;
*/
java.util.List getOpacityList();
/**
* repeated float opacity = 5;
*/
int getOpacityCount();
/**
* repeated float opacity = 5;
*/
float getOpacity(int index);
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfDrawImage_proto}
*/
public static final class PdfDrawImage_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.PdfDrawImage_proto)
PdfDrawImage_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PdfDrawImage_proto.newBuilder() to construct.
private PdfDrawImage_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PdfDrawImage_proto() {
x_ = 0F;
y_ = 0F;
scale_ = 0F;
idPdfImage_ = 0L;
opacity_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PdfDrawImage_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 13: {
x_ = input.readFloat();
break;
}
case 21: {
y_ = input.readFloat();
break;
}
case 29: {
scale_ = input.readFloat();
break;
}
case 32: {
idPdfImage_ = input.readInt64();
break;
}
case 45: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
opacity_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
opacity_.add(input.readFloat());
break;
}
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010) && input.getBytesUntilLimit() > 0) {
opacity_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
while (input.getBytesUntilLimit() > 0) {
opacity_.add(input.readFloat());
}
input.popLimit(limit);
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
opacity_ = java.util.Collections.unmodifiableList(opacity_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfDrawImage_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfDrawImage_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.class, com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.Builder.class);
}
private int bitField0_;
public static final int X_FIELD_NUMBER = 1;
private float x_;
/**
* float x = 1;
*/
public float getX() {
return x_;
}
public static final int Y_FIELD_NUMBER = 2;
private float y_;
/**
* float y = 2;
*/
public float getY() {
return y_;
}
public static final int SCALE_FIELD_NUMBER = 3;
private float scale_;
/**
* float scale = 3;
*/
public float getScale() {
return scale_;
}
public static final int IDPDFIMAGE_FIELD_NUMBER = 4;
private long idPdfImage_;
/**
* int64 idPdfImage = 4;
*/
public long getIdPdfImage() {
return idPdfImage_;
}
public static final int OPACITY_FIELD_NUMBER = 5;
private java.util.List opacity_;
/**
* repeated float opacity = 5;
*/
public java.util.List
getOpacityList() {
return opacity_;
}
/**
* repeated float opacity = 5;
*/
public int getOpacityCount() {
return opacity_.size();
}
/**
* repeated float opacity = 5;
*/
public float getOpacity(int index) {
return opacity_.get(index);
}
private int opacityMemoizedSerializedSize = -1;
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (x_ != 0F) {
output.writeFloat(1, x_);
}
if (y_ != 0F) {
output.writeFloat(2, y_);
}
if (scale_ != 0F) {
output.writeFloat(3, scale_);
}
if (idPdfImage_ != 0L) {
output.writeInt64(4, idPdfImage_);
}
if (getOpacityList().size() > 0) {
output.writeUInt32NoTag(42);
output.writeUInt32NoTag(opacityMemoizedSerializedSize);
}
for (int i = 0; i < opacity_.size(); i++) {
output.writeFloatNoTag(opacity_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (x_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(1, x_);
}
if (y_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, y_);
}
if (scale_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, scale_);
}
if (idPdfImage_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, idPdfImage_);
}
{
int dataSize = 0;
dataSize = 4 * getOpacityList().size();
size += dataSize;
if (!getOpacityList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
opacityMemoizedSerializedSize = dataSize;
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.PdfDrawImage_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto other = (com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto) obj;
boolean result = true;
result = result && (
java.lang.Float.floatToIntBits(getX())
== java.lang.Float.floatToIntBits(
other.getX()));
result = result && (
java.lang.Float.floatToIntBits(getY())
== java.lang.Float.floatToIntBits(
other.getY()));
result = result && (
java.lang.Float.floatToIntBits(getScale())
== java.lang.Float.floatToIntBits(
other.getScale()));
result = result && (getIdPdfImage()
== other.getIdPdfImage());
result = result && getOpacityList()
.equals(other.getOpacityList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + X_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getX());
hash = (37 * hash) + Y_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getY());
hash = (37 * hash) + SCALE_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getScale());
hash = (37 * hash) + IDPDFIMAGE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIdPdfImage());
if (getOpacityCount() > 0) {
hash = (37 * hash) + OPACITY_FIELD_NUMBER;
hash = (53 * hash) + getOpacityList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto 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.sysalto.render.serialization.RenderProto.PdfDrawImage_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto 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.sysalto.render.serialization.RenderProto.PdfDrawImage_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.PdfDrawImage_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.PdfDrawImage_proto)
com.sysalto.render.serialization.RenderProto.PdfDrawImage_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfDrawImage_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfDrawImage_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.class, com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
x_ = 0F;
y_ = 0F;
scale_ = 0F;
idPdfImage_ = 0L;
opacity_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_PdfDrawImage_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto build() {
com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto result = new com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.x_ = x_;
result.y_ = y_;
result.scale_ = scale_;
result.idPdfImage_ = idPdfImage_;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
opacity_ = java.util.Collections.unmodifiableList(opacity_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.opacity_ = opacity_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto.getDefaultInstance()) return this;
if (other.getX() != 0F) {
setX(other.getX());
}
if (other.getY() != 0F) {
setY(other.getY());
}
if (other.getScale() != 0F) {
setScale(other.getScale());
}
if (other.getIdPdfImage() != 0L) {
setIdPdfImage(other.getIdPdfImage());
}
if (!other.opacity_.isEmpty()) {
if (opacity_.isEmpty()) {
opacity_ = other.opacity_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureOpacityIsMutable();
opacity_.addAll(other.opacity_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private float x_ ;
/**
* float x = 1;
*/
public float getX() {
return x_;
}
/**
* float x = 1;
*/
public Builder setX(float value) {
x_ = value;
onChanged();
return this;
}
/**
* float x = 1;
*/
public Builder clearX() {
x_ = 0F;
onChanged();
return this;
}
private float y_ ;
/**
* float y = 2;
*/
public float getY() {
return y_;
}
/**
* float y = 2;
*/
public Builder setY(float value) {
y_ = value;
onChanged();
return this;
}
/**
* float y = 2;
*/
public Builder clearY() {
y_ = 0F;
onChanged();
return this;
}
private float scale_ ;
/**
* float scale = 3;
*/
public float getScale() {
return scale_;
}
/**
* float scale = 3;
*/
public Builder setScale(float value) {
scale_ = value;
onChanged();
return this;
}
/**
* float scale = 3;
*/
public Builder clearScale() {
scale_ = 0F;
onChanged();
return this;
}
private long idPdfImage_ ;
/**
* int64 idPdfImage = 4;
*/
public long getIdPdfImage() {
return idPdfImage_;
}
/**
* int64 idPdfImage = 4;
*/
public Builder setIdPdfImage(long value) {
idPdfImage_ = value;
onChanged();
return this;
}
/**
* int64 idPdfImage = 4;
*/
public Builder clearIdPdfImage() {
idPdfImage_ = 0L;
onChanged();
return this;
}
private java.util.List opacity_ = java.util.Collections.emptyList();
private void ensureOpacityIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
opacity_ = new java.util.ArrayList(opacity_);
bitField0_ |= 0x00000010;
}
}
/**
* repeated float opacity = 5;
*/
public java.util.List
getOpacityList() {
return java.util.Collections.unmodifiableList(opacity_);
}
/**
* repeated float opacity = 5;
*/
public int getOpacityCount() {
return opacity_.size();
}
/**
* repeated float opacity = 5;
*/
public float getOpacity(int index) {
return opacity_.get(index);
}
/**
* repeated float opacity = 5;
*/
public Builder setOpacity(
int index, float value) {
ensureOpacityIsMutable();
opacity_.set(index, value);
onChanged();
return this;
}
/**
* repeated float opacity = 5;
*/
public Builder addOpacity(float value) {
ensureOpacityIsMutable();
opacity_.add(value);
onChanged();
return this;
}
/**
* repeated float opacity = 5;
*/
public Builder addAllOpacity(
java.lang.Iterable extends java.lang.Float> values) {
ensureOpacityIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, opacity_);
onChanged();
return this;
}
/**
* repeated float opacity = 5;
*/
public Builder clearOpacity() {
opacity_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.PdfDrawImage_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.PdfDrawImage_proto)
private static final com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto();
}
public static com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PdfDrawImage_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PdfDrawImage_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.PdfDrawImage_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RColor_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.RColor_proto)
com.google.protobuf.MessageOrBuilder {
/**
* int32 r = 1;
*/
int getR();
/**
* int32 g = 2;
*/
int getG();
/**
* int32 b = 3;
*/
int getB();
/**
* float opacity = 4;
*/
float getOpacity();
}
/**
* Protobuf type {@code com.sysalto.render.serialization.RColor_proto}
*/
public static final class RColor_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.RColor_proto)
RColor_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use RColor_proto.newBuilder() to construct.
private RColor_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RColor_proto() {
r_ = 0;
g_ = 0;
b_ = 0;
opacity_ = 0F;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RColor_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
r_ = input.readInt32();
break;
}
case 16: {
g_ = input.readInt32();
break;
}
case 24: {
b_ = input.readInt32();
break;
}
case 37: {
opacity_ = input.readFloat();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_RColor_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_RColor_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.RColor_proto.class, com.sysalto.render.serialization.RenderProto.RColor_proto.Builder.class);
}
public static final int R_FIELD_NUMBER = 1;
private int r_;
/**
* int32 r = 1;
*/
public int getR() {
return r_;
}
public static final int G_FIELD_NUMBER = 2;
private int g_;
/**
* int32 g = 2;
*/
public int getG() {
return g_;
}
public static final int B_FIELD_NUMBER = 3;
private int b_;
/**
* int32 b = 3;
*/
public int getB() {
return b_;
}
public static final int OPACITY_FIELD_NUMBER = 4;
private float opacity_;
/**
* float opacity = 4;
*/
public float getOpacity() {
return opacity_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (r_ != 0) {
output.writeInt32(1, r_);
}
if (g_ != 0) {
output.writeInt32(2, g_);
}
if (b_ != 0) {
output.writeInt32(3, b_);
}
if (opacity_ != 0F) {
output.writeFloat(4, opacity_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (r_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, r_);
}
if (g_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, g_);
}
if (b_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, b_);
}
if (opacity_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(4, opacity_);
}
size += unknownFields.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.sysalto.render.serialization.RenderProto.RColor_proto)) {
return super.equals(obj);
}
com.sysalto.render.serialization.RenderProto.RColor_proto other = (com.sysalto.render.serialization.RenderProto.RColor_proto) obj;
boolean result = true;
result = result && (getR()
== other.getR());
result = result && (getG()
== other.getG());
result = result && (getB()
== other.getB());
result = result && (
java.lang.Float.floatToIntBits(getOpacity())
== java.lang.Float.floatToIntBits(
other.getOpacity()));
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + R_FIELD_NUMBER;
hash = (53 * hash) + getR();
hash = (37 * hash) + G_FIELD_NUMBER;
hash = (53 * hash) + getG();
hash = (37 * hash) + B_FIELD_NUMBER;
hash = (53 * hash) + getB();
hash = (37 * hash) + OPACITY_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getOpacity());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sysalto.render.serialization.RenderProto.RColor_proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.RColor_proto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.RColor_proto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.RColor_proto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.RColor_proto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sysalto.render.serialization.RenderProto.RColor_proto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sysalto.render.serialization.RenderProto.RColor_proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.RColor_proto 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.sysalto.render.serialization.RenderProto.RColor_proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.RColor_proto 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.sysalto.render.serialization.RenderProto.RColor_proto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sysalto.render.serialization.RenderProto.RColor_proto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sysalto.render.serialization.RenderProto.RColor_proto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code com.sysalto.render.serialization.RColor_proto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sysalto.render.serialization.RColor_proto)
com.sysalto.render.serialization.RenderProto.RColor_protoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_RColor_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_RColor_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.RColor_proto.class, com.sysalto.render.serialization.RenderProto.RColor_proto.Builder.class);
}
// Construct using com.sysalto.render.serialization.RenderProto.RColor_proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
r_ = 0;
g_ = 0;
b_ = 0;
opacity_ = 0F;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_RColor_proto_descriptor;
}
public com.sysalto.render.serialization.RenderProto.RColor_proto getDefaultInstanceForType() {
return com.sysalto.render.serialization.RenderProto.RColor_proto.getDefaultInstance();
}
public com.sysalto.render.serialization.RenderProto.RColor_proto build() {
com.sysalto.render.serialization.RenderProto.RColor_proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.sysalto.render.serialization.RenderProto.RColor_proto buildPartial() {
com.sysalto.render.serialization.RenderProto.RColor_proto result = new com.sysalto.render.serialization.RenderProto.RColor_proto(this);
result.r_ = r_;
result.g_ = g_;
result.b_ = b_;
result.opacity_ = opacity_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sysalto.render.serialization.RenderProto.RColor_proto) {
return mergeFrom((com.sysalto.render.serialization.RenderProto.RColor_proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sysalto.render.serialization.RenderProto.RColor_proto other) {
if (other == com.sysalto.render.serialization.RenderProto.RColor_proto.getDefaultInstance()) return this;
if (other.getR() != 0) {
setR(other.getR());
}
if (other.getG() != 0) {
setG(other.getG());
}
if (other.getB() != 0) {
setB(other.getB());
}
if (other.getOpacity() != 0F) {
setOpacity(other.getOpacity());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sysalto.render.serialization.RenderProto.RColor_proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sysalto.render.serialization.RenderProto.RColor_proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int r_ ;
/**
* int32 r = 1;
*/
public int getR() {
return r_;
}
/**
* int32 r = 1;
*/
public Builder setR(int value) {
r_ = value;
onChanged();
return this;
}
/**
* int32 r = 1;
*/
public Builder clearR() {
r_ = 0;
onChanged();
return this;
}
private int g_ ;
/**
* int32 g = 2;
*/
public int getG() {
return g_;
}
/**
* int32 g = 2;
*/
public Builder setG(int value) {
g_ = value;
onChanged();
return this;
}
/**
* int32 g = 2;
*/
public Builder clearG() {
g_ = 0;
onChanged();
return this;
}
private int b_ ;
/**
* int32 b = 3;
*/
public int getB() {
return b_;
}
/**
* int32 b = 3;
*/
public Builder setB(int value) {
b_ = value;
onChanged();
return this;
}
/**
* int32 b = 3;
*/
public Builder clearB() {
b_ = 0;
onChanged();
return this;
}
private float opacity_ ;
/**
* float opacity = 4;
*/
public float getOpacity() {
return opacity_;
}
/**
* float opacity = 4;
*/
public Builder setOpacity(float value) {
opacity_ = value;
onChanged();
return this;
}
/**
* float opacity = 4;
*/
public Builder clearOpacity() {
opacity_ = 0F;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sysalto.render.serialization.RColor_proto)
}
// @@protoc_insertion_point(class_scope:com.sysalto.render.serialization.RColor_proto)
private static final com.sysalto.render.serialization.RenderProto.RColor_proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sysalto.render.serialization.RenderProto.RColor_proto();
}
public static com.sysalto.render.serialization.RenderProto.RColor_proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public RColor_proto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RColor_proto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.sysalto.render.serialization.RenderProto.RColor_proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DrawPieChart_protoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sysalto.render.serialization.DrawPieChart_proto)
com.google.protobuf.MessageOrBuilder {
/**
* float x = 1;
*/
float getX();
/**
* float y = 2;
*/
float getY();
/**
* repeated .com.sysalto.render.serialization.StringDouble_proto data = 3;
*/
java.util.List
getDataList();
/**
* repeated .com.sysalto.render.serialization.StringDouble_proto data = 3;
*/
com.sysalto.render.serialization.RenderProto.StringDouble_proto getData(int index);
/**
* repeated .com.sysalto.render.serialization.StringDouble_proto data = 3;
*/
int getDataCount();
/**
* repeated .com.sysalto.render.serialization.StringDouble_proto data = 3;
*/
java.util.List extends com.sysalto.render.serialization.RenderProto.StringDouble_protoOrBuilder>
getDataOrBuilderList();
/**
* repeated .com.sysalto.render.serialization.StringDouble_proto data = 3;
*/
com.sysalto.render.serialization.RenderProto.StringDouble_protoOrBuilder getDataOrBuilder(
int index);
/**
* float height = 4;
*/
float getHeight();
/**
* string title = 6;
*/
java.lang.String getTitle();
/**
* string title = 6;
*/
com.google.protobuf.ByteString
getTitleBytes();
/**
* float width = 7;
*/
float getWidth();
/**
* .com.sysalto.report.serialization.common.RFont_proto font = 8;
*/
boolean hasFont();
/**
* .com.sysalto.report.serialization.common.RFont_proto font = 8;
*/
com.sysalto.report.serialization.common.ReportCommonProto.RFont_proto getFont();
/**
* .com.sysalto.report.serialization.common.RFont_proto font = 8;
*/
com.sysalto.report.serialization.common.ReportCommonProto.RFont_protoOrBuilder getFontOrBuilder();
}
/**
* Protobuf type {@code com.sysalto.render.serialization.DrawPieChart_proto}
*/
public static final class DrawPieChart_proto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sysalto.render.serialization.DrawPieChart_proto)
DrawPieChart_protoOrBuilder {
private static final long serialVersionUID = 0L;
// Use DrawPieChart_proto.newBuilder() to construct.
private DrawPieChart_proto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DrawPieChart_proto() {
x_ = 0F;
y_ = 0F;
data_ = java.util.Collections.emptyList();
height_ = 0F;
title_ = "";
width_ = 0F;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DrawPieChart_proto(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 13: {
x_ = input.readFloat();
break;
}
case 21: {
y_ = input.readFloat();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
data_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
data_.add(
input.readMessage(com.sysalto.render.serialization.RenderProto.StringDouble_proto.parser(), extensionRegistry));
break;
}
case 37: {
height_ = input.readFloat();
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
title_ = s;
break;
}
case 61: {
width_ = input.readFloat();
break;
}
case 66: {
com.sysalto.report.serialization.common.ReportCommonProto.RFont_proto.Builder subBuilder = null;
if (font_ != null) {
subBuilder = font_.toBuilder();
}
font_ = input.readMessage(com.sysalto.report.serialization.common.ReportCommonProto.RFont_proto.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(font_);
font_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
data_ = java.util.Collections.unmodifiableList(data_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_DrawPieChart_proto_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sysalto.render.serialization.RenderProto.internal_static_com_sysalto_render_serialization_DrawPieChart_proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.class, com.sysalto.render.serialization.RenderProto.DrawPieChart_proto.Builder.class);
}
private int bitField0_;
public static final int X_FIELD_NUMBER = 1;
private float x_;
/**
* float x = 1;
*/
public float getX() {
return x_;
}
public static final int Y_FIELD_NUMBER = 2;
private float y_;
/**
* float y = 2;
*/
public float getY() {
return y_;
}
public static final int DATA_FIELD_NUMBER = 3;
private java.util.List data_;
/**
*