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.
sdmxdl.cli.protobuf.Flows Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: sdmxdl_debug.proto
// Protobuf Java Version: 3.25.3
package sdmxdl.cli.protobuf;
/**
* Protobuf type {@code sdmxdl.cli.protobuf.Flows}
*/
public final class Flows extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sdmxdl.cli.protobuf.Flows)
FlowsOrBuilder {
private static final long serialVersionUID = 0L;
// Use Flows.newBuilder() to construct.
private Flows(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Flows() {
flows_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Flows();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sdmxdl.cli.protobuf.SdmxdlDebug.internal_static_sdmxdl_cli_protobuf_Flows_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sdmxdl.cli.protobuf.SdmxdlDebug.internal_static_sdmxdl_cli_protobuf_Flows_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sdmxdl.cli.protobuf.Flows.class, sdmxdl.cli.protobuf.Flows.Builder.class);
}
public static final int FLOWS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List flows_;
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
@java.lang.Override
public java.util.List getFlowsList() {
return flows_;
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
@java.lang.Override
public java.util.List extends sdmxdl.format.protobuf.DataflowOrBuilder>
getFlowsOrBuilderList() {
return flows_;
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
@java.lang.Override
public int getFlowsCount() {
return flows_.size();
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
@java.lang.Override
public sdmxdl.format.protobuf.Dataflow getFlows(int index) {
return flows_.get(index);
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
@java.lang.Override
public sdmxdl.format.protobuf.DataflowOrBuilder getFlowsOrBuilder(
int index) {
return flows_.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 < flows_.size(); i++) {
output.writeMessage(1, flows_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < flows_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, flows_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sdmxdl.cli.protobuf.Flows)) {
return super.equals(obj);
}
sdmxdl.cli.protobuf.Flows other = (sdmxdl.cli.protobuf.Flows) obj;
if (!getFlowsList()
.equals(other.getFlowsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getFlowsCount() > 0) {
hash = (37 * hash) + FLOWS_FIELD_NUMBER;
hash = (53 * hash) + getFlowsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static sdmxdl.cli.protobuf.Flows parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sdmxdl.cli.protobuf.Flows parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sdmxdl.cli.protobuf.Flows parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sdmxdl.cli.protobuf.Flows parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sdmxdl.cli.protobuf.Flows parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sdmxdl.cli.protobuf.Flows parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sdmxdl.cli.protobuf.Flows parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sdmxdl.cli.protobuf.Flows 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 sdmxdl.cli.protobuf.Flows parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sdmxdl.cli.protobuf.Flows 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 sdmxdl.cli.protobuf.Flows parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sdmxdl.cli.protobuf.Flows 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(sdmxdl.cli.protobuf.Flows 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 sdmxdl.cli.protobuf.Flows}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sdmxdl.cli.protobuf.Flows)
sdmxdl.cli.protobuf.FlowsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sdmxdl.cli.protobuf.SdmxdlDebug.internal_static_sdmxdl_cli_protobuf_Flows_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sdmxdl.cli.protobuf.SdmxdlDebug.internal_static_sdmxdl_cli_protobuf_Flows_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sdmxdl.cli.protobuf.Flows.class, sdmxdl.cli.protobuf.Flows.Builder.class);
}
// Construct using sdmxdl.cli.protobuf.Flows.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (flowsBuilder_ == null) {
flows_ = java.util.Collections.emptyList();
} else {
flows_ = null;
flowsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sdmxdl.cli.protobuf.SdmxdlDebug.internal_static_sdmxdl_cli_protobuf_Flows_descriptor;
}
@java.lang.Override
public sdmxdl.cli.protobuf.Flows getDefaultInstanceForType() {
return sdmxdl.cli.protobuf.Flows.getDefaultInstance();
}
@java.lang.Override
public sdmxdl.cli.protobuf.Flows build() {
sdmxdl.cli.protobuf.Flows result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sdmxdl.cli.protobuf.Flows buildPartial() {
sdmxdl.cli.protobuf.Flows result = new sdmxdl.cli.protobuf.Flows(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(sdmxdl.cli.protobuf.Flows result) {
if (flowsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
flows_ = java.util.Collections.unmodifiableList(flows_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.flows_ = flows_;
} else {
result.flows_ = flowsBuilder_.build();
}
}
private void buildPartial0(sdmxdl.cli.protobuf.Flows result) {
int from_bitField0_ = bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sdmxdl.cli.protobuf.Flows) {
return mergeFrom((sdmxdl.cli.protobuf.Flows)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sdmxdl.cli.protobuf.Flows other) {
if (other == sdmxdl.cli.protobuf.Flows.getDefaultInstance()) return this;
if (flowsBuilder_ == null) {
if (!other.flows_.isEmpty()) {
if (flows_.isEmpty()) {
flows_ = other.flows_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFlowsIsMutable();
flows_.addAll(other.flows_);
}
onChanged();
}
} else {
if (!other.flows_.isEmpty()) {
if (flowsBuilder_.isEmpty()) {
flowsBuilder_.dispose();
flowsBuilder_ = null;
flows_ = other.flows_;
bitField0_ = (bitField0_ & ~0x00000001);
flowsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFlowsFieldBuilder() : null;
} else {
flowsBuilder_.addAllMessages(other.flows_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
sdmxdl.format.protobuf.Dataflow m =
input.readMessage(
sdmxdl.format.protobuf.Dataflow.parser(),
extensionRegistry);
if (flowsBuilder_ == null) {
ensureFlowsIsMutable();
flows_.add(m);
} else {
flowsBuilder_.addMessage(m);
}
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List flows_ =
java.util.Collections.emptyList();
private void ensureFlowsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
flows_ = new java.util.ArrayList(flows_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
sdmxdl.format.protobuf.Dataflow, sdmxdl.format.protobuf.Dataflow.Builder, sdmxdl.format.protobuf.DataflowOrBuilder> flowsBuilder_;
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public java.util.List getFlowsList() {
if (flowsBuilder_ == null) {
return java.util.Collections.unmodifiableList(flows_);
} else {
return flowsBuilder_.getMessageList();
}
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public int getFlowsCount() {
if (flowsBuilder_ == null) {
return flows_.size();
} else {
return flowsBuilder_.getCount();
}
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public sdmxdl.format.protobuf.Dataflow getFlows(int index) {
if (flowsBuilder_ == null) {
return flows_.get(index);
} else {
return flowsBuilder_.getMessage(index);
}
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public Builder setFlows(
int index, sdmxdl.format.protobuf.Dataflow value) {
if (flowsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFlowsIsMutable();
flows_.set(index, value);
onChanged();
} else {
flowsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public Builder setFlows(
int index, sdmxdl.format.protobuf.Dataflow.Builder builderForValue) {
if (flowsBuilder_ == null) {
ensureFlowsIsMutable();
flows_.set(index, builderForValue.build());
onChanged();
} else {
flowsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public Builder addFlows(sdmxdl.format.protobuf.Dataflow value) {
if (flowsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFlowsIsMutable();
flows_.add(value);
onChanged();
} else {
flowsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public Builder addFlows(
int index, sdmxdl.format.protobuf.Dataflow value) {
if (flowsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFlowsIsMutable();
flows_.add(index, value);
onChanged();
} else {
flowsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public Builder addFlows(
sdmxdl.format.protobuf.Dataflow.Builder builderForValue) {
if (flowsBuilder_ == null) {
ensureFlowsIsMutable();
flows_.add(builderForValue.build());
onChanged();
} else {
flowsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public Builder addFlows(
int index, sdmxdl.format.protobuf.Dataflow.Builder builderForValue) {
if (flowsBuilder_ == null) {
ensureFlowsIsMutable();
flows_.add(index, builderForValue.build());
onChanged();
} else {
flowsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public Builder addAllFlows(
java.lang.Iterable extends sdmxdl.format.protobuf.Dataflow> values) {
if (flowsBuilder_ == null) {
ensureFlowsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, flows_);
onChanged();
} else {
flowsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public Builder clearFlows() {
if (flowsBuilder_ == null) {
flows_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
flowsBuilder_.clear();
}
return this;
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public Builder removeFlows(int index) {
if (flowsBuilder_ == null) {
ensureFlowsIsMutable();
flows_.remove(index);
onChanged();
} else {
flowsBuilder_.remove(index);
}
return this;
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public sdmxdl.format.protobuf.Dataflow.Builder getFlowsBuilder(
int index) {
return getFlowsFieldBuilder().getBuilder(index);
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public sdmxdl.format.protobuf.DataflowOrBuilder getFlowsOrBuilder(
int index) {
if (flowsBuilder_ == null) {
return flows_.get(index); } else {
return flowsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public java.util.List extends sdmxdl.format.protobuf.DataflowOrBuilder>
getFlowsOrBuilderList() {
if (flowsBuilder_ != null) {
return flowsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(flows_);
}
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public sdmxdl.format.protobuf.Dataflow.Builder addFlowsBuilder() {
return getFlowsFieldBuilder().addBuilder(
sdmxdl.format.protobuf.Dataflow.getDefaultInstance());
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public sdmxdl.format.protobuf.Dataflow.Builder addFlowsBuilder(
int index) {
return getFlowsFieldBuilder().addBuilder(
index, sdmxdl.format.protobuf.Dataflow.getDefaultInstance());
}
/**
* repeated .sdmxdl.format.protobuf.Dataflow flows = 1;
*/
public java.util.List
getFlowsBuilderList() {
return getFlowsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
sdmxdl.format.protobuf.Dataflow, sdmxdl.format.protobuf.Dataflow.Builder, sdmxdl.format.protobuf.DataflowOrBuilder>
getFlowsFieldBuilder() {
if (flowsBuilder_ == null) {
flowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
sdmxdl.format.protobuf.Dataflow, sdmxdl.format.protobuf.Dataflow.Builder, sdmxdl.format.protobuf.DataflowOrBuilder>(
flows_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
flows_ = null;
}
return flowsBuilder_;
}
@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:sdmxdl.cli.protobuf.Flows)
}
// @@protoc_insertion_point(class_scope:sdmxdl.cli.protobuf.Flows)
private static final sdmxdl.cli.protobuf.Flows DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sdmxdl.cli.protobuf.Flows();
}
public static sdmxdl.cli.protobuf.Flows getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Flows parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public sdmxdl.cli.protobuf.Flows getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}