com.dimajix.flowman.kernel.proto.mapping.MappingDetails Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mapping.proto
package com.dimajix.flowman.kernel.proto.mapping;
/**
* Protobuf type {@code com.dimajix.flowman.kernel.mapping.MappingDetails}
*/
public final class MappingDetails extends
com.dimajix.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.dimajix.flowman.kernel.mapping.MappingDetails)
MappingDetailsOrBuilder {
private static final long serialVersionUID = 0L;
// Use MappingDetails.newBuilder() to construct.
private MappingDetails(com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MappingDetails() {
project_ = "";
name_ = "";
kind_ = "";
outputs_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
inputs_ = java.util.Collections.emptyList();
cache_ = "";
required_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MappingDetails();
}
public static final com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dimajix.flowman.kernel.proto.mapping.MappingProto.internal_static_com_dimajix_flowman_kernel_mapping_MappingDetails_descriptor;
}
@java.lang.Override
protected com.dimajix.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dimajix.flowman.kernel.proto.mapping.MappingProto.internal_static_com_dimajix_flowman_kernel_mapping_MappingDetails_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.mapping.MappingDetails.class, com.dimajix.flowman.kernel.proto.mapping.MappingDetails.Builder.class);
}
private int bitField0_;
public static final int PROJECT_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object project_ = "";
/**
* optional string project = 1;
* @return Whether the project field is set.
*/
@java.lang.Override
public boolean hasProject() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string project = 1;
* @return The project.
*/
@java.lang.Override
public java.lang.String getProject() {
java.lang.Object ref = project_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
project_ = s;
return s;
}
}
/**
* optional string project = 1;
* @return The bytes for project.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getProjectBytes() {
java.lang.Object ref = project_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
project_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* string name = 2;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* string name = 2;
* @return The bytes for name.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int KIND_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object kind_ = "";
/**
* string kind = 3;
* @return The kind.
*/
@java.lang.Override
public java.lang.String getKind() {
java.lang.Object ref = kind_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
kind_ = s;
return s;
}
}
/**
* string kind = 3;
* @return The bytes for kind.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getKindBytes() {
java.lang.Object ref = kind_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
kind_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int OUTPUTS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.dimajix.shaded.protobuf.LazyStringArrayList outputs_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
/**
* repeated string outputs = 4;
* @return A list containing the outputs.
*/
public com.dimajix.shaded.protobuf.ProtocolStringList
getOutputsList() {
return outputs_;
}
/**
* repeated string outputs = 4;
* @return The count of outputs.
*/
public int getOutputsCount() {
return outputs_.size();
}
/**
* repeated string outputs = 4;
* @param index The index of the element to return.
* @return The outputs at the given index.
*/
public java.lang.String getOutputs(int index) {
return outputs_.get(index);
}
/**
* repeated string outputs = 4;
* @param index The index of the value to return.
* @return The bytes of the outputs at the given index.
*/
public com.dimajix.shaded.protobuf.ByteString
getOutputsBytes(int index) {
return outputs_.getByteString(index);
}
public static final int INPUTS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private java.util.List inputs_;
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
@java.lang.Override
public java.util.List getInputsList() {
return inputs_;
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
@java.lang.Override
public java.util.List extends com.dimajix.flowman.kernel.proto.MappingOutputIdentifierOrBuilder>
getInputsOrBuilderList() {
return inputs_;
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
@java.lang.Override
public int getInputsCount() {
return inputs_.size();
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.MappingOutputIdentifier getInputs(int index) {
return inputs_.get(index);
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.MappingOutputIdentifierOrBuilder getInputsOrBuilder(
int index) {
return inputs_.get(index);
}
public static final int CACHE_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object cache_ = "";
/**
* string cache = 6;
* @return The cache.
*/
@java.lang.Override
public java.lang.String getCache() {
java.lang.Object ref = cache_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cache_ = s;
return s;
}
}
/**
* string cache = 6;
* @return The bytes for cache.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getCacheBytes() {
java.lang.Object ref = cache_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cache_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int BROADCAST_FIELD_NUMBER = 7;
private boolean broadcast_ = false;
/**
* bool broadcast = 7;
* @return The broadcast.
*/
@java.lang.Override
public boolean getBroadcast() {
return broadcast_;
}
public static final int CHECKPOINT_FIELD_NUMBER = 8;
private boolean checkpoint_ = false;
/**
* bool checkpoint = 8;
* @return The checkpoint.
*/
@java.lang.Override
public boolean getCheckpoint() {
return checkpoint_;
}
public static final int REQUIRED_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private java.util.List required_;
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
@java.lang.Override
public java.util.List getRequiredList() {
return required_;
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
@java.lang.Override
public java.util.List extends com.dimajix.flowman.kernel.proto.ResourceIdentifierOrBuilder>
getRequiredOrBuilderList() {
return required_;
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
@java.lang.Override
public int getRequiredCount() {
return required_.size();
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.ResourceIdentifier getRequired(int index) {
return required_.get(index);
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.ResourceIdentifierOrBuilder getRequiredOrBuilder(
int index) {
return required_.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.dimajix.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 1, project_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 3, kind_);
}
for (int i = 0; i < outputs_.size(); i++) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 4, outputs_.getRaw(i));
}
for (int i = 0; i < inputs_.size(); i++) {
output.writeMessage(5, inputs_.get(i));
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(cache_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 6, cache_);
}
if (broadcast_ != false) {
output.writeBool(7, broadcast_);
}
if (checkpoint_ != false) {
output.writeBool(8, checkpoint_);
}
for (int i = 0; i < required_.size(); i++) {
output.writeMessage(9, required_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(1, project_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(3, kind_);
}
{
int dataSize = 0;
for (int i = 0; i < outputs_.size(); i++) {
dataSize += computeStringSizeNoTag(outputs_.getRaw(i));
}
size += dataSize;
size += 1 * getOutputsList().size();
}
for (int i = 0; i < inputs_.size(); i++) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(5, inputs_.get(i));
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(cache_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(6, cache_);
}
if (broadcast_ != false) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeBoolSize(7, broadcast_);
}
if (checkpoint_ != false) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeBoolSize(8, checkpoint_);
}
for (int i = 0; i < required_.size(); i++) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(9, required_.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 com.dimajix.flowman.kernel.proto.mapping.MappingDetails)) {
return super.equals(obj);
}
com.dimajix.flowman.kernel.proto.mapping.MappingDetails other = (com.dimajix.flowman.kernel.proto.mapping.MappingDetails) obj;
if (hasProject() != other.hasProject()) return false;
if (hasProject()) {
if (!getProject()
.equals(other.getProject())) return false;
}
if (!getName()
.equals(other.getName())) return false;
if (!getKind()
.equals(other.getKind())) return false;
if (!getOutputsList()
.equals(other.getOutputsList())) return false;
if (!getInputsList()
.equals(other.getInputsList())) return false;
if (!getCache()
.equals(other.getCache())) return false;
if (getBroadcast()
!= other.getBroadcast()) return false;
if (getCheckpoint()
!= other.getCheckpoint()) return false;
if (!getRequiredList()
.equals(other.getRequiredList())) 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 (hasProject()) {
hash = (37 * hash) + PROJECT_FIELD_NUMBER;
hash = (53 * hash) + getProject().hashCode();
}
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + KIND_FIELD_NUMBER;
hash = (53 * hash) + getKind().hashCode();
if (getOutputsCount() > 0) {
hash = (37 * hash) + OUTPUTS_FIELD_NUMBER;
hash = (53 * hash) + getOutputsList().hashCode();
}
if (getInputsCount() > 0) {
hash = (37 * hash) + INPUTS_FIELD_NUMBER;
hash = (53 * hash) + getInputsList().hashCode();
}
hash = (37 * hash) + CACHE_FIELD_NUMBER;
hash = (53 * hash) + getCache().hashCode();
hash = (37 * hash) + BROADCAST_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getBroadcast());
hash = (37 * hash) + CHECKPOINT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCheckpoint());
if (getRequiredCount() > 0) {
hash = (37 * hash) + REQUIRED_FIELD_NUMBER;
hash = (53 * hash) + getRequiredList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.dimajix.flowman.kernel.proto.mapping.MappingDetails parseFrom(
java.nio.ByteBuffer data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.mapping.MappingDetails parseFrom(
java.nio.ByteBuffer data,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.mapping.MappingDetails parseFrom(
com.dimajix.shaded.protobuf.ByteString data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.mapping.MappingDetails parseFrom(
com.dimajix.shaded.protobuf.ByteString data,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.mapping.MappingDetails parseFrom(byte[] data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.mapping.MappingDetails parseFrom(
byte[] data,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.mapping.MappingDetails parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.mapping.MappingDetails parseFrom(
java.io.InputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.mapping.MappingDetails parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.mapping.MappingDetails parseDelimitedFrom(
java.io.InputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.mapping.MappingDetails parseFrom(
com.dimajix.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.mapping.MappingDetails parseFrom(
com.dimajix.shaded.protobuf.CodedInputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.dimajix.flowman.kernel.proto.mapping.MappingDetails 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.dimajix.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.dimajix.flowman.kernel.mapping.MappingDetails}
*/
public static final class Builder extends
com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.dimajix.flowman.kernel.mapping.MappingDetails)
com.dimajix.flowman.kernel.proto.mapping.MappingDetailsOrBuilder {
public static final com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dimajix.flowman.kernel.proto.mapping.MappingProto.internal_static_com_dimajix_flowman_kernel_mapping_MappingDetails_descriptor;
}
@java.lang.Override
protected com.dimajix.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dimajix.flowman.kernel.proto.mapping.MappingProto.internal_static_com_dimajix_flowman_kernel_mapping_MappingDetails_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.mapping.MappingDetails.class, com.dimajix.flowman.kernel.proto.mapping.MappingDetails.Builder.class);
}
// Construct using com.dimajix.flowman.kernel.proto.mapping.MappingDetails.newBuilder()
private Builder() {
}
private Builder(
com.dimajix.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
project_ = "";
name_ = "";
kind_ = "";
outputs_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
if (inputsBuilder_ == null) {
inputs_ = java.util.Collections.emptyList();
} else {
inputs_ = null;
inputsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
cache_ = "";
broadcast_ = false;
checkpoint_ = false;
if (requiredBuilder_ == null) {
required_ = java.util.Collections.emptyList();
} else {
required_ = null;
requiredBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
@java.lang.Override
public com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dimajix.flowman.kernel.proto.mapping.MappingProto.internal_static_com_dimajix_flowman_kernel_mapping_MappingDetails_descriptor;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.mapping.MappingDetails getDefaultInstanceForType() {
return com.dimajix.flowman.kernel.proto.mapping.MappingDetails.getDefaultInstance();
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.mapping.MappingDetails build() {
com.dimajix.flowman.kernel.proto.mapping.MappingDetails result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.mapping.MappingDetails buildPartial() {
com.dimajix.flowman.kernel.proto.mapping.MappingDetails result = new com.dimajix.flowman.kernel.proto.mapping.MappingDetails(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.dimajix.flowman.kernel.proto.mapping.MappingDetails result) {
if (inputsBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
inputs_ = java.util.Collections.unmodifiableList(inputs_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.inputs_ = inputs_;
} else {
result.inputs_ = inputsBuilder_.build();
}
if (requiredBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0)) {
required_ = java.util.Collections.unmodifiableList(required_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.required_ = required_;
} else {
result.required_ = requiredBuilder_.build();
}
}
private void buildPartial0(com.dimajix.flowman.kernel.proto.mapping.MappingDetails result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.project_ = project_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.kind_ = kind_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
outputs_.makeImmutable();
result.outputs_ = outputs_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.cache_ = cache_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.broadcast_ = broadcast_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.checkpoint_ = checkpoint_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.dimajix.shaded.protobuf.Message other) {
if (other instanceof com.dimajix.flowman.kernel.proto.mapping.MappingDetails) {
return mergeFrom((com.dimajix.flowman.kernel.proto.mapping.MappingDetails)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dimajix.flowman.kernel.proto.mapping.MappingDetails other) {
if (other == com.dimajix.flowman.kernel.proto.mapping.MappingDetails.getDefaultInstance()) return this;
if (other.hasProject()) {
project_ = other.project_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getKind().isEmpty()) {
kind_ = other.kind_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.outputs_.isEmpty()) {
if (outputs_.isEmpty()) {
outputs_ = other.outputs_;
bitField0_ |= 0x00000008;
} else {
ensureOutputsIsMutable();
outputs_.addAll(other.outputs_);
}
onChanged();
}
if (inputsBuilder_ == null) {
if (!other.inputs_.isEmpty()) {
if (inputs_.isEmpty()) {
inputs_ = other.inputs_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureInputsIsMutable();
inputs_.addAll(other.inputs_);
}
onChanged();
}
} else {
if (!other.inputs_.isEmpty()) {
if (inputsBuilder_.isEmpty()) {
inputsBuilder_.dispose();
inputsBuilder_ = null;
inputs_ = other.inputs_;
bitField0_ = (bitField0_ & ~0x00000010);
inputsBuilder_ =
com.dimajix.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getInputsFieldBuilder() : null;
} else {
inputsBuilder_.addAllMessages(other.inputs_);
}
}
}
if (!other.getCache().isEmpty()) {
cache_ = other.cache_;
bitField0_ |= 0x00000020;
onChanged();
}
if (other.getBroadcast() != false) {
setBroadcast(other.getBroadcast());
}
if (other.getCheckpoint() != false) {
setCheckpoint(other.getCheckpoint());
}
if (requiredBuilder_ == null) {
if (!other.required_.isEmpty()) {
if (required_.isEmpty()) {
required_ = other.required_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureRequiredIsMutable();
required_.addAll(other.required_);
}
onChanged();
}
} else {
if (!other.required_.isEmpty()) {
if (requiredBuilder_.isEmpty()) {
requiredBuilder_.dispose();
requiredBuilder_ = null;
required_ = other.required_;
bitField0_ = (bitField0_ & ~0x00000100);
requiredBuilder_ =
com.dimajix.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRequiredFieldBuilder() : null;
} else {
requiredBuilder_.addAllMessages(other.required_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.dimajix.shaded.protobuf.CodedInputStream input,
com.dimajix.shaded.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: {
project_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
kind_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
java.lang.String s = input.readStringRequireUtf8();
ensureOutputsIsMutable();
outputs_.add(s);
break;
} // case 34
case 42: {
com.dimajix.flowman.kernel.proto.MappingOutputIdentifier m =
input.readMessage(
com.dimajix.flowman.kernel.proto.MappingOutputIdentifier.parser(),
extensionRegistry);
if (inputsBuilder_ == null) {
ensureInputsIsMutable();
inputs_.add(m);
} else {
inputsBuilder_.addMessage(m);
}
break;
} // case 42
case 50: {
cache_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 56: {
broadcast_ = input.readBool();
bitField0_ |= 0x00000040;
break;
} // case 56
case 64: {
checkpoint_ = input.readBool();
bitField0_ |= 0x00000080;
break;
} // case 64
case 74: {
com.dimajix.flowman.kernel.proto.ResourceIdentifier m =
input.readMessage(
com.dimajix.flowman.kernel.proto.ResourceIdentifier.parser(),
extensionRegistry);
if (requiredBuilder_ == null) {
ensureRequiredIsMutable();
required_.add(m);
} else {
requiredBuilder_.addMessage(m);
}
break;
} // case 74
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.dimajix.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object project_ = "";
/**
* optional string project = 1;
* @return Whether the project field is set.
*/
public boolean hasProject() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string project = 1;
* @return The project.
*/
public java.lang.String getProject() {
java.lang.Object ref = project_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
project_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string project = 1;
* @return The bytes for project.
*/
public com.dimajix.shaded.protobuf.ByteString
getProjectBytes() {
java.lang.Object ref = project_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
project_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* optional string project = 1;
* @param value The project to set.
* @return This builder for chaining.
*/
public Builder setProject(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
project_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string project = 1;
* @return This builder for chaining.
*/
public Builder clearProject() {
project_ = getDefaultInstance().getProject();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* optional string project = 1;
* @param value The bytes for project to set.
* @return This builder for chaining.
*/
public Builder setProjectBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
project_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* string name = 2;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 2;
* @return The bytes for name.
*/
public com.dimajix.shaded.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* string name = 2;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string name = 2;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string name = 2;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object kind_ = "";
/**
* string kind = 3;
* @return The kind.
*/
public java.lang.String getKind() {
java.lang.Object ref = kind_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
kind_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string kind = 3;
* @return The bytes for kind.
*/
public com.dimajix.shaded.protobuf.ByteString
getKindBytes() {
java.lang.Object ref = kind_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
kind_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* string kind = 3;
* @param value The kind to set.
* @return This builder for chaining.
*/
public Builder setKind(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
kind_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* string kind = 3;
* @return This builder for chaining.
*/
public Builder clearKind() {
kind_ = getDefaultInstance().getKind();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* string kind = 3;
* @param value The bytes for kind to set.
* @return This builder for chaining.
*/
public Builder setKindBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
kind_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private com.dimajix.shaded.protobuf.LazyStringArrayList outputs_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
private void ensureOutputsIsMutable() {
if (!outputs_.isModifiable()) {
outputs_ = new com.google.protobuf.LazyStringArrayList(outputs_);
}
bitField0_ |= 0x00000008;
}
/**
* repeated string outputs = 4;
* @return A list containing the outputs.
*/
public com.dimajix.shaded.protobuf.ProtocolStringList
getOutputsList() {
outputs_.makeImmutable();
return outputs_;
}
/**
* repeated string outputs = 4;
* @return The count of outputs.
*/
public int getOutputsCount() {
return outputs_.size();
}
/**
* repeated string outputs = 4;
* @param index The index of the element to return.
* @return The outputs at the given index.
*/
public java.lang.String getOutputs(int index) {
return outputs_.get(index);
}
/**
* repeated string outputs = 4;
* @param index The index of the value to return.
* @return The bytes of the outputs at the given index.
*/
public com.dimajix.shaded.protobuf.ByteString
getOutputsBytes(int index) {
return outputs_.getByteString(index);
}
/**
* repeated string outputs = 4;
* @param index The index to set the value at.
* @param value The outputs to set.
* @return This builder for chaining.
*/
public Builder setOutputs(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureOutputsIsMutable();
outputs_.set(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* repeated string outputs = 4;
* @param value The outputs to add.
* @return This builder for chaining.
*/
public Builder addOutputs(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureOutputsIsMutable();
outputs_.add(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* repeated string outputs = 4;
* @param values The outputs to add.
* @return This builder for chaining.
*/
public Builder addAllOutputs(
java.lang.Iterable values) {
ensureOutputsIsMutable();
com.dimajix.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, outputs_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* repeated string outputs = 4;
* @return This builder for chaining.
*/
public Builder clearOutputs() {
outputs_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);;
onChanged();
return this;
}
/**
* repeated string outputs = 4;
* @param value The bytes of the outputs to add.
* @return This builder for chaining.
*/
public Builder addOutputsBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureOutputsIsMutable();
outputs_.add(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.util.List inputs_ =
java.util.Collections.emptyList();
private void ensureInputsIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
inputs_ = new java.util.ArrayList(inputs_);
bitField0_ |= 0x00000010;
}
}
private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.MappingOutputIdentifier, com.dimajix.flowman.kernel.proto.MappingOutputIdentifier.Builder, com.dimajix.flowman.kernel.proto.MappingOutputIdentifierOrBuilder> inputsBuilder_;
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public java.util.List getInputsList() {
if (inputsBuilder_ == null) {
return java.util.Collections.unmodifiableList(inputs_);
} else {
return inputsBuilder_.getMessageList();
}
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public int getInputsCount() {
if (inputsBuilder_ == null) {
return inputs_.size();
} else {
return inputsBuilder_.getCount();
}
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public com.dimajix.flowman.kernel.proto.MappingOutputIdentifier getInputs(int index) {
if (inputsBuilder_ == null) {
return inputs_.get(index);
} else {
return inputsBuilder_.getMessage(index);
}
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public Builder setInputs(
int index, com.dimajix.flowman.kernel.proto.MappingOutputIdentifier value) {
if (inputsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInputsIsMutable();
inputs_.set(index, value);
onChanged();
} else {
inputsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public Builder setInputs(
int index, com.dimajix.flowman.kernel.proto.MappingOutputIdentifier.Builder builderForValue) {
if (inputsBuilder_ == null) {
ensureInputsIsMutable();
inputs_.set(index, builderForValue.build());
onChanged();
} else {
inputsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public Builder addInputs(com.dimajix.flowman.kernel.proto.MappingOutputIdentifier value) {
if (inputsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInputsIsMutable();
inputs_.add(value);
onChanged();
} else {
inputsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public Builder addInputs(
int index, com.dimajix.flowman.kernel.proto.MappingOutputIdentifier value) {
if (inputsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInputsIsMutable();
inputs_.add(index, value);
onChanged();
} else {
inputsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public Builder addInputs(
com.dimajix.flowman.kernel.proto.MappingOutputIdentifier.Builder builderForValue) {
if (inputsBuilder_ == null) {
ensureInputsIsMutable();
inputs_.add(builderForValue.build());
onChanged();
} else {
inputsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public Builder addInputs(
int index, com.dimajix.flowman.kernel.proto.MappingOutputIdentifier.Builder builderForValue) {
if (inputsBuilder_ == null) {
ensureInputsIsMutable();
inputs_.add(index, builderForValue.build());
onChanged();
} else {
inputsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public Builder addAllInputs(
java.lang.Iterable extends com.dimajix.flowman.kernel.proto.MappingOutputIdentifier> values) {
if (inputsBuilder_ == null) {
ensureInputsIsMutable();
com.dimajix.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, inputs_);
onChanged();
} else {
inputsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public Builder clearInputs() {
if (inputsBuilder_ == null) {
inputs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
inputsBuilder_.clear();
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public Builder removeInputs(int index) {
if (inputsBuilder_ == null) {
ensureInputsIsMutable();
inputs_.remove(index);
onChanged();
} else {
inputsBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public com.dimajix.flowman.kernel.proto.MappingOutputIdentifier.Builder getInputsBuilder(
int index) {
return getInputsFieldBuilder().getBuilder(index);
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public com.dimajix.flowman.kernel.proto.MappingOutputIdentifierOrBuilder getInputsOrBuilder(
int index) {
if (inputsBuilder_ == null) {
return inputs_.get(index); } else {
return inputsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public java.util.List extends com.dimajix.flowman.kernel.proto.MappingOutputIdentifierOrBuilder>
getInputsOrBuilderList() {
if (inputsBuilder_ != null) {
return inputsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(inputs_);
}
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public com.dimajix.flowman.kernel.proto.MappingOutputIdentifier.Builder addInputsBuilder() {
return getInputsFieldBuilder().addBuilder(
com.dimajix.flowman.kernel.proto.MappingOutputIdentifier.getDefaultInstance());
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public com.dimajix.flowman.kernel.proto.MappingOutputIdentifier.Builder addInputsBuilder(
int index) {
return getInputsFieldBuilder().addBuilder(
index, com.dimajix.flowman.kernel.proto.MappingOutputIdentifier.getDefaultInstance());
}
/**
* repeated .com.dimajix.flowman.kernel.MappingOutputIdentifier inputs = 5;
*/
public java.util.List
getInputsBuilderList() {
return getInputsFieldBuilder().getBuilderList();
}
private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.MappingOutputIdentifier, com.dimajix.flowman.kernel.proto.MappingOutputIdentifier.Builder, com.dimajix.flowman.kernel.proto.MappingOutputIdentifierOrBuilder>
getInputsFieldBuilder() {
if (inputsBuilder_ == null) {
inputsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.MappingOutputIdentifier, com.dimajix.flowman.kernel.proto.MappingOutputIdentifier.Builder, com.dimajix.flowman.kernel.proto.MappingOutputIdentifierOrBuilder>(
inputs_,
((bitField0_ & 0x00000010) != 0),
getParentForChildren(),
isClean());
inputs_ = null;
}
return inputsBuilder_;
}
private java.lang.Object cache_ = "";
/**
* string cache = 6;
* @return The cache.
*/
public java.lang.String getCache() {
java.lang.Object ref = cache_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cache_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string cache = 6;
* @return The bytes for cache.
*/
public com.dimajix.shaded.protobuf.ByteString
getCacheBytes() {
java.lang.Object ref = cache_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cache_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* string cache = 6;
* @param value The cache to set.
* @return This builder for chaining.
*/
public Builder setCache(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cache_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* string cache = 6;
* @return This builder for chaining.
*/
public Builder clearCache() {
cache_ = getDefaultInstance().getCache();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* string cache = 6;
* @param value The bytes for cache to set.
* @return This builder for chaining.
*/
public Builder setCacheBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
cache_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private boolean broadcast_ ;
/**
* bool broadcast = 7;
* @return The broadcast.
*/
@java.lang.Override
public boolean getBroadcast() {
return broadcast_;
}
/**
* bool broadcast = 7;
* @param value The broadcast to set.
* @return This builder for chaining.
*/
public Builder setBroadcast(boolean value) {
broadcast_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* bool broadcast = 7;
* @return This builder for chaining.
*/
public Builder clearBroadcast() {
bitField0_ = (bitField0_ & ~0x00000040);
broadcast_ = false;
onChanged();
return this;
}
private boolean checkpoint_ ;
/**
* bool checkpoint = 8;
* @return The checkpoint.
*/
@java.lang.Override
public boolean getCheckpoint() {
return checkpoint_;
}
/**
* bool checkpoint = 8;
* @param value The checkpoint to set.
* @return This builder for chaining.
*/
public Builder setCheckpoint(boolean value) {
checkpoint_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* bool checkpoint = 8;
* @return This builder for chaining.
*/
public Builder clearCheckpoint() {
bitField0_ = (bitField0_ & ~0x00000080);
checkpoint_ = false;
onChanged();
return this;
}
private java.util.List required_ =
java.util.Collections.emptyList();
private void ensureRequiredIsMutable() {
if (!((bitField0_ & 0x00000100) != 0)) {
required_ = new java.util.ArrayList(required_);
bitField0_ |= 0x00000100;
}
}
private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.ResourceIdentifier, com.dimajix.flowman.kernel.proto.ResourceIdentifier.Builder, com.dimajix.flowman.kernel.proto.ResourceIdentifierOrBuilder> requiredBuilder_;
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public java.util.List getRequiredList() {
if (requiredBuilder_ == null) {
return java.util.Collections.unmodifiableList(required_);
} else {
return requiredBuilder_.getMessageList();
}
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public int getRequiredCount() {
if (requiredBuilder_ == null) {
return required_.size();
} else {
return requiredBuilder_.getCount();
}
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public com.dimajix.flowman.kernel.proto.ResourceIdentifier getRequired(int index) {
if (requiredBuilder_ == null) {
return required_.get(index);
} else {
return requiredBuilder_.getMessage(index);
}
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public Builder setRequired(
int index, com.dimajix.flowman.kernel.proto.ResourceIdentifier value) {
if (requiredBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRequiredIsMutable();
required_.set(index, value);
onChanged();
} else {
requiredBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public Builder setRequired(
int index, com.dimajix.flowman.kernel.proto.ResourceIdentifier.Builder builderForValue) {
if (requiredBuilder_ == null) {
ensureRequiredIsMutable();
required_.set(index, builderForValue.build());
onChanged();
} else {
requiredBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public Builder addRequired(com.dimajix.flowman.kernel.proto.ResourceIdentifier value) {
if (requiredBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRequiredIsMutable();
required_.add(value);
onChanged();
} else {
requiredBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public Builder addRequired(
int index, com.dimajix.flowman.kernel.proto.ResourceIdentifier value) {
if (requiredBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRequiredIsMutable();
required_.add(index, value);
onChanged();
} else {
requiredBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public Builder addRequired(
com.dimajix.flowman.kernel.proto.ResourceIdentifier.Builder builderForValue) {
if (requiredBuilder_ == null) {
ensureRequiredIsMutable();
required_.add(builderForValue.build());
onChanged();
} else {
requiredBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public Builder addRequired(
int index, com.dimajix.flowman.kernel.proto.ResourceIdentifier.Builder builderForValue) {
if (requiredBuilder_ == null) {
ensureRequiredIsMutable();
required_.add(index, builderForValue.build());
onChanged();
} else {
requiredBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public Builder addAllRequired(
java.lang.Iterable extends com.dimajix.flowman.kernel.proto.ResourceIdentifier> values) {
if (requiredBuilder_ == null) {
ensureRequiredIsMutable();
com.dimajix.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, required_);
onChanged();
} else {
requiredBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public Builder clearRequired() {
if (requiredBuilder_ == null) {
required_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
requiredBuilder_.clear();
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public Builder removeRequired(int index) {
if (requiredBuilder_ == null) {
ensureRequiredIsMutable();
required_.remove(index);
onChanged();
} else {
requiredBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public com.dimajix.flowman.kernel.proto.ResourceIdentifier.Builder getRequiredBuilder(
int index) {
return getRequiredFieldBuilder().getBuilder(index);
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public com.dimajix.flowman.kernel.proto.ResourceIdentifierOrBuilder getRequiredOrBuilder(
int index) {
if (requiredBuilder_ == null) {
return required_.get(index); } else {
return requiredBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public java.util.List extends com.dimajix.flowman.kernel.proto.ResourceIdentifierOrBuilder>
getRequiredOrBuilderList() {
if (requiredBuilder_ != null) {
return requiredBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(required_);
}
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public com.dimajix.flowman.kernel.proto.ResourceIdentifier.Builder addRequiredBuilder() {
return getRequiredFieldBuilder().addBuilder(
com.dimajix.flowman.kernel.proto.ResourceIdentifier.getDefaultInstance());
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public com.dimajix.flowman.kernel.proto.ResourceIdentifier.Builder addRequiredBuilder(
int index) {
return getRequiredFieldBuilder().addBuilder(
index, com.dimajix.flowman.kernel.proto.ResourceIdentifier.getDefaultInstance());
}
/**
* repeated .com.dimajix.flowman.kernel.ResourceIdentifier required = 9;
*/
public java.util.List
getRequiredBuilderList() {
return getRequiredFieldBuilder().getBuilderList();
}
private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.ResourceIdentifier, com.dimajix.flowman.kernel.proto.ResourceIdentifier.Builder, com.dimajix.flowman.kernel.proto.ResourceIdentifierOrBuilder>
getRequiredFieldBuilder() {
if (requiredBuilder_ == null) {
requiredBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.ResourceIdentifier, com.dimajix.flowman.kernel.proto.ResourceIdentifier.Builder, com.dimajix.flowman.kernel.proto.ResourceIdentifierOrBuilder>(
required_,
((bitField0_ & 0x00000100) != 0),
getParentForChildren(),
isClean());
required_ = null;
}
return requiredBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.dimajix.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.dimajix.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.dimajix.flowman.kernel.mapping.MappingDetails)
}
// @@protoc_insertion_point(class_scope:com.dimajix.flowman.kernel.mapping.MappingDetails)
private static final com.dimajix.flowman.kernel.proto.mapping.MappingDetails DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.dimajix.flowman.kernel.proto.mapping.MappingDetails();
}
public static com.dimajix.flowman.kernel.proto.mapping.MappingDetails getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.dimajix.shaded.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MappingDetails parsePartialFrom(
com.dimajix.shaded.protobuf.CodedInputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.dimajix.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.dimajix.shaded.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.dimajix.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.dimajix.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.mapping.MappingDetails getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy