com.netflix.conductor.proto.SchemaDefPb Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: model/schemadef.proto
package com.netflix.conductor.proto;
public final class SchemaDefPb {
private SchemaDefPb() {}
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 SchemaDefOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.proto.SchemaDef)
com.google.protobuf.MessageOrBuilder {
/**
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* int32 version = 2;
* @return The version.
*/
int getVersion();
/**
* .conductor.proto.SchemaDef.Type type = 3;
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* .conductor.proto.SchemaDef.Type type = 3;
* @return The type.
*/
com.netflix.conductor.proto.SchemaDefPb.SchemaDef.Type getType();
}
/**
* Protobuf type {@code conductor.proto.SchemaDef}
*/
public static final class SchemaDef extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.proto.SchemaDef)
SchemaDefOrBuilder {
private static final long serialVersionUID = 0L;
// Use SchemaDef.newBuilder() to construct.
private SchemaDef(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SchemaDef() {
name_ = "";
type_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SchemaDef();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.proto.SchemaDefPb.internal_static_conductor_proto_SchemaDef_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.proto.SchemaDefPb.internal_static_conductor_proto_SchemaDef_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.proto.SchemaDefPb.SchemaDef.class, com.netflix.conductor.proto.SchemaDefPb.SchemaDef.Builder.class);
}
/**
* Protobuf enum {@code conductor.proto.SchemaDef.Type}
*/
public enum Type
implements com.google.protobuf.ProtocolMessageEnum {
/**
* JSON = 0;
*/
JSON(0),
/**
* AVRO = 1;
*/
AVRO(1),
/**
* PROTOBUF = 2;
*/
PROTOBUF(2),
UNRECOGNIZED(-1),
;
/**
* JSON = 0;
*/
public static final int JSON_VALUE = 0;
/**
* AVRO = 1;
*/
public static final int AVRO_VALUE = 1;
/**
* PROTOBUF = 2;
*/
public static final int PROTOBUF_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Type valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Type forNumber(int value) {
switch (value) {
case 0: return JSON;
case 1: return AVRO;
case 2: return PROTOBUF;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Type> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Type findValueByNumber(int number) {
return Type.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.netflix.conductor.proto.SchemaDefPb.SchemaDef.getDescriptor().getEnumTypes().get(0);
}
private static final Type[] VALUES = values();
public static Type valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Type(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:conductor.proto.SchemaDef.Type)
}
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* string name = 1;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* string name = 1;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VERSION_FIELD_NUMBER = 2;
private int version_ = 0;
/**
* int32 version = 2;
* @return The version.
*/
@java.lang.Override
public int getVersion() {
return version_;
}
public static final int TYPE_FIELD_NUMBER = 3;
private int type_ = 0;
/**
* .conductor.proto.SchemaDef.Type type = 3;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .conductor.proto.SchemaDef.Type type = 3;
* @return The type.
*/
@java.lang.Override public com.netflix.conductor.proto.SchemaDefPb.SchemaDef.Type getType() {
com.netflix.conductor.proto.SchemaDefPb.SchemaDef.Type result = com.netflix.conductor.proto.SchemaDefPb.SchemaDef.Type.forNumber(type_);
return result == null ? com.netflix.conductor.proto.SchemaDefPb.SchemaDef.Type.UNRECOGNIZED : result;
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (version_ != 0) {
output.writeInt32(2, version_);
}
if (type_ != com.netflix.conductor.proto.SchemaDefPb.SchemaDef.Type.JSON.getNumber()) {
output.writeEnum(3, type_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (version_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, version_);
}
if (type_ != com.netflix.conductor.proto.SchemaDefPb.SchemaDef.Type.JSON.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, type_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.proto.SchemaDefPb.SchemaDef)) {
return super.equals(obj);
}
com.netflix.conductor.proto.SchemaDefPb.SchemaDef other = (com.netflix.conductor.proto.SchemaDefPb.SchemaDef) obj;
if (!getName()
.equals(other.getName())) return false;
if (getVersion()
!= other.getVersion()) return false;
if (type_ != other.type_) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion();
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.proto.SchemaDefPb.SchemaDef parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.proto.SchemaDefPb.SchemaDef parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.proto.SchemaDefPb.SchemaDef parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.proto.SchemaDefPb.SchemaDef parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.proto.SchemaDefPb.SchemaDef parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.proto.SchemaDefPb.SchemaDef parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.proto.SchemaDefPb.SchemaDef parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.proto.SchemaDefPb.SchemaDef parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.netflix.conductor.proto.SchemaDefPb.SchemaDef parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.proto.SchemaDefPb.SchemaDef parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.netflix.conductor.proto.SchemaDefPb.SchemaDef parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.proto.SchemaDefPb.SchemaDef 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(com.netflix.conductor.proto.SchemaDefPb.SchemaDef prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code conductor.proto.SchemaDef}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.proto.SchemaDef)
com.netflix.conductor.proto.SchemaDefPb.SchemaDefOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.proto.SchemaDefPb.internal_static_conductor_proto_SchemaDef_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.proto.SchemaDefPb.internal_static_conductor_proto_SchemaDef_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.proto.SchemaDefPb.SchemaDef.class, com.netflix.conductor.proto.SchemaDefPb.SchemaDef.Builder.class);
}
// Construct using com.netflix.conductor.proto.SchemaDefPb.SchemaDef.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
version_ = 0;
type_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.proto.SchemaDefPb.internal_static_conductor_proto_SchemaDef_descriptor;
}
@java.lang.Override
public com.netflix.conductor.proto.SchemaDefPb.SchemaDef getDefaultInstanceForType() {
return com.netflix.conductor.proto.SchemaDefPb.SchemaDef.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.proto.SchemaDefPb.SchemaDef build() {
com.netflix.conductor.proto.SchemaDefPb.SchemaDef result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.proto.SchemaDefPb.SchemaDef buildPartial() {
com.netflix.conductor.proto.SchemaDefPb.SchemaDef result = new com.netflix.conductor.proto.SchemaDefPb.SchemaDef(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.netflix.conductor.proto.SchemaDefPb.SchemaDef result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.version_ = version_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.type_ = type_;
}
}
@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 com.netflix.conductor.proto.SchemaDefPb.SchemaDef) {
return mergeFrom((com.netflix.conductor.proto.SchemaDefPb.SchemaDef)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.proto.SchemaDefPb.SchemaDef other) {
if (other == com.netflix.conductor.proto.SchemaDefPb.SchemaDef.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.getVersion() != 0) {
setVersion(other.getVersion());
}
if (other.type_ != 0) {
setTypeValue(other.getTypeValue());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
version_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
type_ = input.readEnum();
bitField0_ |= 0x00000004;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* string name = 1;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 1;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 1;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private int version_ ;
/**
* int32 version = 2;
* @return The version.
*/
@java.lang.Override
public int getVersion() {
return version_;
}
/**
* int32 version = 2;
* @param value The version to set.
* @return This builder for chaining.
*/
public Builder setVersion(int value) {
version_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* int32 version = 2;
* @return This builder for chaining.
*/
public Builder clearVersion() {
bitField0_ = (bitField0_ & ~0x00000002);
version_ = 0;
onChanged();
return this;
}
private int type_ = 0;
/**
* .conductor.proto.SchemaDef.Type type = 3;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .conductor.proto.SchemaDef.Type type = 3;
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
type_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .conductor.proto.SchemaDef.Type type = 3;
* @return The type.
*/
@java.lang.Override
public com.netflix.conductor.proto.SchemaDefPb.SchemaDef.Type getType() {
com.netflix.conductor.proto.SchemaDefPb.SchemaDef.Type result = com.netflix.conductor.proto.SchemaDefPb.SchemaDef.Type.forNumber(type_);
return result == null ? com.netflix.conductor.proto.SchemaDefPb.SchemaDef.Type.UNRECOGNIZED : result;
}
/**
* .conductor.proto.SchemaDef.Type type = 3;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(com.netflix.conductor.proto.SchemaDefPb.SchemaDef.Type value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
type_ = value.getNumber();
onChanged();
return this;
}
/**
* .conductor.proto.SchemaDef.Type type = 3;
* @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000004);
type_ = 0;
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:conductor.proto.SchemaDef)
}
// @@protoc_insertion_point(class_scope:conductor.proto.SchemaDef)
private static final com.netflix.conductor.proto.SchemaDefPb.SchemaDef DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.proto.SchemaDefPb.SchemaDef();
}
public static com.netflix.conductor.proto.SchemaDefPb.SchemaDef getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SchemaDef parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.proto.SchemaDefPb.SchemaDef getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_proto_SchemaDef_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_proto_SchemaDef_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\025model/schemadef.proto\022\017conductor.proto" +
"\"\203\001\n\tSchemaDef\022\014\n\004name\030\001 \001(\t\022\017\n\007version\030" +
"\002 \001(\005\022-\n\004type\030\003 \001(\0162\037.conductor.proto.Sc" +
"hemaDef.Type\"(\n\004Type\022\010\n\004JSON\020\000\022\010\n\004AVRO\020\001" +
"\022\014\n\010PROTOBUF\020\002Bf\n\033com.netflix.conductor." +
"protoB\013SchemaDefPbZ:github.com/netflix/c" +
"onductor/client/gogrpc/conductor/modelb\006" +
"proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_conductor_proto_SchemaDef_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_conductor_proto_SchemaDef_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_proto_SchemaDef_descriptor,
new java.lang.String[] { "Name", "Version", "Type", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy