All Downloads are FREE. Search and download functionalities are using the official Maven repository.

flyteidl.core.Interface Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: flyteidl/core/interface.proto

package flyteidl.core;

public final class Interface {
  private Interface() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface VariableOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flyteidl.core.Variable)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * Variable literal type.
     * 
* * .flyteidl.core.LiteralType type = 1; * @return Whether the type field is set. */ boolean hasType(); /** *
     * Variable literal type.
     * 
* * .flyteidl.core.LiteralType type = 1; * @return The type. */ flyteidl.core.Types.LiteralType getType(); /** *
     * Variable literal type.
     * 
* * .flyteidl.core.LiteralType type = 1; */ flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder(); /** *
     *+optional string describing input variable
     * 
* * string description = 2; * @return The description. */ java.lang.String getDescription(); /** *
     *+optional string describing input variable
     * 
* * string description = 2; * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); } /** *
   * Defines a strongly typed variable.
   * 
* * Protobuf type {@code flyteidl.core.Variable} */ public static final class Variable extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flyteidl.core.Variable) VariableOrBuilder { private static final long serialVersionUID = 0L; // Use Variable.newBuilder() to construct. private Variable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Variable() { description_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Variable(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Variable( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { flyteidl.core.Types.LiteralType.Builder subBuilder = null; if (type_ != null) { subBuilder = type_.toBuilder(); } type_ = input.readMessage(flyteidl.core.Types.LiteralType.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(type_); type_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); description_ = s; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.core.Interface.internal_static_flyteidl_core_Variable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.core.Interface.internal_static_flyteidl_core_Variable_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.core.Interface.Variable.class, flyteidl.core.Interface.Variable.Builder.class); } public static final int TYPE_FIELD_NUMBER = 1; private flyteidl.core.Types.LiteralType type_; /** *
     * Variable literal type.
     * 
* * .flyteidl.core.LiteralType type = 1; * @return Whether the type field is set. */ public boolean hasType() { return type_ != null; } /** *
     * Variable literal type.
     * 
* * .flyteidl.core.LiteralType type = 1; * @return The type. */ public flyteidl.core.Types.LiteralType getType() { return type_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; } /** *
     * Variable literal type.
     * 
* * .flyteidl.core.LiteralType type = 1; */ public flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder() { return getType(); } public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** *
     *+optional string describing input variable
     * 
* * string description = 2; * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** *
     *+optional string describing input variable
     * 
* * string description = 2; * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 { if (type_ != null) { output.writeMessage(1, getType()); } if (!getDescriptionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (type_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getType()); } if (!getDescriptionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } 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 flyteidl.core.Interface.Variable)) { return super.equals(obj); } flyteidl.core.Interface.Variable other = (flyteidl.core.Interface.Variable) obj; if (hasType() != other.hasType()) return false; if (hasType()) { if (!getType() .equals(other.getType())) return false; } if (!getDescription() .equals(other.getDescription())) 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 (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); } hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static flyteidl.core.Interface.Variable parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.core.Interface.Variable parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.core.Interface.Variable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.core.Interface.Variable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.core.Interface.Variable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.core.Interface.Variable parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.core.Interface.Variable parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.core.Interface.Variable 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 flyteidl.core.Interface.Variable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static flyteidl.core.Interface.Variable 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 flyteidl.core.Interface.Variable parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.core.Interface.Variable 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(flyteidl.core.Interface.Variable 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; } /** *
     * Defines a strongly typed variable.
     * 
* * Protobuf type {@code flyteidl.core.Variable} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flyteidl.core.Variable) flyteidl.core.Interface.VariableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.core.Interface.internal_static_flyteidl_core_Variable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.core.Interface.internal_static_flyteidl_core_Variable_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.core.Interface.Variable.class, flyteidl.core.Interface.Variable.Builder.class); } // Construct using flyteidl.core.Interface.Variable.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (typeBuilder_ == null) { type_ = null; } else { type_ = null; typeBuilder_ = null; } description_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return flyteidl.core.Interface.internal_static_flyteidl_core_Variable_descriptor; } @java.lang.Override public flyteidl.core.Interface.Variable getDefaultInstanceForType() { return flyteidl.core.Interface.Variable.getDefaultInstance(); } @java.lang.Override public flyteidl.core.Interface.Variable build() { flyteidl.core.Interface.Variable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public flyteidl.core.Interface.Variable buildPartial() { flyteidl.core.Interface.Variable result = new flyteidl.core.Interface.Variable(this); if (typeBuilder_ == null) { result.type_ = type_; } else { result.type_ = typeBuilder_.build(); } result.description_ = description_; 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 flyteidl.core.Interface.Variable) { return mergeFrom((flyteidl.core.Interface.Variable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(flyteidl.core.Interface.Variable other) { if (other == flyteidl.core.Interface.Variable.getDefaultInstance()) return this; if (other.hasType()) { mergeType(other.getType()); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } 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 { flyteidl.core.Interface.Variable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (flyteidl.core.Interface.Variable) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private flyteidl.core.Types.LiteralType type_; private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> typeBuilder_; /** *
       * Variable literal type.
       * 
* * .flyteidl.core.LiteralType type = 1; * @return Whether the type field is set. */ public boolean hasType() { return typeBuilder_ != null || type_ != null; } /** *
       * Variable literal type.
       * 
* * .flyteidl.core.LiteralType type = 1; * @return The type. */ public flyteidl.core.Types.LiteralType getType() { if (typeBuilder_ == null) { return type_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; } else { return typeBuilder_.getMessage(); } } /** *
       * Variable literal type.
       * 
* * .flyteidl.core.LiteralType type = 1; */ public Builder setType(flyteidl.core.Types.LiteralType value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { typeBuilder_.setMessage(value); } return this; } /** *
       * Variable literal type.
       * 
* * .flyteidl.core.LiteralType type = 1; */ public Builder setType( flyteidl.core.Types.LiteralType.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { typeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Variable literal type.
       * 
* * .flyteidl.core.LiteralType type = 1; */ public Builder mergeType(flyteidl.core.Types.LiteralType value) { if (typeBuilder_ == null) { if (type_ != null) { type_ = flyteidl.core.Types.LiteralType.newBuilder(type_).mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { typeBuilder_.mergeFrom(value); } return this; } /** *
       * Variable literal type.
       * 
* * .flyteidl.core.LiteralType type = 1; */ public Builder clearType() { if (typeBuilder_ == null) { type_ = null; onChanged(); } else { type_ = null; typeBuilder_ = null; } return this; } /** *
       * Variable literal type.
       * 
* * .flyteidl.core.LiteralType type = 1; */ public flyteidl.core.Types.LiteralType.Builder getTypeBuilder() { onChanged(); return getTypeFieldBuilder().getBuilder(); } /** *
       * Variable literal type.
       * 
* * .flyteidl.core.LiteralType type = 1; */ public flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { return type_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; } } /** *
       * Variable literal type.
       * 
* * .flyteidl.core.LiteralType type = 1; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder>( getType(), getParentForChildren(), isClean()); type_ = null; } return typeBuilder_; } private java.lang.Object description_ = ""; /** *
       *+optional string describing input variable
       * 
* * string description = 2; * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *+optional string describing input variable
       * 
* * string description = 2; * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *+optional string describing input variable
       * 
* * string description = 2; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description_ = value; onChanged(); return this; } /** *
       *+optional string describing input variable
       * 
* * string description = 2; * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** *
       *+optional string describing input variable
       * 
* * string description = 2; * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; onChanged(); return this; } @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:flyteidl.core.Variable) } // @@protoc_insertion_point(class_scope:flyteidl.core.Variable) private static final flyteidl.core.Interface.Variable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new flyteidl.core.Interface.Variable(); } public static flyteidl.core.Interface.Variable getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Variable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Variable(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 flyteidl.core.Interface.Variable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface VariableMapOrBuilder extends // @@protoc_insertion_point(interface_extends:flyteidl.core.VariableMap) com.google.protobuf.MessageOrBuilder { /** *
     * Defines a map of variable names to variables.
     * 
* * map<string, .flyteidl.core.Variable> variables = 1; */ int getVariablesCount(); /** *
     * Defines a map of variable names to variables.
     * 
* * map<string, .flyteidl.core.Variable> variables = 1; */ boolean containsVariables( java.lang.String key); /** * Use {@link #getVariablesMap()} instead. */ @java.lang.Deprecated java.util.Map getVariables(); /** *
     * Defines a map of variable names to variables.
     * 
* * map<string, .flyteidl.core.Variable> variables = 1; */ java.util.Map getVariablesMap(); /** *
     * Defines a map of variable names to variables.
     * 
* * map<string, .flyteidl.core.Variable> variables = 1; */ flyteidl.core.Interface.Variable getVariablesOrDefault( java.lang.String key, flyteidl.core.Interface.Variable defaultValue); /** *
     * Defines a map of variable names to variables.
     * 
* * map<string, .flyteidl.core.Variable> variables = 1; */ flyteidl.core.Interface.Variable getVariablesOrThrow( java.lang.String key); } /** *
   * A map of Variables
   * 
* * Protobuf type {@code flyteidl.core.VariableMap} */ public static final class VariableMap extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flyteidl.core.VariableMap) VariableMapOrBuilder { private static final long serialVersionUID = 0L; // Use VariableMap.newBuilder() to construct. private VariableMap(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private VariableMap() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new VariableMap(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private VariableMap( 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)) { variables_ = com.google.protobuf.MapField.newMapField( VariablesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry variables__ = input.readMessage( VariablesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); variables_.getMutableMap().put( variables__.getKey(), variables__.getValue()); 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.core.Interface.internal_static_flyteidl_core_VariableMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetVariables(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.core.Interface.internal_static_flyteidl_core_VariableMap_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.core.Interface.VariableMap.class, flyteidl.core.Interface.VariableMap.Builder.class); } public static final int VARIABLES_FIELD_NUMBER = 1; private static final class VariablesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, flyteidl.core.Interface.Variable> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( flyteidl.core.Interface.internal_static_flyteidl_core_VariableMap_VariablesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, flyteidl.core.Interface.Variable.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, flyteidl.core.Interface.Variable> variables_; private com.google.protobuf.MapField internalGetVariables() { if (variables_ == null) { return com.google.protobuf.MapField.emptyMapField( VariablesDefaultEntryHolder.defaultEntry); } return variables_; } public int getVariablesCount() { return internalGetVariables().getMap().size(); } /** *
     * Defines a map of variable names to variables.
     * 
* * map<string, .flyteidl.core.Variable> variables = 1; */ public boolean containsVariables( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetVariables().getMap().containsKey(key); } /** * Use {@link #getVariablesMap()} instead. */ @java.lang.Deprecated public java.util.Map getVariables() { return getVariablesMap(); } /** *
     * Defines a map of variable names to variables.
     * 
* * map<string, .flyteidl.core.Variable> variables = 1; */ public java.util.Map getVariablesMap() { return internalGetVariables().getMap(); } /** *
     * Defines a map of variable names to variables.
     * 
* * map<string, .flyteidl.core.Variable> variables = 1; */ public flyteidl.core.Interface.Variable getVariablesOrDefault( java.lang.String key, flyteidl.core.Interface.Variable defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetVariables().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Defines a map of variable names to variables.
     * 
* * map<string, .flyteidl.core.Variable> variables = 1; */ public flyteidl.core.Interface.Variable getVariablesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetVariables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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 { com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetVariables(), VariablesDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetVariables().getMap().entrySet()) { com.google.protobuf.MapEntry variables__ = VariablesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, variables__); } 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 flyteidl.core.Interface.VariableMap)) { return super.equals(obj); } flyteidl.core.Interface.VariableMap other = (flyteidl.core.Interface.VariableMap) obj; if (!internalGetVariables().equals( other.internalGetVariables())) 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 (!internalGetVariables().getMap().isEmpty()) { hash = (37 * hash) + VARIABLES_FIELD_NUMBER; hash = (53 * hash) + internalGetVariables().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static flyteidl.core.Interface.VariableMap parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.core.Interface.VariableMap parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.core.Interface.VariableMap parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.core.Interface.VariableMap parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.core.Interface.VariableMap parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.core.Interface.VariableMap parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.core.Interface.VariableMap parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.core.Interface.VariableMap 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 flyteidl.core.Interface.VariableMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static flyteidl.core.Interface.VariableMap 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 flyteidl.core.Interface.VariableMap parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.core.Interface.VariableMap 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(flyteidl.core.Interface.VariableMap 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; } /** *
     * A map of Variables
     * 
* * Protobuf type {@code flyteidl.core.VariableMap} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flyteidl.core.VariableMap) flyteidl.core.Interface.VariableMapOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.core.Interface.internal_static_flyteidl_core_VariableMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetVariables(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableVariables(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.core.Interface.internal_static_flyteidl_core_VariableMap_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.core.Interface.VariableMap.class, flyteidl.core.Interface.VariableMap.Builder.class); } // Construct using flyteidl.core.Interface.VariableMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableVariables().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return flyteidl.core.Interface.internal_static_flyteidl_core_VariableMap_descriptor; } @java.lang.Override public flyteidl.core.Interface.VariableMap getDefaultInstanceForType() { return flyteidl.core.Interface.VariableMap.getDefaultInstance(); } @java.lang.Override public flyteidl.core.Interface.VariableMap build() { flyteidl.core.Interface.VariableMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public flyteidl.core.Interface.VariableMap buildPartial() { flyteidl.core.Interface.VariableMap result = new flyteidl.core.Interface.VariableMap(this); int from_bitField0_ = bitField0_; result.variables_ = internalGetVariables(); result.variables_.makeImmutable(); 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 flyteidl.core.Interface.VariableMap) { return mergeFrom((flyteidl.core.Interface.VariableMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(flyteidl.core.Interface.VariableMap other) { if (other == flyteidl.core.Interface.VariableMap.getDefaultInstance()) return this; internalGetMutableVariables().mergeFrom( other.internalGetVariables()); 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 { flyteidl.core.Interface.VariableMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (flyteidl.core.Interface.VariableMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.MapField< java.lang.String, flyteidl.core.Interface.Variable> variables_; private com.google.protobuf.MapField internalGetVariables() { if (variables_ == null) { return com.google.protobuf.MapField.emptyMapField( VariablesDefaultEntryHolder.defaultEntry); } return variables_; } private com.google.protobuf.MapField internalGetMutableVariables() { onChanged();; if (variables_ == null) { variables_ = com.google.protobuf.MapField.newMapField( VariablesDefaultEntryHolder.defaultEntry); } if (!variables_.isMutable()) { variables_ = variables_.copy(); } return variables_; } public int getVariablesCount() { return internalGetVariables().getMap().size(); } /** *
       * Defines a map of variable names to variables.
       * 
* * map<string, .flyteidl.core.Variable> variables = 1; */ public boolean containsVariables( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetVariables().getMap().containsKey(key); } /** * Use {@link #getVariablesMap()} instead. */ @java.lang.Deprecated public java.util.Map getVariables() { return getVariablesMap(); } /** *
       * Defines a map of variable names to variables.
       * 
* * map<string, .flyteidl.core.Variable> variables = 1; */ public java.util.Map getVariablesMap() { return internalGetVariables().getMap(); } /** *
       * Defines a map of variable names to variables.
       * 
* * map<string, .flyteidl.core.Variable> variables = 1; */ public flyteidl.core.Interface.Variable getVariablesOrDefault( java.lang.String key, flyteidl.core.Interface.Variable defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetVariables().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Defines a map of variable names to variables.
       * 
* * map<string, .flyteidl.core.Variable> variables = 1; */ public flyteidl.core.Interface.Variable getVariablesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetVariables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearVariables() { internalGetMutableVariables().getMutableMap() .clear(); return this; } /** *
       * Defines a map of variable names to variables.
       * 
* * map<string, .flyteidl.core.Variable> variables = 1; */ public Builder removeVariables( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableVariables().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableVariables() { return internalGetMutableVariables().getMutableMap(); } /** *
       * Defines a map of variable names to variables.
       * 
* * map<string, .flyteidl.core.Variable> variables = 1; */ public Builder putVariables( java.lang.String key, flyteidl.core.Interface.Variable value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableVariables().getMutableMap() .put(key, value); return this; } /** *
       * Defines a map of variable names to variables.
       * 
* * map<string, .flyteidl.core.Variable> variables = 1; */ public Builder putAllVariables( java.util.Map values) { internalGetMutableVariables().getMutableMap() .putAll(values); return this; } @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:flyteidl.core.VariableMap) } // @@protoc_insertion_point(class_scope:flyteidl.core.VariableMap) private static final flyteidl.core.Interface.VariableMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new flyteidl.core.Interface.VariableMap(); } public static flyteidl.core.Interface.VariableMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VariableMap parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VariableMap(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 flyteidl.core.Interface.VariableMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TypedInterfaceOrBuilder extends // @@protoc_insertion_point(interface_extends:flyteidl.core.TypedInterface) com.google.protobuf.MessageOrBuilder { /** * .flyteidl.core.VariableMap inputs = 1; * @return Whether the inputs field is set. */ boolean hasInputs(); /** * .flyteidl.core.VariableMap inputs = 1; * @return The inputs. */ flyteidl.core.Interface.VariableMap getInputs(); /** * .flyteidl.core.VariableMap inputs = 1; */ flyteidl.core.Interface.VariableMapOrBuilder getInputsOrBuilder(); /** * .flyteidl.core.VariableMap outputs = 2; * @return Whether the outputs field is set. */ boolean hasOutputs(); /** * .flyteidl.core.VariableMap outputs = 2; * @return The outputs. */ flyteidl.core.Interface.VariableMap getOutputs(); /** * .flyteidl.core.VariableMap outputs = 2; */ flyteidl.core.Interface.VariableMapOrBuilder getOutputsOrBuilder(); } /** *
   * Defines strongly typed inputs and outputs.
   * 
* * Protobuf type {@code flyteidl.core.TypedInterface} */ public static final class TypedInterface extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flyteidl.core.TypedInterface) TypedInterfaceOrBuilder { private static final long serialVersionUID = 0L; // Use TypedInterface.newBuilder() to construct. private TypedInterface(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TypedInterface() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TypedInterface(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TypedInterface( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { flyteidl.core.Interface.VariableMap.Builder subBuilder = null; if (inputs_ != null) { subBuilder = inputs_.toBuilder(); } inputs_ = input.readMessage(flyteidl.core.Interface.VariableMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(inputs_); inputs_ = subBuilder.buildPartial(); } break; } case 18: { flyteidl.core.Interface.VariableMap.Builder subBuilder = null; if (outputs_ != null) { subBuilder = outputs_.toBuilder(); } outputs_ = input.readMessage(flyteidl.core.Interface.VariableMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(outputs_); outputs_ = subBuilder.buildPartial(); } 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.core.Interface.internal_static_flyteidl_core_TypedInterface_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.core.Interface.internal_static_flyteidl_core_TypedInterface_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.core.Interface.TypedInterface.class, flyteidl.core.Interface.TypedInterface.Builder.class); } public static final int INPUTS_FIELD_NUMBER = 1; private flyteidl.core.Interface.VariableMap inputs_; /** * .flyteidl.core.VariableMap inputs = 1; * @return Whether the inputs field is set. */ public boolean hasInputs() { return inputs_ != null; } /** * .flyteidl.core.VariableMap inputs = 1; * @return The inputs. */ public flyteidl.core.Interface.VariableMap getInputs() { return inputs_ == null ? flyteidl.core.Interface.VariableMap.getDefaultInstance() : inputs_; } /** * .flyteidl.core.VariableMap inputs = 1; */ public flyteidl.core.Interface.VariableMapOrBuilder getInputsOrBuilder() { return getInputs(); } public static final int OUTPUTS_FIELD_NUMBER = 2; private flyteidl.core.Interface.VariableMap outputs_; /** * .flyteidl.core.VariableMap outputs = 2; * @return Whether the outputs field is set. */ public boolean hasOutputs() { return outputs_ != null; } /** * .flyteidl.core.VariableMap outputs = 2; * @return The outputs. */ public flyteidl.core.Interface.VariableMap getOutputs() { return outputs_ == null ? flyteidl.core.Interface.VariableMap.getDefaultInstance() : outputs_; } /** * .flyteidl.core.VariableMap outputs = 2; */ public flyteidl.core.Interface.VariableMapOrBuilder getOutputsOrBuilder() { return getOutputs(); } 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 { if (inputs_ != null) { output.writeMessage(1, getInputs()); } if (outputs_ != null) { output.writeMessage(2, getOutputs()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (inputs_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getInputs()); } if (outputs_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getOutputs()); } 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 flyteidl.core.Interface.TypedInterface)) { return super.equals(obj); } flyteidl.core.Interface.TypedInterface other = (flyteidl.core.Interface.TypedInterface) obj; if (hasInputs() != other.hasInputs()) return false; if (hasInputs()) { if (!getInputs() .equals(other.getInputs())) return false; } if (hasOutputs() != other.hasOutputs()) return false; if (hasOutputs()) { if (!getOutputs() .equals(other.getOutputs())) 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 (hasInputs()) { hash = (37 * hash) + INPUTS_FIELD_NUMBER; hash = (53 * hash) + getInputs().hashCode(); } if (hasOutputs()) { hash = (37 * hash) + OUTPUTS_FIELD_NUMBER; hash = (53 * hash) + getOutputs().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static flyteidl.core.Interface.TypedInterface parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.core.Interface.TypedInterface parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.core.Interface.TypedInterface parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.core.Interface.TypedInterface parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.core.Interface.TypedInterface parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.core.Interface.TypedInterface parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.core.Interface.TypedInterface parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.core.Interface.TypedInterface 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 flyteidl.core.Interface.TypedInterface parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static flyteidl.core.Interface.TypedInterface 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 flyteidl.core.Interface.TypedInterface parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.core.Interface.TypedInterface 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(flyteidl.core.Interface.TypedInterface 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; } /** *
     * Defines strongly typed inputs and outputs.
     * 
* * Protobuf type {@code flyteidl.core.TypedInterface} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flyteidl.core.TypedInterface) flyteidl.core.Interface.TypedInterfaceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.core.Interface.internal_static_flyteidl_core_TypedInterface_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.core.Interface.internal_static_flyteidl_core_TypedInterface_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.core.Interface.TypedInterface.class, flyteidl.core.Interface.TypedInterface.Builder.class); } // Construct using flyteidl.core.Interface.TypedInterface.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (inputsBuilder_ == null) { inputs_ = null; } else { inputs_ = null; inputsBuilder_ = null; } if (outputsBuilder_ == null) { outputs_ = null; } else { outputs_ = null; outputsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return flyteidl.core.Interface.internal_static_flyteidl_core_TypedInterface_descriptor; } @java.lang.Override public flyteidl.core.Interface.TypedInterface getDefaultInstanceForType() { return flyteidl.core.Interface.TypedInterface.getDefaultInstance(); } @java.lang.Override public flyteidl.core.Interface.TypedInterface build() { flyteidl.core.Interface.TypedInterface result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public flyteidl.core.Interface.TypedInterface buildPartial() { flyteidl.core.Interface.TypedInterface result = new flyteidl.core.Interface.TypedInterface(this); if (inputsBuilder_ == null) { result.inputs_ = inputs_; } else { result.inputs_ = inputsBuilder_.build(); } if (outputsBuilder_ == null) { result.outputs_ = outputs_; } else { result.outputs_ = outputsBuilder_.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 flyteidl.core.Interface.TypedInterface) { return mergeFrom((flyteidl.core.Interface.TypedInterface)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(flyteidl.core.Interface.TypedInterface other) { if (other == flyteidl.core.Interface.TypedInterface.getDefaultInstance()) return this; if (other.hasInputs()) { mergeInputs(other.getInputs()); } if (other.hasOutputs()) { mergeOutputs(other.getOutputs()); } 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 { flyteidl.core.Interface.TypedInterface parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (flyteidl.core.Interface.TypedInterface) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private flyteidl.core.Interface.VariableMap inputs_; private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder> inputsBuilder_; /** * .flyteidl.core.VariableMap inputs = 1; * @return Whether the inputs field is set. */ public boolean hasInputs() { return inputsBuilder_ != null || inputs_ != null; } /** * .flyteidl.core.VariableMap inputs = 1; * @return The inputs. */ public flyteidl.core.Interface.VariableMap getInputs() { if (inputsBuilder_ == null) { return inputs_ == null ? flyteidl.core.Interface.VariableMap.getDefaultInstance() : inputs_; } else { return inputsBuilder_.getMessage(); } } /** * .flyteidl.core.VariableMap inputs = 1; */ public Builder setInputs(flyteidl.core.Interface.VariableMap value) { if (inputsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } inputs_ = value; onChanged(); } else { inputsBuilder_.setMessage(value); } return this; } /** * .flyteidl.core.VariableMap inputs = 1; */ public Builder setInputs( flyteidl.core.Interface.VariableMap.Builder builderForValue) { if (inputsBuilder_ == null) { inputs_ = builderForValue.build(); onChanged(); } else { inputsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .flyteidl.core.VariableMap inputs = 1; */ public Builder mergeInputs(flyteidl.core.Interface.VariableMap value) { if (inputsBuilder_ == null) { if (inputs_ != null) { inputs_ = flyteidl.core.Interface.VariableMap.newBuilder(inputs_).mergeFrom(value).buildPartial(); } else { inputs_ = value; } onChanged(); } else { inputsBuilder_.mergeFrom(value); } return this; } /** * .flyteidl.core.VariableMap inputs = 1; */ public Builder clearInputs() { if (inputsBuilder_ == null) { inputs_ = null; onChanged(); } else { inputs_ = null; inputsBuilder_ = null; } return this; } /** * .flyteidl.core.VariableMap inputs = 1; */ public flyteidl.core.Interface.VariableMap.Builder getInputsBuilder() { onChanged(); return getInputsFieldBuilder().getBuilder(); } /** * .flyteidl.core.VariableMap inputs = 1; */ public flyteidl.core.Interface.VariableMapOrBuilder getInputsOrBuilder() { if (inputsBuilder_ != null) { return inputsBuilder_.getMessageOrBuilder(); } else { return inputs_ == null ? flyteidl.core.Interface.VariableMap.getDefaultInstance() : inputs_; } } /** * .flyteidl.core.VariableMap inputs = 1; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder> getInputsFieldBuilder() { if (inputsBuilder_ == null) { inputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder>( getInputs(), getParentForChildren(), isClean()); inputs_ = null; } return inputsBuilder_; } private flyteidl.core.Interface.VariableMap outputs_; private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder> outputsBuilder_; /** * .flyteidl.core.VariableMap outputs = 2; * @return Whether the outputs field is set. */ public boolean hasOutputs() { return outputsBuilder_ != null || outputs_ != null; } /** * .flyteidl.core.VariableMap outputs = 2; * @return The outputs. */ public flyteidl.core.Interface.VariableMap getOutputs() { if (outputsBuilder_ == null) { return outputs_ == null ? flyteidl.core.Interface.VariableMap.getDefaultInstance() : outputs_; } else { return outputsBuilder_.getMessage(); } } /** * .flyteidl.core.VariableMap outputs = 2; */ public Builder setOutputs(flyteidl.core.Interface.VariableMap value) { if (outputsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } outputs_ = value; onChanged(); } else { outputsBuilder_.setMessage(value); } return this; } /** * .flyteidl.core.VariableMap outputs = 2; */ public Builder setOutputs( flyteidl.core.Interface.VariableMap.Builder builderForValue) { if (outputsBuilder_ == null) { outputs_ = builderForValue.build(); onChanged(); } else { outputsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .flyteidl.core.VariableMap outputs = 2; */ public Builder mergeOutputs(flyteidl.core.Interface.VariableMap value) { if (outputsBuilder_ == null) { if (outputs_ != null) { outputs_ = flyteidl.core.Interface.VariableMap.newBuilder(outputs_).mergeFrom(value).buildPartial(); } else { outputs_ = value; } onChanged(); } else { outputsBuilder_.mergeFrom(value); } return this; } /** * .flyteidl.core.VariableMap outputs = 2; */ public Builder clearOutputs() { if (outputsBuilder_ == null) { outputs_ = null; onChanged(); } else { outputs_ = null; outputsBuilder_ = null; } return this; } /** * .flyteidl.core.VariableMap outputs = 2; */ public flyteidl.core.Interface.VariableMap.Builder getOutputsBuilder() { onChanged(); return getOutputsFieldBuilder().getBuilder(); } /** * .flyteidl.core.VariableMap outputs = 2; */ public flyteidl.core.Interface.VariableMapOrBuilder getOutputsOrBuilder() { if (outputsBuilder_ != null) { return outputsBuilder_.getMessageOrBuilder(); } else { return outputs_ == null ? flyteidl.core.Interface.VariableMap.getDefaultInstance() : outputs_; } } /** * .flyteidl.core.VariableMap outputs = 2; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder> getOutputsFieldBuilder() { if (outputsBuilder_ == null) { outputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder>( getOutputs(), getParentForChildren(), isClean()); outputs_ = null; } return outputsBuilder_; } @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:flyteidl.core.TypedInterface) } // @@protoc_insertion_point(class_scope:flyteidl.core.TypedInterface) private static final flyteidl.core.Interface.TypedInterface DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new flyteidl.core.Interface.TypedInterface(); } public static flyteidl.core.Interface.TypedInterface getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TypedInterface parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TypedInterface(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 flyteidl.core.Interface.TypedInterface getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ParameterOrBuilder extends // @@protoc_insertion_point(interface_extends:flyteidl.core.Parameter) com.google.protobuf.MessageOrBuilder { /** *
     *+required Variable. Defines the type of the variable backing this parameter.
     * 
* * .flyteidl.core.Variable var = 1; * @return Whether the var field is set. */ boolean hasVar(); /** *
     *+required Variable. Defines the type of the variable backing this parameter.
     * 
* * .flyteidl.core.Variable var = 1; * @return The var. */ flyteidl.core.Interface.Variable getVar(); /** *
     *+required Variable. Defines the type of the variable backing this parameter.
     * 
* * .flyteidl.core.Variable var = 1; */ flyteidl.core.Interface.VariableOrBuilder getVarOrBuilder(); /** *
     * Defines a default value that has to match the variable type defined.
     * 
* * .flyteidl.core.Literal default = 2; * @return Whether the default field is set. */ boolean hasDefault(); /** *
     * Defines a default value that has to match the variable type defined.
     * 
* * .flyteidl.core.Literal default = 2; * @return The default. */ flyteidl.core.Literals.Literal getDefault(); /** *
     * Defines a default value that has to match the variable type defined.
     * 
* * .flyteidl.core.Literal default = 2; */ flyteidl.core.Literals.LiteralOrBuilder getDefaultOrBuilder(); /** *
     *+optional, is this value required to be filled.
     * 
* * bool required = 3; * @return The required. */ boolean getRequired(); public flyteidl.core.Interface.Parameter.BehaviorCase getBehaviorCase(); } /** *
   * A parameter is used as input to a launch plan and has
   * the special ability to have a default value or mark itself as required.
   * 
* * Protobuf type {@code flyteidl.core.Parameter} */ public static final class Parameter extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flyteidl.core.Parameter) ParameterOrBuilder { private static final long serialVersionUID = 0L; // Use Parameter.newBuilder() to construct. private Parameter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Parameter() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Parameter(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Parameter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { flyteidl.core.Interface.Variable.Builder subBuilder = null; if (var_ != null) { subBuilder = var_.toBuilder(); } var_ = input.readMessage(flyteidl.core.Interface.Variable.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(var_); var_ = subBuilder.buildPartial(); } break; } case 18: { flyteidl.core.Literals.Literal.Builder subBuilder = null; if (behaviorCase_ == 2) { subBuilder = ((flyteidl.core.Literals.Literal) behavior_).toBuilder(); } behavior_ = input.readMessage(flyteidl.core.Literals.Literal.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((flyteidl.core.Literals.Literal) behavior_); behavior_ = subBuilder.buildPartial(); } behaviorCase_ = 2; break; } case 24: { behaviorCase_ = 3; behavior_ = input.readBool(); 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.core.Interface.internal_static_flyteidl_core_Parameter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.core.Interface.internal_static_flyteidl_core_Parameter_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.core.Interface.Parameter.class, flyteidl.core.Interface.Parameter.Builder.class); } private int behaviorCase_ = 0; private java.lang.Object behavior_; public enum BehaviorCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DEFAULT(2), REQUIRED(3), BEHAVIOR_NOT_SET(0); private final int value; private BehaviorCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static BehaviorCase valueOf(int value) { return forNumber(value); } public static BehaviorCase forNumber(int value) { switch (value) { case 2: return DEFAULT; case 3: return REQUIRED; case 0: return BEHAVIOR_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public BehaviorCase getBehaviorCase() { return BehaviorCase.forNumber( behaviorCase_); } public static final int VAR_FIELD_NUMBER = 1; private flyteidl.core.Interface.Variable var_; /** *
     *+required Variable. Defines the type of the variable backing this parameter.
     * 
* * .flyteidl.core.Variable var = 1; * @return Whether the var field is set. */ public boolean hasVar() { return var_ != null; } /** *
     *+required Variable. Defines the type of the variable backing this parameter.
     * 
* * .flyteidl.core.Variable var = 1; * @return The var. */ public flyteidl.core.Interface.Variable getVar() { return var_ == null ? flyteidl.core.Interface.Variable.getDefaultInstance() : var_; } /** *
     *+required Variable. Defines the type of the variable backing this parameter.
     * 
* * .flyteidl.core.Variable var = 1; */ public flyteidl.core.Interface.VariableOrBuilder getVarOrBuilder() { return getVar(); } public static final int DEFAULT_FIELD_NUMBER = 2; /** *
     * Defines a default value that has to match the variable type defined.
     * 
* * .flyteidl.core.Literal default = 2; * @return Whether the default field is set. */ public boolean hasDefault() { return behaviorCase_ == 2; } /** *
     * Defines a default value that has to match the variable type defined.
     * 
* * .flyteidl.core.Literal default = 2; * @return The default. */ public flyteidl.core.Literals.Literal getDefault() { if (behaviorCase_ == 2) { return (flyteidl.core.Literals.Literal) behavior_; } return flyteidl.core.Literals.Literal.getDefaultInstance(); } /** *
     * Defines a default value that has to match the variable type defined.
     * 
* * .flyteidl.core.Literal default = 2; */ public flyteidl.core.Literals.LiteralOrBuilder getDefaultOrBuilder() { if (behaviorCase_ == 2) { return (flyteidl.core.Literals.Literal) behavior_; } return flyteidl.core.Literals.Literal.getDefaultInstance(); } public static final int REQUIRED_FIELD_NUMBER = 3; /** *
     *+optional, is this value required to be filled.
     * 
* * bool required = 3; * @return The required. */ public boolean getRequired() { if (behaviorCase_ == 3) { return (java.lang.Boolean) behavior_; } return false; } 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 { if (var_ != null) { output.writeMessage(1, getVar()); } if (behaviorCase_ == 2) { output.writeMessage(2, (flyteidl.core.Literals.Literal) behavior_); } if (behaviorCase_ == 3) { output.writeBool( 3, (boolean)((java.lang.Boolean) behavior_)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (var_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getVar()); } if (behaviorCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (flyteidl.core.Literals.Literal) behavior_); } if (behaviorCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 3, (boolean)((java.lang.Boolean) behavior_)); } 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 flyteidl.core.Interface.Parameter)) { return super.equals(obj); } flyteidl.core.Interface.Parameter other = (flyteidl.core.Interface.Parameter) obj; if (hasVar() != other.hasVar()) return false; if (hasVar()) { if (!getVar() .equals(other.getVar())) return false; } if (!getBehaviorCase().equals(other.getBehaviorCase())) return false; switch (behaviorCase_) { case 2: if (!getDefault() .equals(other.getDefault())) return false; break; case 3: if (getRequired() != other.getRequired()) return false; break; case 0: default: } 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 (hasVar()) { hash = (37 * hash) + VAR_FIELD_NUMBER; hash = (53 * hash) + getVar().hashCode(); } switch (behaviorCase_) { case 2: hash = (37 * hash) + DEFAULT_FIELD_NUMBER; hash = (53 * hash) + getDefault().hashCode(); break; case 3: hash = (37 * hash) + REQUIRED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRequired()); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static flyteidl.core.Interface.Parameter parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.core.Interface.Parameter parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.core.Interface.Parameter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.core.Interface.Parameter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.core.Interface.Parameter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.core.Interface.Parameter parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.core.Interface.Parameter parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.core.Interface.Parameter 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 flyteidl.core.Interface.Parameter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static flyteidl.core.Interface.Parameter 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 flyteidl.core.Interface.Parameter parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.core.Interface.Parameter 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(flyteidl.core.Interface.Parameter 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; } /** *
     * A parameter is used as input to a launch plan and has
     * the special ability to have a default value or mark itself as required.
     * 
* * Protobuf type {@code flyteidl.core.Parameter} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flyteidl.core.Parameter) flyteidl.core.Interface.ParameterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.core.Interface.internal_static_flyteidl_core_Parameter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.core.Interface.internal_static_flyteidl_core_Parameter_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.core.Interface.Parameter.class, flyteidl.core.Interface.Parameter.Builder.class); } // Construct using flyteidl.core.Interface.Parameter.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (varBuilder_ == null) { var_ = null; } else { var_ = null; varBuilder_ = null; } behaviorCase_ = 0; behavior_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return flyteidl.core.Interface.internal_static_flyteidl_core_Parameter_descriptor; } @java.lang.Override public flyteidl.core.Interface.Parameter getDefaultInstanceForType() { return flyteidl.core.Interface.Parameter.getDefaultInstance(); } @java.lang.Override public flyteidl.core.Interface.Parameter build() { flyteidl.core.Interface.Parameter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public flyteidl.core.Interface.Parameter buildPartial() { flyteidl.core.Interface.Parameter result = new flyteidl.core.Interface.Parameter(this); if (varBuilder_ == null) { result.var_ = var_; } else { result.var_ = varBuilder_.build(); } if (behaviorCase_ == 2) { if (defaultBuilder_ == null) { result.behavior_ = behavior_; } else { result.behavior_ = defaultBuilder_.build(); } } if (behaviorCase_ == 3) { result.behavior_ = behavior_; } result.behaviorCase_ = behaviorCase_; 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 flyteidl.core.Interface.Parameter) { return mergeFrom((flyteidl.core.Interface.Parameter)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(flyteidl.core.Interface.Parameter other) { if (other == flyteidl.core.Interface.Parameter.getDefaultInstance()) return this; if (other.hasVar()) { mergeVar(other.getVar()); } switch (other.getBehaviorCase()) { case DEFAULT: { mergeDefault(other.getDefault()); break; } case REQUIRED: { setRequired(other.getRequired()); break; } case BEHAVIOR_NOT_SET: { break; } } 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 { flyteidl.core.Interface.Parameter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (flyteidl.core.Interface.Parameter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int behaviorCase_ = 0; private java.lang.Object behavior_; public BehaviorCase getBehaviorCase() { return BehaviorCase.forNumber( behaviorCase_); } public Builder clearBehavior() { behaviorCase_ = 0; behavior_ = null; onChanged(); return this; } private flyteidl.core.Interface.Variable var_; private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Interface.Variable, flyteidl.core.Interface.Variable.Builder, flyteidl.core.Interface.VariableOrBuilder> varBuilder_; /** *
       *+required Variable. Defines the type of the variable backing this parameter.
       * 
* * .flyteidl.core.Variable var = 1; * @return Whether the var field is set. */ public boolean hasVar() { return varBuilder_ != null || var_ != null; } /** *
       *+required Variable. Defines the type of the variable backing this parameter.
       * 
* * .flyteidl.core.Variable var = 1; * @return The var. */ public flyteidl.core.Interface.Variable getVar() { if (varBuilder_ == null) { return var_ == null ? flyteidl.core.Interface.Variable.getDefaultInstance() : var_; } else { return varBuilder_.getMessage(); } } /** *
       *+required Variable. Defines the type of the variable backing this parameter.
       * 
* * .flyteidl.core.Variable var = 1; */ public Builder setVar(flyteidl.core.Interface.Variable value) { if (varBuilder_ == null) { if (value == null) { throw new NullPointerException(); } var_ = value; onChanged(); } else { varBuilder_.setMessage(value); } return this; } /** *
       *+required Variable. Defines the type of the variable backing this parameter.
       * 
* * .flyteidl.core.Variable var = 1; */ public Builder setVar( flyteidl.core.Interface.Variable.Builder builderForValue) { if (varBuilder_ == null) { var_ = builderForValue.build(); onChanged(); } else { varBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       *+required Variable. Defines the type of the variable backing this parameter.
       * 
* * .flyteidl.core.Variable var = 1; */ public Builder mergeVar(flyteidl.core.Interface.Variable value) { if (varBuilder_ == null) { if (var_ != null) { var_ = flyteidl.core.Interface.Variable.newBuilder(var_).mergeFrom(value).buildPartial(); } else { var_ = value; } onChanged(); } else { varBuilder_.mergeFrom(value); } return this; } /** *
       *+required Variable. Defines the type of the variable backing this parameter.
       * 
* * .flyteidl.core.Variable var = 1; */ public Builder clearVar() { if (varBuilder_ == null) { var_ = null; onChanged(); } else { var_ = null; varBuilder_ = null; } return this; } /** *
       *+required Variable. Defines the type of the variable backing this parameter.
       * 
* * .flyteidl.core.Variable var = 1; */ public flyteidl.core.Interface.Variable.Builder getVarBuilder() { onChanged(); return getVarFieldBuilder().getBuilder(); } /** *
       *+required Variable. Defines the type of the variable backing this parameter.
       * 
* * .flyteidl.core.Variable var = 1; */ public flyteidl.core.Interface.VariableOrBuilder getVarOrBuilder() { if (varBuilder_ != null) { return varBuilder_.getMessageOrBuilder(); } else { return var_ == null ? flyteidl.core.Interface.Variable.getDefaultInstance() : var_; } } /** *
       *+required Variable. Defines the type of the variable backing this parameter.
       * 
* * .flyteidl.core.Variable var = 1; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Interface.Variable, flyteidl.core.Interface.Variable.Builder, flyteidl.core.Interface.VariableOrBuilder> getVarFieldBuilder() { if (varBuilder_ == null) { varBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Interface.Variable, flyteidl.core.Interface.Variable.Builder, flyteidl.core.Interface.VariableOrBuilder>( getVar(), getParentForChildren(), isClean()); var_ = null; } return varBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> defaultBuilder_; /** *
       * Defines a default value that has to match the variable type defined.
       * 
* * .flyteidl.core.Literal default = 2; * @return Whether the default field is set. */ public boolean hasDefault() { return behaviorCase_ == 2; } /** *
       * Defines a default value that has to match the variable type defined.
       * 
* * .flyteidl.core.Literal default = 2; * @return The default. */ public flyteidl.core.Literals.Literal getDefault() { if (defaultBuilder_ == null) { if (behaviorCase_ == 2) { return (flyteidl.core.Literals.Literal) behavior_; } return flyteidl.core.Literals.Literal.getDefaultInstance(); } else { if (behaviorCase_ == 2) { return defaultBuilder_.getMessage(); } return flyteidl.core.Literals.Literal.getDefaultInstance(); } } /** *
       * Defines a default value that has to match the variable type defined.
       * 
* * .flyteidl.core.Literal default = 2; */ public Builder setDefault(flyteidl.core.Literals.Literal value) { if (defaultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } behavior_ = value; onChanged(); } else { defaultBuilder_.setMessage(value); } behaviorCase_ = 2; return this; } /** *
       * Defines a default value that has to match the variable type defined.
       * 
* * .flyteidl.core.Literal default = 2; */ public Builder setDefault( flyteidl.core.Literals.Literal.Builder builderForValue) { if (defaultBuilder_ == null) { behavior_ = builderForValue.build(); onChanged(); } else { defaultBuilder_.setMessage(builderForValue.build()); } behaviorCase_ = 2; return this; } /** *
       * Defines a default value that has to match the variable type defined.
       * 
* * .flyteidl.core.Literal default = 2; */ public Builder mergeDefault(flyteidl.core.Literals.Literal value) { if (defaultBuilder_ == null) { if (behaviorCase_ == 2 && behavior_ != flyteidl.core.Literals.Literal.getDefaultInstance()) { behavior_ = flyteidl.core.Literals.Literal.newBuilder((flyteidl.core.Literals.Literal) behavior_) .mergeFrom(value).buildPartial(); } else { behavior_ = value; } onChanged(); } else { if (behaviorCase_ == 2) { defaultBuilder_.mergeFrom(value); } defaultBuilder_.setMessage(value); } behaviorCase_ = 2; return this; } /** *
       * Defines a default value that has to match the variable type defined.
       * 
* * .flyteidl.core.Literal default = 2; */ public Builder clearDefault() { if (defaultBuilder_ == null) { if (behaviorCase_ == 2) { behaviorCase_ = 0; behavior_ = null; onChanged(); } } else { if (behaviorCase_ == 2) { behaviorCase_ = 0; behavior_ = null; } defaultBuilder_.clear(); } return this; } /** *
       * Defines a default value that has to match the variable type defined.
       * 
* * .flyteidl.core.Literal default = 2; */ public flyteidl.core.Literals.Literal.Builder getDefaultBuilder() { return getDefaultFieldBuilder().getBuilder(); } /** *
       * Defines a default value that has to match the variable type defined.
       * 
* * .flyteidl.core.Literal default = 2; */ public flyteidl.core.Literals.LiteralOrBuilder getDefaultOrBuilder() { if ((behaviorCase_ == 2) && (defaultBuilder_ != null)) { return defaultBuilder_.getMessageOrBuilder(); } else { if (behaviorCase_ == 2) { return (flyteidl.core.Literals.Literal) behavior_; } return flyteidl.core.Literals.Literal.getDefaultInstance(); } } /** *
       * Defines a default value that has to match the variable type defined.
       * 
* * .flyteidl.core.Literal default = 2; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> getDefaultFieldBuilder() { if (defaultBuilder_ == null) { if (!(behaviorCase_ == 2)) { behavior_ = flyteidl.core.Literals.Literal.getDefaultInstance(); } defaultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder>( (flyteidl.core.Literals.Literal) behavior_, getParentForChildren(), isClean()); behavior_ = null; } behaviorCase_ = 2; onChanged();; return defaultBuilder_; } /** *
       *+optional, is this value required to be filled.
       * 
* * bool required = 3; * @return The required. */ public boolean getRequired() { if (behaviorCase_ == 3) { return (java.lang.Boolean) behavior_; } return false; } /** *
       *+optional, is this value required to be filled.
       * 
* * bool required = 3; * @param value The required to set. * @return This builder for chaining. */ public Builder setRequired(boolean value) { behaviorCase_ = 3; behavior_ = value; onChanged(); return this; } /** *
       *+optional, is this value required to be filled.
       * 
* * bool required = 3; * @return This builder for chaining. */ public Builder clearRequired() { if (behaviorCase_ == 3) { behaviorCase_ = 0; behavior_ = null; onChanged(); } return this; } @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:flyteidl.core.Parameter) } // @@protoc_insertion_point(class_scope:flyteidl.core.Parameter) private static final flyteidl.core.Interface.Parameter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new flyteidl.core.Interface.Parameter(); } public static flyteidl.core.Interface.Parameter getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Parameter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Parameter(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 flyteidl.core.Interface.Parameter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ParameterMapOrBuilder extends // @@protoc_insertion_point(interface_extends:flyteidl.core.ParameterMap) com.google.protobuf.MessageOrBuilder { /** *
     * Defines a map of parameter names to parameters.
     * 
* * map<string, .flyteidl.core.Parameter> parameters = 1; */ int getParametersCount(); /** *
     * Defines a map of parameter names to parameters.
     * 
* * map<string, .flyteidl.core.Parameter> parameters = 1; */ boolean containsParameters( java.lang.String key); /** * Use {@link #getParametersMap()} instead. */ @java.lang.Deprecated java.util.Map getParameters(); /** *
     * Defines a map of parameter names to parameters.
     * 
* * map<string, .flyteidl.core.Parameter> parameters = 1; */ java.util.Map getParametersMap(); /** *
     * Defines a map of parameter names to parameters.
     * 
* * map<string, .flyteidl.core.Parameter> parameters = 1; */ flyteidl.core.Interface.Parameter getParametersOrDefault( java.lang.String key, flyteidl.core.Interface.Parameter defaultValue); /** *
     * Defines a map of parameter names to parameters.
     * 
* * map<string, .flyteidl.core.Parameter> parameters = 1; */ flyteidl.core.Interface.Parameter getParametersOrThrow( java.lang.String key); } /** *
   * A map of Parameters.
   * 
* * Protobuf type {@code flyteidl.core.ParameterMap} */ public static final class ParameterMap extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flyteidl.core.ParameterMap) ParameterMapOrBuilder { private static final long serialVersionUID = 0L; // Use ParameterMap.newBuilder() to construct. private ParameterMap(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ParameterMap() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ParameterMap(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ParameterMap( 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)) { parameters_ = com.google.protobuf.MapField.newMapField( ParametersDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry parameters__ = input.readMessage( ParametersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); parameters_.getMutableMap().put( parameters__.getKey(), parameters__.getValue()); 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.core.Interface.internal_static_flyteidl_core_ParameterMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetParameters(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.core.Interface.internal_static_flyteidl_core_ParameterMap_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.core.Interface.ParameterMap.class, flyteidl.core.Interface.ParameterMap.Builder.class); } public static final int PARAMETERS_FIELD_NUMBER = 1; private static final class ParametersDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, flyteidl.core.Interface.Parameter> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( flyteidl.core.Interface.internal_static_flyteidl_core_ParameterMap_ParametersEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, flyteidl.core.Interface.Parameter.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, flyteidl.core.Interface.Parameter> parameters_; private com.google.protobuf.MapField internalGetParameters() { if (parameters_ == null) { return com.google.protobuf.MapField.emptyMapField( ParametersDefaultEntryHolder.defaultEntry); } return parameters_; } public int getParametersCount() { return internalGetParameters().getMap().size(); } /** *
     * Defines a map of parameter names to parameters.
     * 
* * map<string, .flyteidl.core.Parameter> parameters = 1; */ public boolean containsParameters( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetParameters().getMap().containsKey(key); } /** * Use {@link #getParametersMap()} instead. */ @java.lang.Deprecated public java.util.Map getParameters() { return getParametersMap(); } /** *
     * Defines a map of parameter names to parameters.
     * 
* * map<string, .flyteidl.core.Parameter> parameters = 1; */ public java.util.Map getParametersMap() { return internalGetParameters().getMap(); } /** *
     * Defines a map of parameter names to parameters.
     * 
* * map<string, .flyteidl.core.Parameter> parameters = 1; */ public flyteidl.core.Interface.Parameter getParametersOrDefault( java.lang.String key, flyteidl.core.Interface.Parameter defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetParameters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Defines a map of parameter names to parameters.
     * 
* * map<string, .flyteidl.core.Parameter> parameters = 1; */ public flyteidl.core.Interface.Parameter getParametersOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetParameters().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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 { com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetParameters(), ParametersDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetParameters().getMap().entrySet()) { com.google.protobuf.MapEntry parameters__ = ParametersDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, parameters__); } 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 flyteidl.core.Interface.ParameterMap)) { return super.equals(obj); } flyteidl.core.Interface.ParameterMap other = (flyteidl.core.Interface.ParameterMap) obj; if (!internalGetParameters().equals( other.internalGetParameters())) 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 (!internalGetParameters().getMap().isEmpty()) { hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + internalGetParameters().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static flyteidl.core.Interface.ParameterMap parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.core.Interface.ParameterMap parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.core.Interface.ParameterMap parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.core.Interface.ParameterMap parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.core.Interface.ParameterMap parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.core.Interface.ParameterMap parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.core.Interface.ParameterMap parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.core.Interface.ParameterMap 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 flyteidl.core.Interface.ParameterMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static flyteidl.core.Interface.ParameterMap 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 flyteidl.core.Interface.ParameterMap parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.core.Interface.ParameterMap 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(flyteidl.core.Interface.ParameterMap 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; } /** *
     * A map of Parameters.
     * 
* * Protobuf type {@code flyteidl.core.ParameterMap} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flyteidl.core.ParameterMap) flyteidl.core.Interface.ParameterMapOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.core.Interface.internal_static_flyteidl_core_ParameterMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetParameters(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableParameters(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.core.Interface.internal_static_flyteidl_core_ParameterMap_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.core.Interface.ParameterMap.class, flyteidl.core.Interface.ParameterMap.Builder.class); } // Construct using flyteidl.core.Interface.ParameterMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableParameters().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return flyteidl.core.Interface.internal_static_flyteidl_core_ParameterMap_descriptor; } @java.lang.Override public flyteidl.core.Interface.ParameterMap getDefaultInstanceForType() { return flyteidl.core.Interface.ParameterMap.getDefaultInstance(); } @java.lang.Override public flyteidl.core.Interface.ParameterMap build() { flyteidl.core.Interface.ParameterMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public flyteidl.core.Interface.ParameterMap buildPartial() { flyteidl.core.Interface.ParameterMap result = new flyteidl.core.Interface.ParameterMap(this); int from_bitField0_ = bitField0_; result.parameters_ = internalGetParameters(); result.parameters_.makeImmutable(); 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 flyteidl.core.Interface.ParameterMap) { return mergeFrom((flyteidl.core.Interface.ParameterMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(flyteidl.core.Interface.ParameterMap other) { if (other == flyteidl.core.Interface.ParameterMap.getDefaultInstance()) return this; internalGetMutableParameters().mergeFrom( other.internalGetParameters()); 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 { flyteidl.core.Interface.ParameterMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (flyteidl.core.Interface.ParameterMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.MapField< java.lang.String, flyteidl.core.Interface.Parameter> parameters_; private com.google.protobuf.MapField internalGetParameters() { if (parameters_ == null) { return com.google.protobuf.MapField.emptyMapField( ParametersDefaultEntryHolder.defaultEntry); } return parameters_; } private com.google.protobuf.MapField internalGetMutableParameters() { onChanged();; if (parameters_ == null) { parameters_ = com.google.protobuf.MapField.newMapField( ParametersDefaultEntryHolder.defaultEntry); } if (!parameters_.isMutable()) { parameters_ = parameters_.copy(); } return parameters_; } public int getParametersCount() { return internalGetParameters().getMap().size(); } /** *
       * Defines a map of parameter names to parameters.
       * 
* * map<string, .flyteidl.core.Parameter> parameters = 1; */ public boolean containsParameters( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetParameters().getMap().containsKey(key); } /** * Use {@link #getParametersMap()} instead. */ @java.lang.Deprecated public java.util.Map getParameters() { return getParametersMap(); } /** *
       * Defines a map of parameter names to parameters.
       * 
* * map<string, .flyteidl.core.Parameter> parameters = 1; */ public java.util.Map getParametersMap() { return internalGetParameters().getMap(); } /** *
       * Defines a map of parameter names to parameters.
       * 
* * map<string, .flyteidl.core.Parameter> parameters = 1; */ public flyteidl.core.Interface.Parameter getParametersOrDefault( java.lang.String key, flyteidl.core.Interface.Parameter defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetParameters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Defines a map of parameter names to parameters.
       * 
* * map<string, .flyteidl.core.Parameter> parameters = 1; */ public flyteidl.core.Interface.Parameter getParametersOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetParameters().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearParameters() { internalGetMutableParameters().getMutableMap() .clear(); return this; } /** *
       * Defines a map of parameter names to parameters.
       * 
* * map<string, .flyteidl.core.Parameter> parameters = 1; */ public Builder removeParameters( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableParameters().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableParameters() { return internalGetMutableParameters().getMutableMap(); } /** *
       * Defines a map of parameter names to parameters.
       * 
* * map<string, .flyteidl.core.Parameter> parameters = 1; */ public Builder putParameters( java.lang.String key, flyteidl.core.Interface.Parameter value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableParameters().getMutableMap() .put(key, value); return this; } /** *
       * Defines a map of parameter names to parameters.
       * 
* * map<string, .flyteidl.core.Parameter> parameters = 1; */ public Builder putAllParameters( java.util.Map values) { internalGetMutableParameters().getMutableMap() .putAll(values); return this; } @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:flyteidl.core.ParameterMap) } // @@protoc_insertion_point(class_scope:flyteidl.core.ParameterMap) private static final flyteidl.core.Interface.ParameterMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new flyteidl.core.Interface.ParameterMap(); } public static flyteidl.core.Interface.ParameterMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ParameterMap parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ParameterMap(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 flyteidl.core.Interface.ParameterMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_core_Variable_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_core_Variable_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_core_VariableMap_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_core_VariableMap_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_core_VariableMap_VariablesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_core_VariableMap_VariablesEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_core_TypedInterface_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_core_TypedInterface_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_core_Parameter_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_core_Parameter_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_core_ParameterMap_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_core_ParameterMap_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_core_ParameterMap_ParametersEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_core_ParameterMap_ParametersEntry_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\035flyteidl/core/interface.proto\022\rflyteid" + "l.core\032\031flyteidl/core/types.proto\032\034flyte" + "idl/core/literals.proto\"I\n\010Variable\022(\n\004t" + "ype\030\001 \001(\0132\032.flyteidl.core.LiteralType\022\023\n" + "\013description\030\002 \001(\t\"\226\001\n\013VariableMap\022<\n\tva" + "riables\030\001 \003(\0132).flyteidl.core.VariableMa" + "p.VariablesEntry\032I\n\016VariablesEntry\022\013\n\003ke" + "y\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.flyteidl.core.V" + "ariable:\0028\001\"i\n\016TypedInterface\022*\n\006inputs\030" + "\001 \001(\0132\032.flyteidl.core.VariableMap\022+\n\007out" + "puts\030\002 \001(\0132\032.flyteidl.core.VariableMap\"|" + "\n\tParameter\022$\n\003var\030\001 \001(\0132\027.flyteidl.core" + ".Variable\022)\n\007default\030\002 \001(\0132\026.flyteidl.co" + "re.LiteralH\000\022\022\n\010required\030\003 \001(\010H\000B\n\n\010beha" + "vior\"\234\001\n\014ParameterMap\022?\n\nparameters\030\001 \003(" + "\0132+.flyteidl.core.ParameterMap.Parameter" + "sEntry\032K\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\022\'" + "\n\005value\030\002 \001(\0132\030.flyteidl.core.Parameter:" + "\0028\001B2Z0github.com/lyft/flyteidl/gen/pb-g" + "o/flyteidl/coreb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { flyteidl.core.Types.getDescriptor(), flyteidl.core.Literals.getDescriptor(), }); internal_static_flyteidl_core_Variable_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_flyteidl_core_Variable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_core_Variable_descriptor, new java.lang.String[] { "Type", "Description", }); internal_static_flyteidl_core_VariableMap_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_flyteidl_core_VariableMap_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_core_VariableMap_descriptor, new java.lang.String[] { "Variables", }); internal_static_flyteidl_core_VariableMap_VariablesEntry_descriptor = internal_static_flyteidl_core_VariableMap_descriptor.getNestedTypes().get(0); internal_static_flyteidl_core_VariableMap_VariablesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_core_VariableMap_VariablesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_flyteidl_core_TypedInterface_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_flyteidl_core_TypedInterface_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_core_TypedInterface_descriptor, new java.lang.String[] { "Inputs", "Outputs", }); internal_static_flyteidl_core_Parameter_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_flyteidl_core_Parameter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_core_Parameter_descriptor, new java.lang.String[] { "Var", "Default", "Required", "Behavior", }); internal_static_flyteidl_core_ParameterMap_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_flyteidl_core_ParameterMap_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_core_ParameterMap_descriptor, new java.lang.String[] { "Parameters", }); internal_static_flyteidl_core_ParameterMap_ParametersEntry_descriptor = internal_static_flyteidl_core_ParameterMap_descriptor.getNestedTypes().get(0); internal_static_flyteidl_core_ParameterMap_ParametersEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_core_ParameterMap_ParametersEntry_descriptor, new java.lang.String[] { "Key", "Value", }); flyteidl.core.Types.getDescriptor(); flyteidl.core.Literals.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy