xyz.block.ftl.v1.schema.Metadata Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: xyz/block/ftl/v1/schema/schema.proto
// Protobuf Java Version: 3.25.4
package xyz.block.ftl.v1.schema;
/**
* Protobuf type {@code xyz.block.ftl.v1.schema.Metadata}
*/
public final class Metadata extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:xyz.block.ftl.v1.schema.Metadata)
MetadataOrBuilder {
private static final long serialVersionUID = 0L;
// Use Metadata.newBuilder() to construct.
private Metadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Metadata() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Metadata();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return xyz.block.ftl.v1.schema.SchemaOuterClass.internal_static_xyz_block_ftl_v1_schema_Metadata_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return xyz.block.ftl.v1.schema.SchemaOuterClass.internal_static_xyz_block_ftl_v1_schema_Metadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
xyz.block.ftl.v1.schema.Metadata.class, xyz.block.ftl.v1.schema.Metadata.Builder.class);
}
private int valueCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object value_;
public enum ValueCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
ALIAS(5),
CALLS(1),
CONFIG(10),
CRON_JOB(3),
DATABASES(4),
ENCODING(9),
INGRESS(2),
RETRY(6),
SECRETS(11),
SUBSCRIBER(7),
TYPE_MAP(8),
VALUE_NOT_SET(0);
private final int value;
private ValueCase(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 ValueCase valueOf(int value) {
return forNumber(value);
}
public static ValueCase forNumber(int value) {
switch (value) {
case 5: return ALIAS;
case 1: return CALLS;
case 10: return CONFIG;
case 3: return CRON_JOB;
case 4: return DATABASES;
case 9: return ENCODING;
case 2: return INGRESS;
case 6: return RETRY;
case 11: return SECRETS;
case 7: return SUBSCRIBER;
case 8: return TYPE_MAP;
case 0: return VALUE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ValueCase
getValueCase() {
return ValueCase.forNumber(
valueCase_);
}
public static final int ALIAS_FIELD_NUMBER = 5;
/**
* .xyz.block.ftl.v1.schema.MetadataAlias alias = 5;
* @return Whether the alias field is set.
*/
@java.lang.Override
public boolean hasAlias() {
return valueCase_ == 5;
}
/**
* .xyz.block.ftl.v1.schema.MetadataAlias alias = 5;
* @return The alias.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataAlias getAlias() {
if (valueCase_ == 5) {
return (xyz.block.ftl.v1.schema.MetadataAlias) value_;
}
return xyz.block.ftl.v1.schema.MetadataAlias.getDefaultInstance();
}
/**
* .xyz.block.ftl.v1.schema.MetadataAlias alias = 5;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataAliasOrBuilder getAliasOrBuilder() {
if (valueCase_ == 5) {
return (xyz.block.ftl.v1.schema.MetadataAlias) value_;
}
return xyz.block.ftl.v1.schema.MetadataAlias.getDefaultInstance();
}
public static final int CALLS_FIELD_NUMBER = 1;
/**
* .xyz.block.ftl.v1.schema.MetadataCalls calls = 1;
* @return Whether the calls field is set.
*/
@java.lang.Override
public boolean hasCalls() {
return valueCase_ == 1;
}
/**
* .xyz.block.ftl.v1.schema.MetadataCalls calls = 1;
* @return The calls.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataCalls getCalls() {
if (valueCase_ == 1) {
return (xyz.block.ftl.v1.schema.MetadataCalls) value_;
}
return xyz.block.ftl.v1.schema.MetadataCalls.getDefaultInstance();
}
/**
* .xyz.block.ftl.v1.schema.MetadataCalls calls = 1;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataCallsOrBuilder getCallsOrBuilder() {
if (valueCase_ == 1) {
return (xyz.block.ftl.v1.schema.MetadataCalls) value_;
}
return xyz.block.ftl.v1.schema.MetadataCalls.getDefaultInstance();
}
public static final int CONFIG_FIELD_NUMBER = 10;
/**
* .xyz.block.ftl.v1.schema.MetadataConfig config = 10;
* @return Whether the config field is set.
*/
@java.lang.Override
public boolean hasConfig() {
return valueCase_ == 10;
}
/**
* .xyz.block.ftl.v1.schema.MetadataConfig config = 10;
* @return The config.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataConfig getConfig() {
if (valueCase_ == 10) {
return (xyz.block.ftl.v1.schema.MetadataConfig) value_;
}
return xyz.block.ftl.v1.schema.MetadataConfig.getDefaultInstance();
}
/**
* .xyz.block.ftl.v1.schema.MetadataConfig config = 10;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataConfigOrBuilder getConfigOrBuilder() {
if (valueCase_ == 10) {
return (xyz.block.ftl.v1.schema.MetadataConfig) value_;
}
return xyz.block.ftl.v1.schema.MetadataConfig.getDefaultInstance();
}
public static final int CRON_JOB_FIELD_NUMBER = 3;
/**
* .xyz.block.ftl.v1.schema.MetadataCronJob cron_job = 3;
* @return Whether the cronJob field is set.
*/
@java.lang.Override
public boolean hasCronJob() {
return valueCase_ == 3;
}
/**
* .xyz.block.ftl.v1.schema.MetadataCronJob cron_job = 3;
* @return The cronJob.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataCronJob getCronJob() {
if (valueCase_ == 3) {
return (xyz.block.ftl.v1.schema.MetadataCronJob) value_;
}
return xyz.block.ftl.v1.schema.MetadataCronJob.getDefaultInstance();
}
/**
* .xyz.block.ftl.v1.schema.MetadataCronJob cron_job = 3;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataCronJobOrBuilder getCronJobOrBuilder() {
if (valueCase_ == 3) {
return (xyz.block.ftl.v1.schema.MetadataCronJob) value_;
}
return xyz.block.ftl.v1.schema.MetadataCronJob.getDefaultInstance();
}
public static final int DATABASES_FIELD_NUMBER = 4;
/**
* .xyz.block.ftl.v1.schema.MetadataDatabases databases = 4;
* @return Whether the databases field is set.
*/
@java.lang.Override
public boolean hasDatabases() {
return valueCase_ == 4;
}
/**
* .xyz.block.ftl.v1.schema.MetadataDatabases databases = 4;
* @return The databases.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataDatabases getDatabases() {
if (valueCase_ == 4) {
return (xyz.block.ftl.v1.schema.MetadataDatabases) value_;
}
return xyz.block.ftl.v1.schema.MetadataDatabases.getDefaultInstance();
}
/**
* .xyz.block.ftl.v1.schema.MetadataDatabases databases = 4;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataDatabasesOrBuilder getDatabasesOrBuilder() {
if (valueCase_ == 4) {
return (xyz.block.ftl.v1.schema.MetadataDatabases) value_;
}
return xyz.block.ftl.v1.schema.MetadataDatabases.getDefaultInstance();
}
public static final int ENCODING_FIELD_NUMBER = 9;
/**
* .xyz.block.ftl.v1.schema.MetadataEncoding encoding = 9;
* @return Whether the encoding field is set.
*/
@java.lang.Override
public boolean hasEncoding() {
return valueCase_ == 9;
}
/**
* .xyz.block.ftl.v1.schema.MetadataEncoding encoding = 9;
* @return The encoding.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataEncoding getEncoding() {
if (valueCase_ == 9) {
return (xyz.block.ftl.v1.schema.MetadataEncoding) value_;
}
return xyz.block.ftl.v1.schema.MetadataEncoding.getDefaultInstance();
}
/**
* .xyz.block.ftl.v1.schema.MetadataEncoding encoding = 9;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataEncodingOrBuilder getEncodingOrBuilder() {
if (valueCase_ == 9) {
return (xyz.block.ftl.v1.schema.MetadataEncoding) value_;
}
return xyz.block.ftl.v1.schema.MetadataEncoding.getDefaultInstance();
}
public static final int INGRESS_FIELD_NUMBER = 2;
/**
* .xyz.block.ftl.v1.schema.MetadataIngress ingress = 2;
* @return Whether the ingress field is set.
*/
@java.lang.Override
public boolean hasIngress() {
return valueCase_ == 2;
}
/**
* .xyz.block.ftl.v1.schema.MetadataIngress ingress = 2;
* @return The ingress.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataIngress getIngress() {
if (valueCase_ == 2) {
return (xyz.block.ftl.v1.schema.MetadataIngress) value_;
}
return xyz.block.ftl.v1.schema.MetadataIngress.getDefaultInstance();
}
/**
* .xyz.block.ftl.v1.schema.MetadataIngress ingress = 2;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataIngressOrBuilder getIngressOrBuilder() {
if (valueCase_ == 2) {
return (xyz.block.ftl.v1.schema.MetadataIngress) value_;
}
return xyz.block.ftl.v1.schema.MetadataIngress.getDefaultInstance();
}
public static final int RETRY_FIELD_NUMBER = 6;
/**
* .xyz.block.ftl.v1.schema.MetadataRetry retry = 6;
* @return Whether the retry field is set.
*/
@java.lang.Override
public boolean hasRetry() {
return valueCase_ == 6;
}
/**
* .xyz.block.ftl.v1.schema.MetadataRetry retry = 6;
* @return The retry.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataRetry getRetry() {
if (valueCase_ == 6) {
return (xyz.block.ftl.v1.schema.MetadataRetry) value_;
}
return xyz.block.ftl.v1.schema.MetadataRetry.getDefaultInstance();
}
/**
* .xyz.block.ftl.v1.schema.MetadataRetry retry = 6;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataRetryOrBuilder getRetryOrBuilder() {
if (valueCase_ == 6) {
return (xyz.block.ftl.v1.schema.MetadataRetry) value_;
}
return xyz.block.ftl.v1.schema.MetadataRetry.getDefaultInstance();
}
public static final int SECRETS_FIELD_NUMBER = 11;
/**
* .xyz.block.ftl.v1.schema.MetadataSecrets secrets = 11;
* @return Whether the secrets field is set.
*/
@java.lang.Override
public boolean hasSecrets() {
return valueCase_ == 11;
}
/**
* .xyz.block.ftl.v1.schema.MetadataSecrets secrets = 11;
* @return The secrets.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataSecrets getSecrets() {
if (valueCase_ == 11) {
return (xyz.block.ftl.v1.schema.MetadataSecrets) value_;
}
return xyz.block.ftl.v1.schema.MetadataSecrets.getDefaultInstance();
}
/**
* .xyz.block.ftl.v1.schema.MetadataSecrets secrets = 11;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataSecretsOrBuilder getSecretsOrBuilder() {
if (valueCase_ == 11) {
return (xyz.block.ftl.v1.schema.MetadataSecrets) value_;
}
return xyz.block.ftl.v1.schema.MetadataSecrets.getDefaultInstance();
}
public static final int SUBSCRIBER_FIELD_NUMBER = 7;
/**
* .xyz.block.ftl.v1.schema.MetadataSubscriber subscriber = 7;
* @return Whether the subscriber field is set.
*/
@java.lang.Override
public boolean hasSubscriber() {
return valueCase_ == 7;
}
/**
* .xyz.block.ftl.v1.schema.MetadataSubscriber subscriber = 7;
* @return The subscriber.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataSubscriber getSubscriber() {
if (valueCase_ == 7) {
return (xyz.block.ftl.v1.schema.MetadataSubscriber) value_;
}
return xyz.block.ftl.v1.schema.MetadataSubscriber.getDefaultInstance();
}
/**
* .xyz.block.ftl.v1.schema.MetadataSubscriber subscriber = 7;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataSubscriberOrBuilder getSubscriberOrBuilder() {
if (valueCase_ == 7) {
return (xyz.block.ftl.v1.schema.MetadataSubscriber) value_;
}
return xyz.block.ftl.v1.schema.MetadataSubscriber.getDefaultInstance();
}
public static final int TYPE_MAP_FIELD_NUMBER = 8;
/**
* .xyz.block.ftl.v1.schema.MetadataTypeMap type_map = 8;
* @return Whether the typeMap field is set.
*/
@java.lang.Override
public boolean hasTypeMap() {
return valueCase_ == 8;
}
/**
* .xyz.block.ftl.v1.schema.MetadataTypeMap type_map = 8;
* @return The typeMap.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataTypeMap getTypeMap() {
if (valueCase_ == 8) {
return (xyz.block.ftl.v1.schema.MetadataTypeMap) value_;
}
return xyz.block.ftl.v1.schema.MetadataTypeMap.getDefaultInstance();
}
/**
* .xyz.block.ftl.v1.schema.MetadataTypeMap type_map = 8;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataTypeMapOrBuilder getTypeMapOrBuilder() {
if (valueCase_ == 8) {
return (xyz.block.ftl.v1.schema.MetadataTypeMap) value_;
}
return xyz.block.ftl.v1.schema.MetadataTypeMap.getDefaultInstance();
}
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 (valueCase_ == 1) {
output.writeMessage(1, (xyz.block.ftl.v1.schema.MetadataCalls) value_);
}
if (valueCase_ == 2) {
output.writeMessage(2, (xyz.block.ftl.v1.schema.MetadataIngress) value_);
}
if (valueCase_ == 3) {
output.writeMessage(3, (xyz.block.ftl.v1.schema.MetadataCronJob) value_);
}
if (valueCase_ == 4) {
output.writeMessage(4, (xyz.block.ftl.v1.schema.MetadataDatabases) value_);
}
if (valueCase_ == 5) {
output.writeMessage(5, (xyz.block.ftl.v1.schema.MetadataAlias) value_);
}
if (valueCase_ == 6) {
output.writeMessage(6, (xyz.block.ftl.v1.schema.MetadataRetry) value_);
}
if (valueCase_ == 7) {
output.writeMessage(7, (xyz.block.ftl.v1.schema.MetadataSubscriber) value_);
}
if (valueCase_ == 8) {
output.writeMessage(8, (xyz.block.ftl.v1.schema.MetadataTypeMap) value_);
}
if (valueCase_ == 9) {
output.writeMessage(9, (xyz.block.ftl.v1.schema.MetadataEncoding) value_);
}
if (valueCase_ == 10) {
output.writeMessage(10, (xyz.block.ftl.v1.schema.MetadataConfig) value_);
}
if (valueCase_ == 11) {
output.writeMessage(11, (xyz.block.ftl.v1.schema.MetadataSecrets) value_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (valueCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (xyz.block.ftl.v1.schema.MetadataCalls) value_);
}
if (valueCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (xyz.block.ftl.v1.schema.MetadataIngress) value_);
}
if (valueCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (xyz.block.ftl.v1.schema.MetadataCronJob) value_);
}
if (valueCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (xyz.block.ftl.v1.schema.MetadataDatabases) value_);
}
if (valueCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (xyz.block.ftl.v1.schema.MetadataAlias) value_);
}
if (valueCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (xyz.block.ftl.v1.schema.MetadataRetry) value_);
}
if (valueCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (xyz.block.ftl.v1.schema.MetadataSubscriber) value_);
}
if (valueCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (xyz.block.ftl.v1.schema.MetadataTypeMap) value_);
}
if (valueCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (xyz.block.ftl.v1.schema.MetadataEncoding) value_);
}
if (valueCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (xyz.block.ftl.v1.schema.MetadataConfig) value_);
}
if (valueCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (xyz.block.ftl.v1.schema.MetadataSecrets) value_);
}
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 xyz.block.ftl.v1.schema.Metadata)) {
return super.equals(obj);
}
xyz.block.ftl.v1.schema.Metadata other = (xyz.block.ftl.v1.schema.Metadata) obj;
if (!getValueCase().equals(other.getValueCase())) return false;
switch (valueCase_) {
case 5:
if (!getAlias()
.equals(other.getAlias())) return false;
break;
case 1:
if (!getCalls()
.equals(other.getCalls())) return false;
break;
case 10:
if (!getConfig()
.equals(other.getConfig())) return false;
break;
case 3:
if (!getCronJob()
.equals(other.getCronJob())) return false;
break;
case 4:
if (!getDatabases()
.equals(other.getDatabases())) return false;
break;
case 9:
if (!getEncoding()
.equals(other.getEncoding())) return false;
break;
case 2:
if (!getIngress()
.equals(other.getIngress())) return false;
break;
case 6:
if (!getRetry()
.equals(other.getRetry())) return false;
break;
case 11:
if (!getSecrets()
.equals(other.getSecrets())) return false;
break;
case 7:
if (!getSubscriber()
.equals(other.getSubscriber())) return false;
break;
case 8:
if (!getTypeMap()
.equals(other.getTypeMap())) return false;
break;
case 0:
default:
}
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();
switch (valueCase_) {
case 5:
hash = (37 * hash) + ALIAS_FIELD_NUMBER;
hash = (53 * hash) + getAlias().hashCode();
break;
case 1:
hash = (37 * hash) + CALLS_FIELD_NUMBER;
hash = (53 * hash) + getCalls().hashCode();
break;
case 10:
hash = (37 * hash) + CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getConfig().hashCode();
break;
case 3:
hash = (37 * hash) + CRON_JOB_FIELD_NUMBER;
hash = (53 * hash) + getCronJob().hashCode();
break;
case 4:
hash = (37 * hash) + DATABASES_FIELD_NUMBER;
hash = (53 * hash) + getDatabases().hashCode();
break;
case 9:
hash = (37 * hash) + ENCODING_FIELD_NUMBER;
hash = (53 * hash) + getEncoding().hashCode();
break;
case 2:
hash = (37 * hash) + INGRESS_FIELD_NUMBER;
hash = (53 * hash) + getIngress().hashCode();
break;
case 6:
hash = (37 * hash) + RETRY_FIELD_NUMBER;
hash = (53 * hash) + getRetry().hashCode();
break;
case 11:
hash = (37 * hash) + SECRETS_FIELD_NUMBER;
hash = (53 * hash) + getSecrets().hashCode();
break;
case 7:
hash = (37 * hash) + SUBSCRIBER_FIELD_NUMBER;
hash = (53 * hash) + getSubscriber().hashCode();
break;
case 8:
hash = (37 * hash) + TYPE_MAP_FIELD_NUMBER;
hash = (53 * hash) + getTypeMap().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static xyz.block.ftl.v1.schema.Metadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static xyz.block.ftl.v1.schema.Metadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static xyz.block.ftl.v1.schema.Metadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static xyz.block.ftl.v1.schema.Metadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static xyz.block.ftl.v1.schema.Metadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static xyz.block.ftl.v1.schema.Metadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static xyz.block.ftl.v1.schema.Metadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static xyz.block.ftl.v1.schema.Metadata 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 xyz.block.ftl.v1.schema.Metadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static xyz.block.ftl.v1.schema.Metadata 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 xyz.block.ftl.v1.schema.Metadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static xyz.block.ftl.v1.schema.Metadata 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(xyz.block.ftl.v1.schema.Metadata 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 xyz.block.ftl.v1.schema.Metadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:xyz.block.ftl.v1.schema.Metadata)
xyz.block.ftl.v1.schema.MetadataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return xyz.block.ftl.v1.schema.SchemaOuterClass.internal_static_xyz_block_ftl_v1_schema_Metadata_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return xyz.block.ftl.v1.schema.SchemaOuterClass.internal_static_xyz_block_ftl_v1_schema_Metadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
xyz.block.ftl.v1.schema.Metadata.class, xyz.block.ftl.v1.schema.Metadata.Builder.class);
}
// Construct using xyz.block.ftl.v1.schema.Metadata.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (aliasBuilder_ != null) {
aliasBuilder_.clear();
}
if (callsBuilder_ != null) {
callsBuilder_.clear();
}
if (configBuilder_ != null) {
configBuilder_.clear();
}
if (cronJobBuilder_ != null) {
cronJobBuilder_.clear();
}
if (databasesBuilder_ != null) {
databasesBuilder_.clear();
}
if (encodingBuilder_ != null) {
encodingBuilder_.clear();
}
if (ingressBuilder_ != null) {
ingressBuilder_.clear();
}
if (retryBuilder_ != null) {
retryBuilder_.clear();
}
if (secretsBuilder_ != null) {
secretsBuilder_.clear();
}
if (subscriberBuilder_ != null) {
subscriberBuilder_.clear();
}
if (typeMapBuilder_ != null) {
typeMapBuilder_.clear();
}
valueCase_ = 0;
value_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return xyz.block.ftl.v1.schema.SchemaOuterClass.internal_static_xyz_block_ftl_v1_schema_Metadata_descriptor;
}
@java.lang.Override
public xyz.block.ftl.v1.schema.Metadata getDefaultInstanceForType() {
return xyz.block.ftl.v1.schema.Metadata.getDefaultInstance();
}
@java.lang.Override
public xyz.block.ftl.v1.schema.Metadata build() {
xyz.block.ftl.v1.schema.Metadata result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public xyz.block.ftl.v1.schema.Metadata buildPartial() {
xyz.block.ftl.v1.schema.Metadata result = new xyz.block.ftl.v1.schema.Metadata(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(xyz.block.ftl.v1.schema.Metadata result) {
int from_bitField0_ = bitField0_;
}
private void buildPartialOneofs(xyz.block.ftl.v1.schema.Metadata result) {
result.valueCase_ = valueCase_;
result.value_ = this.value_;
if (valueCase_ == 5 &&
aliasBuilder_ != null) {
result.value_ = aliasBuilder_.build();
}
if (valueCase_ == 1 &&
callsBuilder_ != null) {
result.value_ = callsBuilder_.build();
}
if (valueCase_ == 10 &&
configBuilder_ != null) {
result.value_ = configBuilder_.build();
}
if (valueCase_ == 3 &&
cronJobBuilder_ != null) {
result.value_ = cronJobBuilder_.build();
}
if (valueCase_ == 4 &&
databasesBuilder_ != null) {
result.value_ = databasesBuilder_.build();
}
if (valueCase_ == 9 &&
encodingBuilder_ != null) {
result.value_ = encodingBuilder_.build();
}
if (valueCase_ == 2 &&
ingressBuilder_ != null) {
result.value_ = ingressBuilder_.build();
}
if (valueCase_ == 6 &&
retryBuilder_ != null) {
result.value_ = retryBuilder_.build();
}
if (valueCase_ == 11 &&
secretsBuilder_ != null) {
result.value_ = secretsBuilder_.build();
}
if (valueCase_ == 7 &&
subscriberBuilder_ != null) {
result.value_ = subscriberBuilder_.build();
}
if (valueCase_ == 8 &&
typeMapBuilder_ != null) {
result.value_ = typeMapBuilder_.build();
}
}
@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 xyz.block.ftl.v1.schema.Metadata) {
return mergeFrom((xyz.block.ftl.v1.schema.Metadata)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(xyz.block.ftl.v1.schema.Metadata other) {
if (other == xyz.block.ftl.v1.schema.Metadata.getDefaultInstance()) return this;
switch (other.getValueCase()) {
case ALIAS: {
mergeAlias(other.getAlias());
break;
}
case CALLS: {
mergeCalls(other.getCalls());
break;
}
case CONFIG: {
mergeConfig(other.getConfig());
break;
}
case CRON_JOB: {
mergeCronJob(other.getCronJob());
break;
}
case DATABASES: {
mergeDatabases(other.getDatabases());
break;
}
case ENCODING: {
mergeEncoding(other.getEncoding());
break;
}
case INGRESS: {
mergeIngress(other.getIngress());
break;
}
case RETRY: {
mergeRetry(other.getRetry());
break;
}
case SECRETS: {
mergeSecrets(other.getSecrets());
break;
}
case SUBSCRIBER: {
mergeSubscriber(other.getSubscriber());
break;
}
case TYPE_MAP: {
mergeTypeMap(other.getTypeMap());
break;
}
case VALUE_NOT_SET: {
break;
}
}
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: {
input.readMessage(
getCallsFieldBuilder().getBuilder(),
extensionRegistry);
valueCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getIngressFieldBuilder().getBuilder(),
extensionRegistry);
valueCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getCronJobFieldBuilder().getBuilder(),
extensionRegistry);
valueCase_ = 3;
break;
} // case 26
case 34: {
input.readMessage(
getDatabasesFieldBuilder().getBuilder(),
extensionRegistry);
valueCase_ = 4;
break;
} // case 34
case 42: {
input.readMessage(
getAliasFieldBuilder().getBuilder(),
extensionRegistry);
valueCase_ = 5;
break;
} // case 42
case 50: {
input.readMessage(
getRetryFieldBuilder().getBuilder(),
extensionRegistry);
valueCase_ = 6;
break;
} // case 50
case 58: {
input.readMessage(
getSubscriberFieldBuilder().getBuilder(),
extensionRegistry);
valueCase_ = 7;
break;
} // case 58
case 66: {
input.readMessage(
getTypeMapFieldBuilder().getBuilder(),
extensionRegistry);
valueCase_ = 8;
break;
} // case 66
case 74: {
input.readMessage(
getEncodingFieldBuilder().getBuilder(),
extensionRegistry);
valueCase_ = 9;
break;
} // case 74
case 82: {
input.readMessage(
getConfigFieldBuilder().getBuilder(),
extensionRegistry);
valueCase_ = 10;
break;
} // case 82
case 90: {
input.readMessage(
getSecretsFieldBuilder().getBuilder(),
extensionRegistry);
valueCase_ = 11;
break;
} // case 90
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 valueCase_ = 0;
private java.lang.Object value_;
public ValueCase
getValueCase() {
return ValueCase.forNumber(
valueCase_);
}
public Builder clearValue() {
valueCase_ = 0;
value_ = null;
onChanged();
return this;
}
private int bitField0_;
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataAlias, xyz.block.ftl.v1.schema.MetadataAlias.Builder, xyz.block.ftl.v1.schema.MetadataAliasOrBuilder> aliasBuilder_;
/**
* .xyz.block.ftl.v1.schema.MetadataAlias alias = 5;
* @return Whether the alias field is set.
*/
@java.lang.Override
public boolean hasAlias() {
return valueCase_ == 5;
}
/**
* .xyz.block.ftl.v1.schema.MetadataAlias alias = 5;
* @return The alias.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataAlias getAlias() {
if (aliasBuilder_ == null) {
if (valueCase_ == 5) {
return (xyz.block.ftl.v1.schema.MetadataAlias) value_;
}
return xyz.block.ftl.v1.schema.MetadataAlias.getDefaultInstance();
} else {
if (valueCase_ == 5) {
return aliasBuilder_.getMessage();
}
return xyz.block.ftl.v1.schema.MetadataAlias.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataAlias alias = 5;
*/
public Builder setAlias(xyz.block.ftl.v1.schema.MetadataAlias value) {
if (aliasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
aliasBuilder_.setMessage(value);
}
valueCase_ = 5;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataAlias alias = 5;
*/
public Builder setAlias(
xyz.block.ftl.v1.schema.MetadataAlias.Builder builderForValue) {
if (aliasBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
aliasBuilder_.setMessage(builderForValue.build());
}
valueCase_ = 5;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataAlias alias = 5;
*/
public Builder mergeAlias(xyz.block.ftl.v1.schema.MetadataAlias value) {
if (aliasBuilder_ == null) {
if (valueCase_ == 5 &&
value_ != xyz.block.ftl.v1.schema.MetadataAlias.getDefaultInstance()) {
value_ = xyz.block.ftl.v1.schema.MetadataAlias.newBuilder((xyz.block.ftl.v1.schema.MetadataAlias) value_)
.mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
if (valueCase_ == 5) {
aliasBuilder_.mergeFrom(value);
} else {
aliasBuilder_.setMessage(value);
}
}
valueCase_ = 5;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataAlias alias = 5;
*/
public Builder clearAlias() {
if (aliasBuilder_ == null) {
if (valueCase_ == 5) {
valueCase_ = 0;
value_ = null;
onChanged();
}
} else {
if (valueCase_ == 5) {
valueCase_ = 0;
value_ = null;
}
aliasBuilder_.clear();
}
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataAlias alias = 5;
*/
public xyz.block.ftl.v1.schema.MetadataAlias.Builder getAliasBuilder() {
return getAliasFieldBuilder().getBuilder();
}
/**
* .xyz.block.ftl.v1.schema.MetadataAlias alias = 5;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataAliasOrBuilder getAliasOrBuilder() {
if ((valueCase_ == 5) && (aliasBuilder_ != null)) {
return aliasBuilder_.getMessageOrBuilder();
} else {
if (valueCase_ == 5) {
return (xyz.block.ftl.v1.schema.MetadataAlias) value_;
}
return xyz.block.ftl.v1.schema.MetadataAlias.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataAlias alias = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataAlias, xyz.block.ftl.v1.schema.MetadataAlias.Builder, xyz.block.ftl.v1.schema.MetadataAliasOrBuilder>
getAliasFieldBuilder() {
if (aliasBuilder_ == null) {
if (!(valueCase_ == 5)) {
value_ = xyz.block.ftl.v1.schema.MetadataAlias.getDefaultInstance();
}
aliasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataAlias, xyz.block.ftl.v1.schema.MetadataAlias.Builder, xyz.block.ftl.v1.schema.MetadataAliasOrBuilder>(
(xyz.block.ftl.v1.schema.MetadataAlias) value_,
getParentForChildren(),
isClean());
value_ = null;
}
valueCase_ = 5;
onChanged();
return aliasBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataCalls, xyz.block.ftl.v1.schema.MetadataCalls.Builder, xyz.block.ftl.v1.schema.MetadataCallsOrBuilder> callsBuilder_;
/**
* .xyz.block.ftl.v1.schema.MetadataCalls calls = 1;
* @return Whether the calls field is set.
*/
@java.lang.Override
public boolean hasCalls() {
return valueCase_ == 1;
}
/**
* .xyz.block.ftl.v1.schema.MetadataCalls calls = 1;
* @return The calls.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataCalls getCalls() {
if (callsBuilder_ == null) {
if (valueCase_ == 1) {
return (xyz.block.ftl.v1.schema.MetadataCalls) value_;
}
return xyz.block.ftl.v1.schema.MetadataCalls.getDefaultInstance();
} else {
if (valueCase_ == 1) {
return callsBuilder_.getMessage();
}
return xyz.block.ftl.v1.schema.MetadataCalls.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataCalls calls = 1;
*/
public Builder setCalls(xyz.block.ftl.v1.schema.MetadataCalls value) {
if (callsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
callsBuilder_.setMessage(value);
}
valueCase_ = 1;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataCalls calls = 1;
*/
public Builder setCalls(
xyz.block.ftl.v1.schema.MetadataCalls.Builder builderForValue) {
if (callsBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
callsBuilder_.setMessage(builderForValue.build());
}
valueCase_ = 1;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataCalls calls = 1;
*/
public Builder mergeCalls(xyz.block.ftl.v1.schema.MetadataCalls value) {
if (callsBuilder_ == null) {
if (valueCase_ == 1 &&
value_ != xyz.block.ftl.v1.schema.MetadataCalls.getDefaultInstance()) {
value_ = xyz.block.ftl.v1.schema.MetadataCalls.newBuilder((xyz.block.ftl.v1.schema.MetadataCalls) value_)
.mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
if (valueCase_ == 1) {
callsBuilder_.mergeFrom(value);
} else {
callsBuilder_.setMessage(value);
}
}
valueCase_ = 1;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataCalls calls = 1;
*/
public Builder clearCalls() {
if (callsBuilder_ == null) {
if (valueCase_ == 1) {
valueCase_ = 0;
value_ = null;
onChanged();
}
} else {
if (valueCase_ == 1) {
valueCase_ = 0;
value_ = null;
}
callsBuilder_.clear();
}
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataCalls calls = 1;
*/
public xyz.block.ftl.v1.schema.MetadataCalls.Builder getCallsBuilder() {
return getCallsFieldBuilder().getBuilder();
}
/**
* .xyz.block.ftl.v1.schema.MetadataCalls calls = 1;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataCallsOrBuilder getCallsOrBuilder() {
if ((valueCase_ == 1) && (callsBuilder_ != null)) {
return callsBuilder_.getMessageOrBuilder();
} else {
if (valueCase_ == 1) {
return (xyz.block.ftl.v1.schema.MetadataCalls) value_;
}
return xyz.block.ftl.v1.schema.MetadataCalls.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataCalls calls = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataCalls, xyz.block.ftl.v1.schema.MetadataCalls.Builder, xyz.block.ftl.v1.schema.MetadataCallsOrBuilder>
getCallsFieldBuilder() {
if (callsBuilder_ == null) {
if (!(valueCase_ == 1)) {
value_ = xyz.block.ftl.v1.schema.MetadataCalls.getDefaultInstance();
}
callsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataCalls, xyz.block.ftl.v1.schema.MetadataCalls.Builder, xyz.block.ftl.v1.schema.MetadataCallsOrBuilder>(
(xyz.block.ftl.v1.schema.MetadataCalls) value_,
getParentForChildren(),
isClean());
value_ = null;
}
valueCase_ = 1;
onChanged();
return callsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataConfig, xyz.block.ftl.v1.schema.MetadataConfig.Builder, xyz.block.ftl.v1.schema.MetadataConfigOrBuilder> configBuilder_;
/**
* .xyz.block.ftl.v1.schema.MetadataConfig config = 10;
* @return Whether the config field is set.
*/
@java.lang.Override
public boolean hasConfig() {
return valueCase_ == 10;
}
/**
* .xyz.block.ftl.v1.schema.MetadataConfig config = 10;
* @return The config.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataConfig getConfig() {
if (configBuilder_ == null) {
if (valueCase_ == 10) {
return (xyz.block.ftl.v1.schema.MetadataConfig) value_;
}
return xyz.block.ftl.v1.schema.MetadataConfig.getDefaultInstance();
} else {
if (valueCase_ == 10) {
return configBuilder_.getMessage();
}
return xyz.block.ftl.v1.schema.MetadataConfig.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataConfig config = 10;
*/
public Builder setConfig(xyz.block.ftl.v1.schema.MetadataConfig value) {
if (configBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
configBuilder_.setMessage(value);
}
valueCase_ = 10;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataConfig config = 10;
*/
public Builder setConfig(
xyz.block.ftl.v1.schema.MetadataConfig.Builder builderForValue) {
if (configBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
configBuilder_.setMessage(builderForValue.build());
}
valueCase_ = 10;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataConfig config = 10;
*/
public Builder mergeConfig(xyz.block.ftl.v1.schema.MetadataConfig value) {
if (configBuilder_ == null) {
if (valueCase_ == 10 &&
value_ != xyz.block.ftl.v1.schema.MetadataConfig.getDefaultInstance()) {
value_ = xyz.block.ftl.v1.schema.MetadataConfig.newBuilder((xyz.block.ftl.v1.schema.MetadataConfig) value_)
.mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
if (valueCase_ == 10) {
configBuilder_.mergeFrom(value);
} else {
configBuilder_.setMessage(value);
}
}
valueCase_ = 10;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataConfig config = 10;
*/
public Builder clearConfig() {
if (configBuilder_ == null) {
if (valueCase_ == 10) {
valueCase_ = 0;
value_ = null;
onChanged();
}
} else {
if (valueCase_ == 10) {
valueCase_ = 0;
value_ = null;
}
configBuilder_.clear();
}
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataConfig config = 10;
*/
public xyz.block.ftl.v1.schema.MetadataConfig.Builder getConfigBuilder() {
return getConfigFieldBuilder().getBuilder();
}
/**
* .xyz.block.ftl.v1.schema.MetadataConfig config = 10;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataConfigOrBuilder getConfigOrBuilder() {
if ((valueCase_ == 10) && (configBuilder_ != null)) {
return configBuilder_.getMessageOrBuilder();
} else {
if (valueCase_ == 10) {
return (xyz.block.ftl.v1.schema.MetadataConfig) value_;
}
return xyz.block.ftl.v1.schema.MetadataConfig.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataConfig config = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataConfig, xyz.block.ftl.v1.schema.MetadataConfig.Builder, xyz.block.ftl.v1.schema.MetadataConfigOrBuilder>
getConfigFieldBuilder() {
if (configBuilder_ == null) {
if (!(valueCase_ == 10)) {
value_ = xyz.block.ftl.v1.schema.MetadataConfig.getDefaultInstance();
}
configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataConfig, xyz.block.ftl.v1.schema.MetadataConfig.Builder, xyz.block.ftl.v1.schema.MetadataConfigOrBuilder>(
(xyz.block.ftl.v1.schema.MetadataConfig) value_,
getParentForChildren(),
isClean());
value_ = null;
}
valueCase_ = 10;
onChanged();
return configBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataCronJob, xyz.block.ftl.v1.schema.MetadataCronJob.Builder, xyz.block.ftl.v1.schema.MetadataCronJobOrBuilder> cronJobBuilder_;
/**
* .xyz.block.ftl.v1.schema.MetadataCronJob cron_job = 3;
* @return Whether the cronJob field is set.
*/
@java.lang.Override
public boolean hasCronJob() {
return valueCase_ == 3;
}
/**
* .xyz.block.ftl.v1.schema.MetadataCronJob cron_job = 3;
* @return The cronJob.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataCronJob getCronJob() {
if (cronJobBuilder_ == null) {
if (valueCase_ == 3) {
return (xyz.block.ftl.v1.schema.MetadataCronJob) value_;
}
return xyz.block.ftl.v1.schema.MetadataCronJob.getDefaultInstance();
} else {
if (valueCase_ == 3) {
return cronJobBuilder_.getMessage();
}
return xyz.block.ftl.v1.schema.MetadataCronJob.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataCronJob cron_job = 3;
*/
public Builder setCronJob(xyz.block.ftl.v1.schema.MetadataCronJob value) {
if (cronJobBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
cronJobBuilder_.setMessage(value);
}
valueCase_ = 3;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataCronJob cron_job = 3;
*/
public Builder setCronJob(
xyz.block.ftl.v1.schema.MetadataCronJob.Builder builderForValue) {
if (cronJobBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
cronJobBuilder_.setMessage(builderForValue.build());
}
valueCase_ = 3;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataCronJob cron_job = 3;
*/
public Builder mergeCronJob(xyz.block.ftl.v1.schema.MetadataCronJob value) {
if (cronJobBuilder_ == null) {
if (valueCase_ == 3 &&
value_ != xyz.block.ftl.v1.schema.MetadataCronJob.getDefaultInstance()) {
value_ = xyz.block.ftl.v1.schema.MetadataCronJob.newBuilder((xyz.block.ftl.v1.schema.MetadataCronJob) value_)
.mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
if (valueCase_ == 3) {
cronJobBuilder_.mergeFrom(value);
} else {
cronJobBuilder_.setMessage(value);
}
}
valueCase_ = 3;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataCronJob cron_job = 3;
*/
public Builder clearCronJob() {
if (cronJobBuilder_ == null) {
if (valueCase_ == 3) {
valueCase_ = 0;
value_ = null;
onChanged();
}
} else {
if (valueCase_ == 3) {
valueCase_ = 0;
value_ = null;
}
cronJobBuilder_.clear();
}
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataCronJob cron_job = 3;
*/
public xyz.block.ftl.v1.schema.MetadataCronJob.Builder getCronJobBuilder() {
return getCronJobFieldBuilder().getBuilder();
}
/**
* .xyz.block.ftl.v1.schema.MetadataCronJob cron_job = 3;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataCronJobOrBuilder getCronJobOrBuilder() {
if ((valueCase_ == 3) && (cronJobBuilder_ != null)) {
return cronJobBuilder_.getMessageOrBuilder();
} else {
if (valueCase_ == 3) {
return (xyz.block.ftl.v1.schema.MetadataCronJob) value_;
}
return xyz.block.ftl.v1.schema.MetadataCronJob.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataCronJob cron_job = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataCronJob, xyz.block.ftl.v1.schema.MetadataCronJob.Builder, xyz.block.ftl.v1.schema.MetadataCronJobOrBuilder>
getCronJobFieldBuilder() {
if (cronJobBuilder_ == null) {
if (!(valueCase_ == 3)) {
value_ = xyz.block.ftl.v1.schema.MetadataCronJob.getDefaultInstance();
}
cronJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataCronJob, xyz.block.ftl.v1.schema.MetadataCronJob.Builder, xyz.block.ftl.v1.schema.MetadataCronJobOrBuilder>(
(xyz.block.ftl.v1.schema.MetadataCronJob) value_,
getParentForChildren(),
isClean());
value_ = null;
}
valueCase_ = 3;
onChanged();
return cronJobBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataDatabases, xyz.block.ftl.v1.schema.MetadataDatabases.Builder, xyz.block.ftl.v1.schema.MetadataDatabasesOrBuilder> databasesBuilder_;
/**
* .xyz.block.ftl.v1.schema.MetadataDatabases databases = 4;
* @return Whether the databases field is set.
*/
@java.lang.Override
public boolean hasDatabases() {
return valueCase_ == 4;
}
/**
* .xyz.block.ftl.v1.schema.MetadataDatabases databases = 4;
* @return The databases.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataDatabases getDatabases() {
if (databasesBuilder_ == null) {
if (valueCase_ == 4) {
return (xyz.block.ftl.v1.schema.MetadataDatabases) value_;
}
return xyz.block.ftl.v1.schema.MetadataDatabases.getDefaultInstance();
} else {
if (valueCase_ == 4) {
return databasesBuilder_.getMessage();
}
return xyz.block.ftl.v1.schema.MetadataDatabases.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataDatabases databases = 4;
*/
public Builder setDatabases(xyz.block.ftl.v1.schema.MetadataDatabases value) {
if (databasesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
databasesBuilder_.setMessage(value);
}
valueCase_ = 4;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataDatabases databases = 4;
*/
public Builder setDatabases(
xyz.block.ftl.v1.schema.MetadataDatabases.Builder builderForValue) {
if (databasesBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
databasesBuilder_.setMessage(builderForValue.build());
}
valueCase_ = 4;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataDatabases databases = 4;
*/
public Builder mergeDatabases(xyz.block.ftl.v1.schema.MetadataDatabases value) {
if (databasesBuilder_ == null) {
if (valueCase_ == 4 &&
value_ != xyz.block.ftl.v1.schema.MetadataDatabases.getDefaultInstance()) {
value_ = xyz.block.ftl.v1.schema.MetadataDatabases.newBuilder((xyz.block.ftl.v1.schema.MetadataDatabases) value_)
.mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
if (valueCase_ == 4) {
databasesBuilder_.mergeFrom(value);
} else {
databasesBuilder_.setMessage(value);
}
}
valueCase_ = 4;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataDatabases databases = 4;
*/
public Builder clearDatabases() {
if (databasesBuilder_ == null) {
if (valueCase_ == 4) {
valueCase_ = 0;
value_ = null;
onChanged();
}
} else {
if (valueCase_ == 4) {
valueCase_ = 0;
value_ = null;
}
databasesBuilder_.clear();
}
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataDatabases databases = 4;
*/
public xyz.block.ftl.v1.schema.MetadataDatabases.Builder getDatabasesBuilder() {
return getDatabasesFieldBuilder().getBuilder();
}
/**
* .xyz.block.ftl.v1.schema.MetadataDatabases databases = 4;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataDatabasesOrBuilder getDatabasesOrBuilder() {
if ((valueCase_ == 4) && (databasesBuilder_ != null)) {
return databasesBuilder_.getMessageOrBuilder();
} else {
if (valueCase_ == 4) {
return (xyz.block.ftl.v1.schema.MetadataDatabases) value_;
}
return xyz.block.ftl.v1.schema.MetadataDatabases.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataDatabases databases = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataDatabases, xyz.block.ftl.v1.schema.MetadataDatabases.Builder, xyz.block.ftl.v1.schema.MetadataDatabasesOrBuilder>
getDatabasesFieldBuilder() {
if (databasesBuilder_ == null) {
if (!(valueCase_ == 4)) {
value_ = xyz.block.ftl.v1.schema.MetadataDatabases.getDefaultInstance();
}
databasesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataDatabases, xyz.block.ftl.v1.schema.MetadataDatabases.Builder, xyz.block.ftl.v1.schema.MetadataDatabasesOrBuilder>(
(xyz.block.ftl.v1.schema.MetadataDatabases) value_,
getParentForChildren(),
isClean());
value_ = null;
}
valueCase_ = 4;
onChanged();
return databasesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataEncoding, xyz.block.ftl.v1.schema.MetadataEncoding.Builder, xyz.block.ftl.v1.schema.MetadataEncodingOrBuilder> encodingBuilder_;
/**
* .xyz.block.ftl.v1.schema.MetadataEncoding encoding = 9;
* @return Whether the encoding field is set.
*/
@java.lang.Override
public boolean hasEncoding() {
return valueCase_ == 9;
}
/**
* .xyz.block.ftl.v1.schema.MetadataEncoding encoding = 9;
* @return The encoding.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataEncoding getEncoding() {
if (encodingBuilder_ == null) {
if (valueCase_ == 9) {
return (xyz.block.ftl.v1.schema.MetadataEncoding) value_;
}
return xyz.block.ftl.v1.schema.MetadataEncoding.getDefaultInstance();
} else {
if (valueCase_ == 9) {
return encodingBuilder_.getMessage();
}
return xyz.block.ftl.v1.schema.MetadataEncoding.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataEncoding encoding = 9;
*/
public Builder setEncoding(xyz.block.ftl.v1.schema.MetadataEncoding value) {
if (encodingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
encodingBuilder_.setMessage(value);
}
valueCase_ = 9;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataEncoding encoding = 9;
*/
public Builder setEncoding(
xyz.block.ftl.v1.schema.MetadataEncoding.Builder builderForValue) {
if (encodingBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
encodingBuilder_.setMessage(builderForValue.build());
}
valueCase_ = 9;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataEncoding encoding = 9;
*/
public Builder mergeEncoding(xyz.block.ftl.v1.schema.MetadataEncoding value) {
if (encodingBuilder_ == null) {
if (valueCase_ == 9 &&
value_ != xyz.block.ftl.v1.schema.MetadataEncoding.getDefaultInstance()) {
value_ = xyz.block.ftl.v1.schema.MetadataEncoding.newBuilder((xyz.block.ftl.v1.schema.MetadataEncoding) value_)
.mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
if (valueCase_ == 9) {
encodingBuilder_.mergeFrom(value);
} else {
encodingBuilder_.setMessage(value);
}
}
valueCase_ = 9;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataEncoding encoding = 9;
*/
public Builder clearEncoding() {
if (encodingBuilder_ == null) {
if (valueCase_ == 9) {
valueCase_ = 0;
value_ = null;
onChanged();
}
} else {
if (valueCase_ == 9) {
valueCase_ = 0;
value_ = null;
}
encodingBuilder_.clear();
}
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataEncoding encoding = 9;
*/
public xyz.block.ftl.v1.schema.MetadataEncoding.Builder getEncodingBuilder() {
return getEncodingFieldBuilder().getBuilder();
}
/**
* .xyz.block.ftl.v1.schema.MetadataEncoding encoding = 9;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataEncodingOrBuilder getEncodingOrBuilder() {
if ((valueCase_ == 9) && (encodingBuilder_ != null)) {
return encodingBuilder_.getMessageOrBuilder();
} else {
if (valueCase_ == 9) {
return (xyz.block.ftl.v1.schema.MetadataEncoding) value_;
}
return xyz.block.ftl.v1.schema.MetadataEncoding.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataEncoding encoding = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataEncoding, xyz.block.ftl.v1.schema.MetadataEncoding.Builder, xyz.block.ftl.v1.schema.MetadataEncodingOrBuilder>
getEncodingFieldBuilder() {
if (encodingBuilder_ == null) {
if (!(valueCase_ == 9)) {
value_ = xyz.block.ftl.v1.schema.MetadataEncoding.getDefaultInstance();
}
encodingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataEncoding, xyz.block.ftl.v1.schema.MetadataEncoding.Builder, xyz.block.ftl.v1.schema.MetadataEncodingOrBuilder>(
(xyz.block.ftl.v1.schema.MetadataEncoding) value_,
getParentForChildren(),
isClean());
value_ = null;
}
valueCase_ = 9;
onChanged();
return encodingBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataIngress, xyz.block.ftl.v1.schema.MetadataIngress.Builder, xyz.block.ftl.v1.schema.MetadataIngressOrBuilder> ingressBuilder_;
/**
* .xyz.block.ftl.v1.schema.MetadataIngress ingress = 2;
* @return Whether the ingress field is set.
*/
@java.lang.Override
public boolean hasIngress() {
return valueCase_ == 2;
}
/**
* .xyz.block.ftl.v1.schema.MetadataIngress ingress = 2;
* @return The ingress.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataIngress getIngress() {
if (ingressBuilder_ == null) {
if (valueCase_ == 2) {
return (xyz.block.ftl.v1.schema.MetadataIngress) value_;
}
return xyz.block.ftl.v1.schema.MetadataIngress.getDefaultInstance();
} else {
if (valueCase_ == 2) {
return ingressBuilder_.getMessage();
}
return xyz.block.ftl.v1.schema.MetadataIngress.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataIngress ingress = 2;
*/
public Builder setIngress(xyz.block.ftl.v1.schema.MetadataIngress value) {
if (ingressBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
ingressBuilder_.setMessage(value);
}
valueCase_ = 2;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataIngress ingress = 2;
*/
public Builder setIngress(
xyz.block.ftl.v1.schema.MetadataIngress.Builder builderForValue) {
if (ingressBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
ingressBuilder_.setMessage(builderForValue.build());
}
valueCase_ = 2;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataIngress ingress = 2;
*/
public Builder mergeIngress(xyz.block.ftl.v1.schema.MetadataIngress value) {
if (ingressBuilder_ == null) {
if (valueCase_ == 2 &&
value_ != xyz.block.ftl.v1.schema.MetadataIngress.getDefaultInstance()) {
value_ = xyz.block.ftl.v1.schema.MetadataIngress.newBuilder((xyz.block.ftl.v1.schema.MetadataIngress) value_)
.mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
if (valueCase_ == 2) {
ingressBuilder_.mergeFrom(value);
} else {
ingressBuilder_.setMessage(value);
}
}
valueCase_ = 2;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataIngress ingress = 2;
*/
public Builder clearIngress() {
if (ingressBuilder_ == null) {
if (valueCase_ == 2) {
valueCase_ = 0;
value_ = null;
onChanged();
}
} else {
if (valueCase_ == 2) {
valueCase_ = 0;
value_ = null;
}
ingressBuilder_.clear();
}
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataIngress ingress = 2;
*/
public xyz.block.ftl.v1.schema.MetadataIngress.Builder getIngressBuilder() {
return getIngressFieldBuilder().getBuilder();
}
/**
* .xyz.block.ftl.v1.schema.MetadataIngress ingress = 2;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataIngressOrBuilder getIngressOrBuilder() {
if ((valueCase_ == 2) && (ingressBuilder_ != null)) {
return ingressBuilder_.getMessageOrBuilder();
} else {
if (valueCase_ == 2) {
return (xyz.block.ftl.v1.schema.MetadataIngress) value_;
}
return xyz.block.ftl.v1.schema.MetadataIngress.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataIngress ingress = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataIngress, xyz.block.ftl.v1.schema.MetadataIngress.Builder, xyz.block.ftl.v1.schema.MetadataIngressOrBuilder>
getIngressFieldBuilder() {
if (ingressBuilder_ == null) {
if (!(valueCase_ == 2)) {
value_ = xyz.block.ftl.v1.schema.MetadataIngress.getDefaultInstance();
}
ingressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataIngress, xyz.block.ftl.v1.schema.MetadataIngress.Builder, xyz.block.ftl.v1.schema.MetadataIngressOrBuilder>(
(xyz.block.ftl.v1.schema.MetadataIngress) value_,
getParentForChildren(),
isClean());
value_ = null;
}
valueCase_ = 2;
onChanged();
return ingressBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataRetry, xyz.block.ftl.v1.schema.MetadataRetry.Builder, xyz.block.ftl.v1.schema.MetadataRetryOrBuilder> retryBuilder_;
/**
* .xyz.block.ftl.v1.schema.MetadataRetry retry = 6;
* @return Whether the retry field is set.
*/
@java.lang.Override
public boolean hasRetry() {
return valueCase_ == 6;
}
/**
* .xyz.block.ftl.v1.schema.MetadataRetry retry = 6;
* @return The retry.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataRetry getRetry() {
if (retryBuilder_ == null) {
if (valueCase_ == 6) {
return (xyz.block.ftl.v1.schema.MetadataRetry) value_;
}
return xyz.block.ftl.v1.schema.MetadataRetry.getDefaultInstance();
} else {
if (valueCase_ == 6) {
return retryBuilder_.getMessage();
}
return xyz.block.ftl.v1.schema.MetadataRetry.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataRetry retry = 6;
*/
public Builder setRetry(xyz.block.ftl.v1.schema.MetadataRetry value) {
if (retryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
retryBuilder_.setMessage(value);
}
valueCase_ = 6;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataRetry retry = 6;
*/
public Builder setRetry(
xyz.block.ftl.v1.schema.MetadataRetry.Builder builderForValue) {
if (retryBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
retryBuilder_.setMessage(builderForValue.build());
}
valueCase_ = 6;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataRetry retry = 6;
*/
public Builder mergeRetry(xyz.block.ftl.v1.schema.MetadataRetry value) {
if (retryBuilder_ == null) {
if (valueCase_ == 6 &&
value_ != xyz.block.ftl.v1.schema.MetadataRetry.getDefaultInstance()) {
value_ = xyz.block.ftl.v1.schema.MetadataRetry.newBuilder((xyz.block.ftl.v1.schema.MetadataRetry) value_)
.mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
if (valueCase_ == 6) {
retryBuilder_.mergeFrom(value);
} else {
retryBuilder_.setMessage(value);
}
}
valueCase_ = 6;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataRetry retry = 6;
*/
public Builder clearRetry() {
if (retryBuilder_ == null) {
if (valueCase_ == 6) {
valueCase_ = 0;
value_ = null;
onChanged();
}
} else {
if (valueCase_ == 6) {
valueCase_ = 0;
value_ = null;
}
retryBuilder_.clear();
}
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataRetry retry = 6;
*/
public xyz.block.ftl.v1.schema.MetadataRetry.Builder getRetryBuilder() {
return getRetryFieldBuilder().getBuilder();
}
/**
* .xyz.block.ftl.v1.schema.MetadataRetry retry = 6;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataRetryOrBuilder getRetryOrBuilder() {
if ((valueCase_ == 6) && (retryBuilder_ != null)) {
return retryBuilder_.getMessageOrBuilder();
} else {
if (valueCase_ == 6) {
return (xyz.block.ftl.v1.schema.MetadataRetry) value_;
}
return xyz.block.ftl.v1.schema.MetadataRetry.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataRetry retry = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataRetry, xyz.block.ftl.v1.schema.MetadataRetry.Builder, xyz.block.ftl.v1.schema.MetadataRetryOrBuilder>
getRetryFieldBuilder() {
if (retryBuilder_ == null) {
if (!(valueCase_ == 6)) {
value_ = xyz.block.ftl.v1.schema.MetadataRetry.getDefaultInstance();
}
retryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataRetry, xyz.block.ftl.v1.schema.MetadataRetry.Builder, xyz.block.ftl.v1.schema.MetadataRetryOrBuilder>(
(xyz.block.ftl.v1.schema.MetadataRetry) value_,
getParentForChildren(),
isClean());
value_ = null;
}
valueCase_ = 6;
onChanged();
return retryBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataSecrets, xyz.block.ftl.v1.schema.MetadataSecrets.Builder, xyz.block.ftl.v1.schema.MetadataSecretsOrBuilder> secretsBuilder_;
/**
* .xyz.block.ftl.v1.schema.MetadataSecrets secrets = 11;
* @return Whether the secrets field is set.
*/
@java.lang.Override
public boolean hasSecrets() {
return valueCase_ == 11;
}
/**
* .xyz.block.ftl.v1.schema.MetadataSecrets secrets = 11;
* @return The secrets.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataSecrets getSecrets() {
if (secretsBuilder_ == null) {
if (valueCase_ == 11) {
return (xyz.block.ftl.v1.schema.MetadataSecrets) value_;
}
return xyz.block.ftl.v1.schema.MetadataSecrets.getDefaultInstance();
} else {
if (valueCase_ == 11) {
return secretsBuilder_.getMessage();
}
return xyz.block.ftl.v1.schema.MetadataSecrets.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataSecrets secrets = 11;
*/
public Builder setSecrets(xyz.block.ftl.v1.schema.MetadataSecrets value) {
if (secretsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
secretsBuilder_.setMessage(value);
}
valueCase_ = 11;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataSecrets secrets = 11;
*/
public Builder setSecrets(
xyz.block.ftl.v1.schema.MetadataSecrets.Builder builderForValue) {
if (secretsBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
secretsBuilder_.setMessage(builderForValue.build());
}
valueCase_ = 11;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataSecrets secrets = 11;
*/
public Builder mergeSecrets(xyz.block.ftl.v1.schema.MetadataSecrets value) {
if (secretsBuilder_ == null) {
if (valueCase_ == 11 &&
value_ != xyz.block.ftl.v1.schema.MetadataSecrets.getDefaultInstance()) {
value_ = xyz.block.ftl.v1.schema.MetadataSecrets.newBuilder((xyz.block.ftl.v1.schema.MetadataSecrets) value_)
.mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
if (valueCase_ == 11) {
secretsBuilder_.mergeFrom(value);
} else {
secretsBuilder_.setMessage(value);
}
}
valueCase_ = 11;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataSecrets secrets = 11;
*/
public Builder clearSecrets() {
if (secretsBuilder_ == null) {
if (valueCase_ == 11) {
valueCase_ = 0;
value_ = null;
onChanged();
}
} else {
if (valueCase_ == 11) {
valueCase_ = 0;
value_ = null;
}
secretsBuilder_.clear();
}
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataSecrets secrets = 11;
*/
public xyz.block.ftl.v1.schema.MetadataSecrets.Builder getSecretsBuilder() {
return getSecretsFieldBuilder().getBuilder();
}
/**
* .xyz.block.ftl.v1.schema.MetadataSecrets secrets = 11;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataSecretsOrBuilder getSecretsOrBuilder() {
if ((valueCase_ == 11) && (secretsBuilder_ != null)) {
return secretsBuilder_.getMessageOrBuilder();
} else {
if (valueCase_ == 11) {
return (xyz.block.ftl.v1.schema.MetadataSecrets) value_;
}
return xyz.block.ftl.v1.schema.MetadataSecrets.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataSecrets secrets = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataSecrets, xyz.block.ftl.v1.schema.MetadataSecrets.Builder, xyz.block.ftl.v1.schema.MetadataSecretsOrBuilder>
getSecretsFieldBuilder() {
if (secretsBuilder_ == null) {
if (!(valueCase_ == 11)) {
value_ = xyz.block.ftl.v1.schema.MetadataSecrets.getDefaultInstance();
}
secretsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataSecrets, xyz.block.ftl.v1.schema.MetadataSecrets.Builder, xyz.block.ftl.v1.schema.MetadataSecretsOrBuilder>(
(xyz.block.ftl.v1.schema.MetadataSecrets) value_,
getParentForChildren(),
isClean());
value_ = null;
}
valueCase_ = 11;
onChanged();
return secretsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataSubscriber, xyz.block.ftl.v1.schema.MetadataSubscriber.Builder, xyz.block.ftl.v1.schema.MetadataSubscriberOrBuilder> subscriberBuilder_;
/**
* .xyz.block.ftl.v1.schema.MetadataSubscriber subscriber = 7;
* @return Whether the subscriber field is set.
*/
@java.lang.Override
public boolean hasSubscriber() {
return valueCase_ == 7;
}
/**
* .xyz.block.ftl.v1.schema.MetadataSubscriber subscriber = 7;
* @return The subscriber.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataSubscriber getSubscriber() {
if (subscriberBuilder_ == null) {
if (valueCase_ == 7) {
return (xyz.block.ftl.v1.schema.MetadataSubscriber) value_;
}
return xyz.block.ftl.v1.schema.MetadataSubscriber.getDefaultInstance();
} else {
if (valueCase_ == 7) {
return subscriberBuilder_.getMessage();
}
return xyz.block.ftl.v1.schema.MetadataSubscriber.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataSubscriber subscriber = 7;
*/
public Builder setSubscriber(xyz.block.ftl.v1.schema.MetadataSubscriber value) {
if (subscriberBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
subscriberBuilder_.setMessage(value);
}
valueCase_ = 7;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataSubscriber subscriber = 7;
*/
public Builder setSubscriber(
xyz.block.ftl.v1.schema.MetadataSubscriber.Builder builderForValue) {
if (subscriberBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
subscriberBuilder_.setMessage(builderForValue.build());
}
valueCase_ = 7;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataSubscriber subscriber = 7;
*/
public Builder mergeSubscriber(xyz.block.ftl.v1.schema.MetadataSubscriber value) {
if (subscriberBuilder_ == null) {
if (valueCase_ == 7 &&
value_ != xyz.block.ftl.v1.schema.MetadataSubscriber.getDefaultInstance()) {
value_ = xyz.block.ftl.v1.schema.MetadataSubscriber.newBuilder((xyz.block.ftl.v1.schema.MetadataSubscriber) value_)
.mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
if (valueCase_ == 7) {
subscriberBuilder_.mergeFrom(value);
} else {
subscriberBuilder_.setMessage(value);
}
}
valueCase_ = 7;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataSubscriber subscriber = 7;
*/
public Builder clearSubscriber() {
if (subscriberBuilder_ == null) {
if (valueCase_ == 7) {
valueCase_ = 0;
value_ = null;
onChanged();
}
} else {
if (valueCase_ == 7) {
valueCase_ = 0;
value_ = null;
}
subscriberBuilder_.clear();
}
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataSubscriber subscriber = 7;
*/
public xyz.block.ftl.v1.schema.MetadataSubscriber.Builder getSubscriberBuilder() {
return getSubscriberFieldBuilder().getBuilder();
}
/**
* .xyz.block.ftl.v1.schema.MetadataSubscriber subscriber = 7;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataSubscriberOrBuilder getSubscriberOrBuilder() {
if ((valueCase_ == 7) && (subscriberBuilder_ != null)) {
return subscriberBuilder_.getMessageOrBuilder();
} else {
if (valueCase_ == 7) {
return (xyz.block.ftl.v1.schema.MetadataSubscriber) value_;
}
return xyz.block.ftl.v1.schema.MetadataSubscriber.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataSubscriber subscriber = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataSubscriber, xyz.block.ftl.v1.schema.MetadataSubscriber.Builder, xyz.block.ftl.v1.schema.MetadataSubscriberOrBuilder>
getSubscriberFieldBuilder() {
if (subscriberBuilder_ == null) {
if (!(valueCase_ == 7)) {
value_ = xyz.block.ftl.v1.schema.MetadataSubscriber.getDefaultInstance();
}
subscriberBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataSubscriber, xyz.block.ftl.v1.schema.MetadataSubscriber.Builder, xyz.block.ftl.v1.schema.MetadataSubscriberOrBuilder>(
(xyz.block.ftl.v1.schema.MetadataSubscriber) value_,
getParentForChildren(),
isClean());
value_ = null;
}
valueCase_ = 7;
onChanged();
return subscriberBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataTypeMap, xyz.block.ftl.v1.schema.MetadataTypeMap.Builder, xyz.block.ftl.v1.schema.MetadataTypeMapOrBuilder> typeMapBuilder_;
/**
* .xyz.block.ftl.v1.schema.MetadataTypeMap type_map = 8;
* @return Whether the typeMap field is set.
*/
@java.lang.Override
public boolean hasTypeMap() {
return valueCase_ == 8;
}
/**
* .xyz.block.ftl.v1.schema.MetadataTypeMap type_map = 8;
* @return The typeMap.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataTypeMap getTypeMap() {
if (typeMapBuilder_ == null) {
if (valueCase_ == 8) {
return (xyz.block.ftl.v1.schema.MetadataTypeMap) value_;
}
return xyz.block.ftl.v1.schema.MetadataTypeMap.getDefaultInstance();
} else {
if (valueCase_ == 8) {
return typeMapBuilder_.getMessage();
}
return xyz.block.ftl.v1.schema.MetadataTypeMap.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataTypeMap type_map = 8;
*/
public Builder setTypeMap(xyz.block.ftl.v1.schema.MetadataTypeMap value) {
if (typeMapBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
typeMapBuilder_.setMessage(value);
}
valueCase_ = 8;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataTypeMap type_map = 8;
*/
public Builder setTypeMap(
xyz.block.ftl.v1.schema.MetadataTypeMap.Builder builderForValue) {
if (typeMapBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
typeMapBuilder_.setMessage(builderForValue.build());
}
valueCase_ = 8;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataTypeMap type_map = 8;
*/
public Builder mergeTypeMap(xyz.block.ftl.v1.schema.MetadataTypeMap value) {
if (typeMapBuilder_ == null) {
if (valueCase_ == 8 &&
value_ != xyz.block.ftl.v1.schema.MetadataTypeMap.getDefaultInstance()) {
value_ = xyz.block.ftl.v1.schema.MetadataTypeMap.newBuilder((xyz.block.ftl.v1.schema.MetadataTypeMap) value_)
.mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
if (valueCase_ == 8) {
typeMapBuilder_.mergeFrom(value);
} else {
typeMapBuilder_.setMessage(value);
}
}
valueCase_ = 8;
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataTypeMap type_map = 8;
*/
public Builder clearTypeMap() {
if (typeMapBuilder_ == null) {
if (valueCase_ == 8) {
valueCase_ = 0;
value_ = null;
onChanged();
}
} else {
if (valueCase_ == 8) {
valueCase_ = 0;
value_ = null;
}
typeMapBuilder_.clear();
}
return this;
}
/**
* .xyz.block.ftl.v1.schema.MetadataTypeMap type_map = 8;
*/
public xyz.block.ftl.v1.schema.MetadataTypeMap.Builder getTypeMapBuilder() {
return getTypeMapFieldBuilder().getBuilder();
}
/**
* .xyz.block.ftl.v1.schema.MetadataTypeMap type_map = 8;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.MetadataTypeMapOrBuilder getTypeMapOrBuilder() {
if ((valueCase_ == 8) && (typeMapBuilder_ != null)) {
return typeMapBuilder_.getMessageOrBuilder();
} else {
if (valueCase_ == 8) {
return (xyz.block.ftl.v1.schema.MetadataTypeMap) value_;
}
return xyz.block.ftl.v1.schema.MetadataTypeMap.getDefaultInstance();
}
}
/**
* .xyz.block.ftl.v1.schema.MetadataTypeMap type_map = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataTypeMap, xyz.block.ftl.v1.schema.MetadataTypeMap.Builder, xyz.block.ftl.v1.schema.MetadataTypeMapOrBuilder>
getTypeMapFieldBuilder() {
if (typeMapBuilder_ == null) {
if (!(valueCase_ == 8)) {
value_ = xyz.block.ftl.v1.schema.MetadataTypeMap.getDefaultInstance();
}
typeMapBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.MetadataTypeMap, xyz.block.ftl.v1.schema.MetadataTypeMap.Builder, xyz.block.ftl.v1.schema.MetadataTypeMapOrBuilder>(
(xyz.block.ftl.v1.schema.MetadataTypeMap) value_,
getParentForChildren(),
isClean());
value_ = null;
}
valueCase_ = 8;
onChanged();
return typeMapBuilder_;
}
@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:xyz.block.ftl.v1.schema.Metadata)
}
// @@protoc_insertion_point(class_scope:xyz.block.ftl.v1.schema.Metadata)
private static final xyz.block.ftl.v1.schema.Metadata DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new xyz.block.ftl.v1.schema.Metadata();
}
public static xyz.block.ftl.v1.schema.Metadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Metadata 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 xyz.block.ftl.v1.schema.Metadata getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy