cz.proto.DML Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickzetta-java Show documentation
Show all versions of clickzetta-java Show documentation
The java SDK for clickzetta's Lakehouse
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: job.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.DML}
*/
public final class DML extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.DML)
DMLOrBuilder {
private static final long serialVersionUID = 0L;
// Use DML.newBuilder() to construct.
private DML(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DML() {
stages_ = java.util.Collections.emptyList();
boundaries_ = java.util.Collections.emptyList();
pipes_ = java.util.Collections.emptyList();
traits_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DML();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DML(
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;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
stages_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
stages_.add(
input.readMessage(cz.proto.Stage.parser(), extensionRegistry));
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
boundaries_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
boundaries_.add(
input.readMessage(cz.proto.RangeBoundary.parser(), extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
pipes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
pipes_.add(
input.readMessage(cz.proto.Pipe.parser(), extensionRegistry));
break;
}
case 32: {
planIndex_ = input.readInt32();
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
traits_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
traits_.add(
input.readMessage(cz.proto.Traits.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
stages_ = java.util.Collections.unmodifiableList(stages_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
boundaries_ = java.util.Collections.unmodifiableList(boundaries_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
pipes_ = java.util.Collections.unmodifiableList(pipes_);
}
if (((mutable_bitField0_ & 0x00000008) != 0)) {
traits_ = java.util.Collections.unmodifiableList(traits_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobProto.internal_static_cz_proto_DML_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobProto.internal_static_cz_proto_DML_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.DML.class, cz.proto.DML.Builder.class);
}
public static final int STAGES_FIELD_NUMBER = 1;
private java.util.List stages_;
/**
* repeated .cz.proto.Stage stages = 1;
*/
@java.lang.Override
public java.util.List getStagesList() {
return stages_;
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
@java.lang.Override
public java.util.List extends cz.proto.StageOrBuilder>
getStagesOrBuilderList() {
return stages_;
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
@java.lang.Override
public int getStagesCount() {
return stages_.size();
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
@java.lang.Override
public cz.proto.Stage getStages(int index) {
return stages_.get(index);
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
@java.lang.Override
public cz.proto.StageOrBuilder getStagesOrBuilder(
int index) {
return stages_.get(index);
}
public static final int BOUNDARIES_FIELD_NUMBER = 2;
private java.util.List boundaries_;
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
@java.lang.Override
public java.util.List getBoundariesList() {
return boundaries_;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
@java.lang.Override
public java.util.List extends cz.proto.RangeBoundaryOrBuilder>
getBoundariesOrBuilderList() {
return boundaries_;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
@java.lang.Override
public int getBoundariesCount() {
return boundaries_.size();
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
@java.lang.Override
public cz.proto.RangeBoundary getBoundaries(int index) {
return boundaries_.get(index);
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
@java.lang.Override
public cz.proto.RangeBoundaryOrBuilder getBoundariesOrBuilder(
int index) {
return boundaries_.get(index);
}
public static final int PIPES_FIELD_NUMBER = 3;
private java.util.List pipes_;
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
@java.lang.Override
public java.util.List getPipesList() {
return pipes_;
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
@java.lang.Override
public java.util.List extends cz.proto.PipeOrBuilder>
getPipesOrBuilderList() {
return pipes_;
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
@java.lang.Override
public int getPipesCount() {
return pipes_.size();
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
@java.lang.Override
public cz.proto.Pipe getPipes(int index) {
return pipes_.get(index);
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
@java.lang.Override
public cz.proto.PipeOrBuilder getPipesOrBuilder(
int index) {
return pipes_.get(index);
}
public static final int PLAN_INDEX_FIELD_NUMBER = 4;
private int planIndex_;
/**
* int32 plan_index = 4;
* @return The planIndex.
*/
@java.lang.Override
public int getPlanIndex() {
return planIndex_;
}
public static final int TRAITS_FIELD_NUMBER = 5;
private java.util.List traits_;
/**
* repeated .cz.proto.Traits traits = 5;
*/
@java.lang.Override
public java.util.List getTraitsList() {
return traits_;
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
@java.lang.Override
public java.util.List extends cz.proto.TraitsOrBuilder>
getTraitsOrBuilderList() {
return traits_;
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
@java.lang.Override
public int getTraitsCount() {
return traits_.size();
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
@java.lang.Override
public cz.proto.Traits getTraits(int index) {
return traits_.get(index);
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
@java.lang.Override
public cz.proto.TraitsOrBuilder getTraitsOrBuilder(
int index) {
return traits_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < stages_.size(); i++) {
output.writeMessage(1, stages_.get(i));
}
for (int i = 0; i < boundaries_.size(); i++) {
output.writeMessage(2, boundaries_.get(i));
}
for (int i = 0; i < pipes_.size(); i++) {
output.writeMessage(3, pipes_.get(i));
}
if (planIndex_ != 0) {
output.writeInt32(4, planIndex_);
}
for (int i = 0; i < traits_.size(); i++) {
output.writeMessage(5, traits_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < stages_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, stages_.get(i));
}
for (int i = 0; i < boundaries_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, boundaries_.get(i));
}
for (int i = 0; i < pipes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, pipes_.get(i));
}
if (planIndex_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, planIndex_);
}
for (int i = 0; i < traits_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, traits_.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 cz.proto.DML)) {
return super.equals(obj);
}
cz.proto.DML other = (cz.proto.DML) obj;
if (!getStagesList()
.equals(other.getStagesList())) return false;
if (!getBoundariesList()
.equals(other.getBoundariesList())) return false;
if (!getPipesList()
.equals(other.getPipesList())) return false;
if (getPlanIndex()
!= other.getPlanIndex()) return false;
if (!getTraitsList()
.equals(other.getTraitsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getStagesCount() > 0) {
hash = (37 * hash) + STAGES_FIELD_NUMBER;
hash = (53 * hash) + getStagesList().hashCode();
}
if (getBoundariesCount() > 0) {
hash = (37 * hash) + BOUNDARIES_FIELD_NUMBER;
hash = (53 * hash) + getBoundariesList().hashCode();
}
if (getPipesCount() > 0) {
hash = (37 * hash) + PIPES_FIELD_NUMBER;
hash = (53 * hash) + getPipesList().hashCode();
}
hash = (37 * hash) + PLAN_INDEX_FIELD_NUMBER;
hash = (53 * hash) + getPlanIndex();
if (getTraitsCount() > 0) {
hash = (37 * hash) + TRAITS_FIELD_NUMBER;
hash = (53 * hash) + getTraitsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.DML parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.DML parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.DML parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.DML parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.DML parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.DML parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.DML parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.DML 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 cz.proto.DML parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.DML 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 cz.proto.DML parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.DML parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.proto.DML prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code cz.proto.DML}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.DML)
cz.proto.DMLOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobProto.internal_static_cz_proto_DML_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobProto.internal_static_cz_proto_DML_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.DML.class, cz.proto.DML.Builder.class);
}
// Construct using cz.proto.DML.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStagesFieldBuilder();
getBoundariesFieldBuilder();
getPipesFieldBuilder();
getTraitsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (stagesBuilder_ == null) {
stages_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
stagesBuilder_.clear();
}
if (boundariesBuilder_ == null) {
boundaries_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
boundariesBuilder_.clear();
}
if (pipesBuilder_ == null) {
pipes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
pipesBuilder_.clear();
}
planIndex_ = 0;
if (traitsBuilder_ == null) {
traits_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
traitsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.JobProto.internal_static_cz_proto_DML_descriptor;
}
@java.lang.Override
public cz.proto.DML getDefaultInstanceForType() {
return cz.proto.DML.getDefaultInstance();
}
@java.lang.Override
public cz.proto.DML build() {
cz.proto.DML result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.DML buildPartial() {
cz.proto.DML result = new cz.proto.DML(this);
int from_bitField0_ = bitField0_;
if (stagesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
stages_ = java.util.Collections.unmodifiableList(stages_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.stages_ = stages_;
} else {
result.stages_ = stagesBuilder_.build();
}
if (boundariesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
boundaries_ = java.util.Collections.unmodifiableList(boundaries_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.boundaries_ = boundaries_;
} else {
result.boundaries_ = boundariesBuilder_.build();
}
if (pipesBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
pipes_ = java.util.Collections.unmodifiableList(pipes_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.pipes_ = pipes_;
} else {
result.pipes_ = pipesBuilder_.build();
}
result.planIndex_ = planIndex_;
if (traitsBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
traits_ = java.util.Collections.unmodifiableList(traits_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.traits_ = traits_;
} else {
result.traits_ = traitsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.proto.DML) {
return mergeFrom((cz.proto.DML)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.DML other) {
if (other == cz.proto.DML.getDefaultInstance()) return this;
if (stagesBuilder_ == null) {
if (!other.stages_.isEmpty()) {
if (stages_.isEmpty()) {
stages_ = other.stages_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureStagesIsMutable();
stages_.addAll(other.stages_);
}
onChanged();
}
} else {
if (!other.stages_.isEmpty()) {
if (stagesBuilder_.isEmpty()) {
stagesBuilder_.dispose();
stagesBuilder_ = null;
stages_ = other.stages_;
bitField0_ = (bitField0_ & ~0x00000001);
stagesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStagesFieldBuilder() : null;
} else {
stagesBuilder_.addAllMessages(other.stages_);
}
}
}
if (boundariesBuilder_ == null) {
if (!other.boundaries_.isEmpty()) {
if (boundaries_.isEmpty()) {
boundaries_ = other.boundaries_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureBoundariesIsMutable();
boundaries_.addAll(other.boundaries_);
}
onChanged();
}
} else {
if (!other.boundaries_.isEmpty()) {
if (boundariesBuilder_.isEmpty()) {
boundariesBuilder_.dispose();
boundariesBuilder_ = null;
boundaries_ = other.boundaries_;
bitField0_ = (bitField0_ & ~0x00000002);
boundariesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getBoundariesFieldBuilder() : null;
} else {
boundariesBuilder_.addAllMessages(other.boundaries_);
}
}
}
if (pipesBuilder_ == null) {
if (!other.pipes_.isEmpty()) {
if (pipes_.isEmpty()) {
pipes_ = other.pipes_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensurePipesIsMutable();
pipes_.addAll(other.pipes_);
}
onChanged();
}
} else {
if (!other.pipes_.isEmpty()) {
if (pipesBuilder_.isEmpty()) {
pipesBuilder_.dispose();
pipesBuilder_ = null;
pipes_ = other.pipes_;
bitField0_ = (bitField0_ & ~0x00000004);
pipesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPipesFieldBuilder() : null;
} else {
pipesBuilder_.addAllMessages(other.pipes_);
}
}
}
if (other.getPlanIndex() != 0) {
setPlanIndex(other.getPlanIndex());
}
if (traitsBuilder_ == null) {
if (!other.traits_.isEmpty()) {
if (traits_.isEmpty()) {
traits_ = other.traits_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureTraitsIsMutable();
traits_.addAll(other.traits_);
}
onChanged();
}
} else {
if (!other.traits_.isEmpty()) {
if (traitsBuilder_.isEmpty()) {
traitsBuilder_.dispose();
traitsBuilder_ = null;
traits_ = other.traits_;
bitField0_ = (bitField0_ & ~0x00000008);
traitsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTraitsFieldBuilder() : null;
} else {
traitsBuilder_.addAllMessages(other.traits_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.proto.DML parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.DML) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List stages_ =
java.util.Collections.emptyList();
private void ensureStagesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
stages_ = new java.util.ArrayList(stages_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Stage, cz.proto.Stage.Builder, cz.proto.StageOrBuilder> stagesBuilder_;
/**
* repeated .cz.proto.Stage stages = 1;
*/
public java.util.List getStagesList() {
if (stagesBuilder_ == null) {
return java.util.Collections.unmodifiableList(stages_);
} else {
return stagesBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public int getStagesCount() {
if (stagesBuilder_ == null) {
return stages_.size();
} else {
return stagesBuilder_.getCount();
}
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public cz.proto.Stage getStages(int index) {
if (stagesBuilder_ == null) {
return stages_.get(index);
} else {
return stagesBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public Builder setStages(
int index, cz.proto.Stage value) {
if (stagesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStagesIsMutable();
stages_.set(index, value);
onChanged();
} else {
stagesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public Builder setStages(
int index, cz.proto.Stage.Builder builderForValue) {
if (stagesBuilder_ == null) {
ensureStagesIsMutable();
stages_.set(index, builderForValue.build());
onChanged();
} else {
stagesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public Builder addStages(cz.proto.Stage value) {
if (stagesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStagesIsMutable();
stages_.add(value);
onChanged();
} else {
stagesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public Builder addStages(
int index, cz.proto.Stage value) {
if (stagesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStagesIsMutable();
stages_.add(index, value);
onChanged();
} else {
stagesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public Builder addStages(
cz.proto.Stage.Builder builderForValue) {
if (stagesBuilder_ == null) {
ensureStagesIsMutable();
stages_.add(builderForValue.build());
onChanged();
} else {
stagesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public Builder addStages(
int index, cz.proto.Stage.Builder builderForValue) {
if (stagesBuilder_ == null) {
ensureStagesIsMutable();
stages_.add(index, builderForValue.build());
onChanged();
} else {
stagesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public Builder addAllStages(
java.lang.Iterable extends cz.proto.Stage> values) {
if (stagesBuilder_ == null) {
ensureStagesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, stages_);
onChanged();
} else {
stagesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public Builder clearStages() {
if (stagesBuilder_ == null) {
stages_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
stagesBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public Builder removeStages(int index) {
if (stagesBuilder_ == null) {
ensureStagesIsMutable();
stages_.remove(index);
onChanged();
} else {
stagesBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public cz.proto.Stage.Builder getStagesBuilder(
int index) {
return getStagesFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public cz.proto.StageOrBuilder getStagesOrBuilder(
int index) {
if (stagesBuilder_ == null) {
return stages_.get(index); } else {
return stagesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public java.util.List extends cz.proto.StageOrBuilder>
getStagesOrBuilderList() {
if (stagesBuilder_ != null) {
return stagesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(stages_);
}
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public cz.proto.Stage.Builder addStagesBuilder() {
return getStagesFieldBuilder().addBuilder(
cz.proto.Stage.getDefaultInstance());
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public cz.proto.Stage.Builder addStagesBuilder(
int index) {
return getStagesFieldBuilder().addBuilder(
index, cz.proto.Stage.getDefaultInstance());
}
/**
* repeated .cz.proto.Stage stages = 1;
*/
public java.util.List
getStagesBuilderList() {
return getStagesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Stage, cz.proto.Stage.Builder, cz.proto.StageOrBuilder>
getStagesFieldBuilder() {
if (stagesBuilder_ == null) {
stagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Stage, cz.proto.Stage.Builder, cz.proto.StageOrBuilder>(
stages_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
stages_ = null;
}
return stagesBuilder_;
}
private java.util.List boundaries_ =
java.util.Collections.emptyList();
private void ensureBoundariesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
boundaries_ = new java.util.ArrayList(boundaries_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.RangeBoundary, cz.proto.RangeBoundary.Builder, cz.proto.RangeBoundaryOrBuilder> boundariesBuilder_;
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public java.util.List getBoundariesList() {
if (boundariesBuilder_ == null) {
return java.util.Collections.unmodifiableList(boundaries_);
} else {
return boundariesBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public int getBoundariesCount() {
if (boundariesBuilder_ == null) {
return boundaries_.size();
} else {
return boundariesBuilder_.getCount();
}
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public cz.proto.RangeBoundary getBoundaries(int index) {
if (boundariesBuilder_ == null) {
return boundaries_.get(index);
} else {
return boundariesBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public Builder setBoundaries(
int index, cz.proto.RangeBoundary value) {
if (boundariesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBoundariesIsMutable();
boundaries_.set(index, value);
onChanged();
} else {
boundariesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public Builder setBoundaries(
int index, cz.proto.RangeBoundary.Builder builderForValue) {
if (boundariesBuilder_ == null) {
ensureBoundariesIsMutable();
boundaries_.set(index, builderForValue.build());
onChanged();
} else {
boundariesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public Builder addBoundaries(cz.proto.RangeBoundary value) {
if (boundariesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBoundariesIsMutable();
boundaries_.add(value);
onChanged();
} else {
boundariesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public Builder addBoundaries(
int index, cz.proto.RangeBoundary value) {
if (boundariesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBoundariesIsMutable();
boundaries_.add(index, value);
onChanged();
} else {
boundariesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public Builder addBoundaries(
cz.proto.RangeBoundary.Builder builderForValue) {
if (boundariesBuilder_ == null) {
ensureBoundariesIsMutable();
boundaries_.add(builderForValue.build());
onChanged();
} else {
boundariesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public Builder addBoundaries(
int index, cz.proto.RangeBoundary.Builder builderForValue) {
if (boundariesBuilder_ == null) {
ensureBoundariesIsMutable();
boundaries_.add(index, builderForValue.build());
onChanged();
} else {
boundariesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public Builder addAllBoundaries(
java.lang.Iterable extends cz.proto.RangeBoundary> values) {
if (boundariesBuilder_ == null) {
ensureBoundariesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, boundaries_);
onChanged();
} else {
boundariesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public Builder clearBoundaries() {
if (boundariesBuilder_ == null) {
boundaries_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
boundariesBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public Builder removeBoundaries(int index) {
if (boundariesBuilder_ == null) {
ensureBoundariesIsMutable();
boundaries_.remove(index);
onChanged();
} else {
boundariesBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public cz.proto.RangeBoundary.Builder getBoundariesBuilder(
int index) {
return getBoundariesFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public cz.proto.RangeBoundaryOrBuilder getBoundariesOrBuilder(
int index) {
if (boundariesBuilder_ == null) {
return boundaries_.get(index); } else {
return boundariesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public java.util.List extends cz.proto.RangeBoundaryOrBuilder>
getBoundariesOrBuilderList() {
if (boundariesBuilder_ != null) {
return boundariesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(boundaries_);
}
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public cz.proto.RangeBoundary.Builder addBoundariesBuilder() {
return getBoundariesFieldBuilder().addBuilder(
cz.proto.RangeBoundary.getDefaultInstance());
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public cz.proto.RangeBoundary.Builder addBoundariesBuilder(
int index) {
return getBoundariesFieldBuilder().addBuilder(
index, cz.proto.RangeBoundary.getDefaultInstance());
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 2;
*/
public java.util.List
getBoundariesBuilderList() {
return getBoundariesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.RangeBoundary, cz.proto.RangeBoundary.Builder, cz.proto.RangeBoundaryOrBuilder>
getBoundariesFieldBuilder() {
if (boundariesBuilder_ == null) {
boundariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.RangeBoundary, cz.proto.RangeBoundary.Builder, cz.proto.RangeBoundaryOrBuilder>(
boundaries_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
boundaries_ = null;
}
return boundariesBuilder_;
}
private java.util.List pipes_ =
java.util.Collections.emptyList();
private void ensurePipesIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
pipes_ = new java.util.ArrayList(pipes_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Pipe, cz.proto.Pipe.Builder, cz.proto.PipeOrBuilder> pipesBuilder_;
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public java.util.List getPipesList() {
if (pipesBuilder_ == null) {
return java.util.Collections.unmodifiableList(pipes_);
} else {
return pipesBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public int getPipesCount() {
if (pipesBuilder_ == null) {
return pipes_.size();
} else {
return pipesBuilder_.getCount();
}
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public cz.proto.Pipe getPipes(int index) {
if (pipesBuilder_ == null) {
return pipes_.get(index);
} else {
return pipesBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public Builder setPipes(
int index, cz.proto.Pipe value) {
if (pipesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePipesIsMutable();
pipes_.set(index, value);
onChanged();
} else {
pipesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public Builder setPipes(
int index, cz.proto.Pipe.Builder builderForValue) {
if (pipesBuilder_ == null) {
ensurePipesIsMutable();
pipes_.set(index, builderForValue.build());
onChanged();
} else {
pipesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public Builder addPipes(cz.proto.Pipe value) {
if (pipesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePipesIsMutable();
pipes_.add(value);
onChanged();
} else {
pipesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public Builder addPipes(
int index, cz.proto.Pipe value) {
if (pipesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePipesIsMutable();
pipes_.add(index, value);
onChanged();
} else {
pipesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public Builder addPipes(
cz.proto.Pipe.Builder builderForValue) {
if (pipesBuilder_ == null) {
ensurePipesIsMutable();
pipes_.add(builderForValue.build());
onChanged();
} else {
pipesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public Builder addPipes(
int index, cz.proto.Pipe.Builder builderForValue) {
if (pipesBuilder_ == null) {
ensurePipesIsMutable();
pipes_.add(index, builderForValue.build());
onChanged();
} else {
pipesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public Builder addAllPipes(
java.lang.Iterable extends cz.proto.Pipe> values) {
if (pipesBuilder_ == null) {
ensurePipesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, pipes_);
onChanged();
} else {
pipesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public Builder clearPipes() {
if (pipesBuilder_ == null) {
pipes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
pipesBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public Builder removePipes(int index) {
if (pipesBuilder_ == null) {
ensurePipesIsMutable();
pipes_.remove(index);
onChanged();
} else {
pipesBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public cz.proto.Pipe.Builder getPipesBuilder(
int index) {
return getPipesFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public cz.proto.PipeOrBuilder getPipesOrBuilder(
int index) {
if (pipesBuilder_ == null) {
return pipes_.get(index); } else {
return pipesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public java.util.List extends cz.proto.PipeOrBuilder>
getPipesOrBuilderList() {
if (pipesBuilder_ != null) {
return pipesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(pipes_);
}
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public cz.proto.Pipe.Builder addPipesBuilder() {
return getPipesFieldBuilder().addBuilder(
cz.proto.Pipe.getDefaultInstance());
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public cz.proto.Pipe.Builder addPipesBuilder(
int index) {
return getPipesFieldBuilder().addBuilder(
index, cz.proto.Pipe.getDefaultInstance());
}
/**
* repeated .cz.proto.Pipe pipes = 3;
*/
public java.util.List
getPipesBuilderList() {
return getPipesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Pipe, cz.proto.Pipe.Builder, cz.proto.PipeOrBuilder>
getPipesFieldBuilder() {
if (pipesBuilder_ == null) {
pipesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Pipe, cz.proto.Pipe.Builder, cz.proto.PipeOrBuilder>(
pipes_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
pipes_ = null;
}
return pipesBuilder_;
}
private int planIndex_ ;
/**
* int32 plan_index = 4;
* @return The planIndex.
*/
@java.lang.Override
public int getPlanIndex() {
return planIndex_;
}
/**
* int32 plan_index = 4;
* @param value The planIndex to set.
* @return This builder for chaining.
*/
public Builder setPlanIndex(int value) {
planIndex_ = value;
onChanged();
return this;
}
/**
* int32 plan_index = 4;
* @return This builder for chaining.
*/
public Builder clearPlanIndex() {
planIndex_ = 0;
onChanged();
return this;
}
private java.util.List traits_ =
java.util.Collections.emptyList();
private void ensureTraitsIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
traits_ = new java.util.ArrayList(traits_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Traits, cz.proto.Traits.Builder, cz.proto.TraitsOrBuilder> traitsBuilder_;
/**
* repeated .cz.proto.Traits traits = 5;
*/
public java.util.List getTraitsList() {
if (traitsBuilder_ == null) {
return java.util.Collections.unmodifiableList(traits_);
} else {
return traitsBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public int getTraitsCount() {
if (traitsBuilder_ == null) {
return traits_.size();
} else {
return traitsBuilder_.getCount();
}
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public cz.proto.Traits getTraits(int index) {
if (traitsBuilder_ == null) {
return traits_.get(index);
} else {
return traitsBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public Builder setTraits(
int index, cz.proto.Traits value) {
if (traitsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTraitsIsMutable();
traits_.set(index, value);
onChanged();
} else {
traitsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public Builder setTraits(
int index, cz.proto.Traits.Builder builderForValue) {
if (traitsBuilder_ == null) {
ensureTraitsIsMutable();
traits_.set(index, builderForValue.build());
onChanged();
} else {
traitsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public Builder addTraits(cz.proto.Traits value) {
if (traitsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTraitsIsMutable();
traits_.add(value);
onChanged();
} else {
traitsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public Builder addTraits(
int index, cz.proto.Traits value) {
if (traitsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTraitsIsMutable();
traits_.add(index, value);
onChanged();
} else {
traitsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public Builder addTraits(
cz.proto.Traits.Builder builderForValue) {
if (traitsBuilder_ == null) {
ensureTraitsIsMutable();
traits_.add(builderForValue.build());
onChanged();
} else {
traitsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public Builder addTraits(
int index, cz.proto.Traits.Builder builderForValue) {
if (traitsBuilder_ == null) {
ensureTraitsIsMutable();
traits_.add(index, builderForValue.build());
onChanged();
} else {
traitsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public Builder addAllTraits(
java.lang.Iterable extends cz.proto.Traits> values) {
if (traitsBuilder_ == null) {
ensureTraitsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, traits_);
onChanged();
} else {
traitsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public Builder clearTraits() {
if (traitsBuilder_ == null) {
traits_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
traitsBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public Builder removeTraits(int index) {
if (traitsBuilder_ == null) {
ensureTraitsIsMutable();
traits_.remove(index);
onChanged();
} else {
traitsBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public cz.proto.Traits.Builder getTraitsBuilder(
int index) {
return getTraitsFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public cz.proto.TraitsOrBuilder getTraitsOrBuilder(
int index) {
if (traitsBuilder_ == null) {
return traits_.get(index); } else {
return traitsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public java.util.List extends cz.proto.TraitsOrBuilder>
getTraitsOrBuilderList() {
if (traitsBuilder_ != null) {
return traitsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(traits_);
}
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public cz.proto.Traits.Builder addTraitsBuilder() {
return getTraitsFieldBuilder().addBuilder(
cz.proto.Traits.getDefaultInstance());
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public cz.proto.Traits.Builder addTraitsBuilder(
int index) {
return getTraitsFieldBuilder().addBuilder(
index, cz.proto.Traits.getDefaultInstance());
}
/**
* repeated .cz.proto.Traits traits = 5;
*/
public java.util.List
getTraitsBuilderList() {
return getTraitsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Traits, cz.proto.Traits.Builder, cz.proto.TraitsOrBuilder>
getTraitsFieldBuilder() {
if (traitsBuilder_ == null) {
traitsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Traits, cz.proto.Traits.Builder, cz.proto.TraitsOrBuilder>(
traits_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
traits_ = null;
}
return traitsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cz.proto.DML)
}
// @@protoc_insertion_point(class_scope:cz.proto.DML)
private static final cz.proto.DML DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.DML();
}
public static cz.proto.DML getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DML parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DML(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.proto.DML getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy