com.authzed.api.v1.SchemaServiceOuterClass Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: authzed/api/v1/schema_service.proto
package com.authzed.api.v1;
public final class SchemaServiceOuterClass {
private SchemaServiceOuterClass() {}
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 ReadSchemaRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:authzed.api.v1.ReadSchemaRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* ReadSchemaRequest returns the schema from the database.
*
*
* Protobuf type {@code authzed.api.v1.ReadSchemaRequest}
*/
public static final class ReadSchemaRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:authzed.api.v1.ReadSchemaRequest)
ReadSchemaRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ReadSchemaRequest.newBuilder() to construct.
private ReadSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ReadSchemaRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ReadSchemaRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_ReadSchemaRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_ReadSchemaRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest.class, com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest.Builder.class);
}
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 {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest)) {
return super.equals(obj);
}
com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest other = (com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest) obj;
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 = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest 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.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest 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.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest 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.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest 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;
}
/**
*
* ReadSchemaRequest returns the schema from the database.
*
*
* Protobuf type {@code authzed.api.v1.ReadSchemaRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:authzed.api.v1.ReadSchemaRequest)
com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_ReadSchemaRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_ReadSchemaRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest.class, com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest.Builder.class);
}
// Construct using com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_ReadSchemaRequest_descriptor;
}
@java.lang.Override
public com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest getDefaultInstanceForType() {
return com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest.getDefaultInstance();
}
@java.lang.Override
public com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest build() {
com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest buildPartial() {
com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest result = new com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest) {
return mergeFrom((com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest other) {
if (other == com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest.getDefaultInstance()) return this;
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;
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;
}
@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:authzed.api.v1.ReadSchemaRequest)
}
// @@protoc_insertion_point(class_scope:authzed.api.v1.ReadSchemaRequest)
private static final com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest();
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ReadSchemaRequest 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.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ReadSchemaResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:authzed.api.v1.ReadSchemaResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* schema_text is the textual form of the current schema in the system
*
*
* string schema_text = 1;
* @return The schemaText.
*/
java.lang.String getSchemaText();
/**
*
* schema_text is the textual form of the current schema in the system
*
*
* string schema_text = 1;
* @return The bytes for schemaText.
*/
com.google.protobuf.ByteString
getSchemaTextBytes();
}
/**
*
* ReadSchemaResponse is the resulting data after having read the Object
* Definitions from a Schema.
*
*
* Protobuf type {@code authzed.api.v1.ReadSchemaResponse}
*/
public static final class ReadSchemaResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:authzed.api.v1.ReadSchemaResponse)
ReadSchemaResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ReadSchemaResponse.newBuilder() to construct.
private ReadSchemaResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ReadSchemaResponse() {
schemaText_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ReadSchemaResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_ReadSchemaResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_ReadSchemaResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse.class, com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse.Builder.class);
}
public static final int SCHEMA_TEXT_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object schemaText_ = "";
/**
*
* schema_text is the textual form of the current schema in the system
*
*
* string schema_text = 1;
* @return The schemaText.
*/
@java.lang.Override
public java.lang.String getSchemaText() {
java.lang.Object ref = schemaText_;
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();
schemaText_ = s;
return s;
}
}
/**
*
* schema_text is the textual form of the current schema in the system
*
*
* string schema_text = 1;
* @return The bytes for schemaText.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSchemaTextBytes() {
java.lang.Object ref = schemaText_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
schemaText_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaText_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schemaText_);
}
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(schemaText_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schemaText_);
}
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.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse)) {
return super.equals(obj);
}
com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse other = (com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse) obj;
if (!getSchemaText()
.equals(other.getSchemaText())) 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) + SCHEMA_TEXT_FIELD_NUMBER;
hash = (53 * hash) + getSchemaText().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse 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.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse 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.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse 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.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse 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;
}
/**
*
* ReadSchemaResponse is the resulting data after having read the Object
* Definitions from a Schema.
*
*
* Protobuf type {@code authzed.api.v1.ReadSchemaResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:authzed.api.v1.ReadSchemaResponse)
com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_ReadSchemaResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_ReadSchemaResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse.class, com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse.Builder.class);
}
// Construct using com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
schemaText_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_ReadSchemaResponse_descriptor;
}
@java.lang.Override
public com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse getDefaultInstanceForType() {
return com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse.getDefaultInstance();
}
@java.lang.Override
public com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse build() {
com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse buildPartial() {
com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse result = new com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.schemaText_ = schemaText_;
}
}
@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.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse) {
return mergeFrom((com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse other) {
if (other == com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse.getDefaultInstance()) return this;
if (!other.getSchemaText().isEmpty()) {
schemaText_ = other.schemaText_;
bitField0_ |= 0x00000001;
onChanged();
}
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: {
schemaText_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object schemaText_ = "";
/**
*
* schema_text is the textual form of the current schema in the system
*
*
* string schema_text = 1;
* @return The schemaText.
*/
public java.lang.String getSchemaText() {
java.lang.Object ref = schemaText_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
schemaText_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* schema_text is the textual form of the current schema in the system
*
*
* string schema_text = 1;
* @return The bytes for schemaText.
*/
public com.google.protobuf.ByteString
getSchemaTextBytes() {
java.lang.Object ref = schemaText_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
schemaText_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* schema_text is the textual form of the current schema in the system
*
*
* string schema_text = 1;
* @param value The schemaText to set.
* @return This builder for chaining.
*/
public Builder setSchemaText(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
schemaText_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* schema_text is the textual form of the current schema in the system
*
*
* string schema_text = 1;
* @return This builder for chaining.
*/
public Builder clearSchemaText() {
schemaText_ = getDefaultInstance().getSchemaText();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* schema_text is the textual form of the current schema in the system
*
*
* string schema_text = 1;
* @param value The bytes for schemaText to set.
* @return This builder for chaining.
*/
public Builder setSchemaTextBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
schemaText_ = value;
bitField0_ |= 0x00000001;
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:authzed.api.v1.ReadSchemaResponse)
}
// @@protoc_insertion_point(class_scope:authzed.api.v1.ReadSchemaResponse)
private static final com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse();
}
public static com.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ReadSchemaResponse 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.authzed.api.v1.SchemaServiceOuterClass.ReadSchemaResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WriteSchemaRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:authzed.api.v1.WriteSchemaRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* The Schema containing one or more Object Definitions that will be written
* to the Permissions System.
*
*
* string schema = 1 [(.validate.rules) = { ... }
* @return The schema.
*/
java.lang.String getSchema();
/**
*
* The Schema containing one or more Object Definitions that will be written
* to the Permissions System.
*
*
* string schema = 1 [(.validate.rules) = { ... }
* @return The bytes for schema.
*/
com.google.protobuf.ByteString
getSchemaBytes();
}
/**
*
* WriteSchemaRequest is the required data used to "upsert" the Schema of a
* Permissions System.
*
*
* Protobuf type {@code authzed.api.v1.WriteSchemaRequest}
*/
public static final class WriteSchemaRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:authzed.api.v1.WriteSchemaRequest)
WriteSchemaRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use WriteSchemaRequest.newBuilder() to construct.
private WriteSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WriteSchemaRequest() {
schema_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WriteSchemaRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_WriteSchemaRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_WriteSchemaRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest.class, com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest.Builder.class);
}
public static final int SCHEMA_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object schema_ = "";
/**
*
* The Schema containing one or more Object Definitions that will be written
* to the Permissions System.
*
*
* string schema = 1 [(.validate.rules) = { ... }
* @return The schema.
*/
@java.lang.Override
public java.lang.String getSchema() {
java.lang.Object ref = schema_;
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();
schema_ = s;
return s;
}
}
/**
*
* The Schema containing one or more Object Definitions that will be written
* to the Permissions System.
*
*
* string schema = 1 [(.validate.rules) = { ... }
* @return The bytes for schema.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSchemaBytes() {
java.lang.Object ref = schema_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
schema_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_);
}
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(schema_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schema_);
}
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.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest)) {
return super.equals(obj);
}
com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest other = (com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest) obj;
if (!getSchema()
.equals(other.getSchema())) 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) + SCHEMA_FIELD_NUMBER;
hash = (53 * hash) + getSchema().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest 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.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest 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.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest 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.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest 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;
}
/**
*
* WriteSchemaRequest is the required data used to "upsert" the Schema of a
* Permissions System.
*
*
* Protobuf type {@code authzed.api.v1.WriteSchemaRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:authzed.api.v1.WriteSchemaRequest)
com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_WriteSchemaRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_WriteSchemaRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest.class, com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest.Builder.class);
}
// Construct using com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
schema_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_WriteSchemaRequest_descriptor;
}
@java.lang.Override
public com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest getDefaultInstanceForType() {
return com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest.getDefaultInstance();
}
@java.lang.Override
public com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest build() {
com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest buildPartial() {
com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest result = new com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.schema_ = schema_;
}
}
@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.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest) {
return mergeFrom((com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest other) {
if (other == com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest.getDefaultInstance()) return this;
if (!other.getSchema().isEmpty()) {
schema_ = other.schema_;
bitField0_ |= 0x00000001;
onChanged();
}
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: {
schema_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object schema_ = "";
/**
*
* The Schema containing one or more Object Definitions that will be written
* to the Permissions System.
*
*
* string schema = 1 [(.validate.rules) = { ... }
* @return The schema.
*/
public java.lang.String getSchema() {
java.lang.Object ref = schema_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
schema_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The Schema containing one or more Object Definitions that will be written
* to the Permissions System.
*
*
* string schema = 1 [(.validate.rules) = { ... }
* @return The bytes for schema.
*/
public com.google.protobuf.ByteString
getSchemaBytes() {
java.lang.Object ref = schema_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
schema_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The Schema containing one or more Object Definitions that will be written
* to the Permissions System.
*
*
* string schema = 1 [(.validate.rules) = { ... }
* @param value The schema to set.
* @return This builder for chaining.
*/
public Builder setSchema(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
schema_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The Schema containing one or more Object Definitions that will be written
* to the Permissions System.
*
*
* string schema = 1 [(.validate.rules) = { ... }
* @return This builder for chaining.
*/
public Builder clearSchema() {
schema_ = getDefaultInstance().getSchema();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* The Schema containing one or more Object Definitions that will be written
* to the Permissions System.
*
*
* string schema = 1 [(.validate.rules) = { ... }
* @param value The bytes for schema to set.
* @return This builder for chaining.
*/
public Builder setSchemaBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
schema_ = value;
bitField0_ |= 0x00000001;
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:authzed.api.v1.WriteSchemaRequest)
}
// @@protoc_insertion_point(class_scope:authzed.api.v1.WriteSchemaRequest)
private static final com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest();
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WriteSchemaRequest 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.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WriteSchemaResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:authzed.api.v1.WriteSchemaResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* WriteSchemaResponse is the resulting data after having written a Schema to
* a Permissions System.
*
*
* Protobuf type {@code authzed.api.v1.WriteSchemaResponse}
*/
public static final class WriteSchemaResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:authzed.api.v1.WriteSchemaResponse)
WriteSchemaResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use WriteSchemaResponse.newBuilder() to construct.
private WriteSchemaResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WriteSchemaResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WriteSchemaResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_WriteSchemaResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_WriteSchemaResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse.class, com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse.Builder.class);
}
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 {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse)) {
return super.equals(obj);
}
com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse other = (com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse) obj;
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 = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse 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.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse 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.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse 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.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse 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;
}
/**
*
* WriteSchemaResponse is the resulting data after having written a Schema to
* a Permissions System.
*
*
* Protobuf type {@code authzed.api.v1.WriteSchemaResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:authzed.api.v1.WriteSchemaResponse)
com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_WriteSchemaResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_WriteSchemaResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse.class, com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse.Builder.class);
}
// Construct using com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.authzed.api.v1.SchemaServiceOuterClass.internal_static_authzed_api_v1_WriteSchemaResponse_descriptor;
}
@java.lang.Override
public com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse getDefaultInstanceForType() {
return com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse.getDefaultInstance();
}
@java.lang.Override
public com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse build() {
com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse buildPartial() {
com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse result = new com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse) {
return mergeFrom((com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse other) {
if (other == com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse.getDefaultInstance()) return this;
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;
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;
}
@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:authzed.api.v1.WriteSchemaResponse)
}
// @@protoc_insertion_point(class_scope:authzed.api.v1.WriteSchemaResponse)
private static final com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse();
}
public static com.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WriteSchemaResponse 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.authzed.api.v1.SchemaServiceOuterClass.WriteSchemaResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_authzed_api_v1_ReadSchemaRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_authzed_api_v1_ReadSchemaRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_authzed_api_v1_ReadSchemaResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_authzed_api_v1_ReadSchemaResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_authzed_api_v1_WriteSchemaRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_authzed_api_v1_WriteSchemaRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_authzed_api_v1_WriteSchemaResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_authzed_api_v1_WriteSchemaResponse_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#authzed/api/v1/schema_service.proto\022\016a" +
"uthzed.api.v1\032\034google/api/annotations.pr" +
"oto\032\027validate/validate.proto\"\023\n\021ReadSche" +
"maRequest\")\n\022ReadSchemaResponse\022\023\n\013schem" +
"a_text\030\001 \001(\t\"/\n\022WriteSchemaRequest\022\031\n\006sc" +
"hema\030\001 \001(\tB\t\372B\006r\004(\200\200\020\"\025\n\023WriteSchemaResp" +
"onse2\365\001\n\rSchemaService\022o\n\nReadSchema\022!.a" +
"uthzed.api.v1.ReadSchemaRequest\032\".authze" +
"d.api.v1.ReadSchemaResponse\"\032\202\323\344\223\002\024\"\017/v1" +
"/schema/read:\001*\022s\n\013WriteSchema\022\".authzed" +
".api.v1.WriteSchemaRequest\032#.authzed.api" +
".v1.WriteSchemaResponse\"\033\202\323\344\223\002\025\"\020/v1/sch" +
"ema/write:\001*BH\n\022com.authzed.api.v1Z2gith" +
"ub.com/authzed/authzed-go/proto/authzed/" +
"api/v1b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
io.envoyproxy.pgv.validate.Validate.getDescriptor(),
});
internal_static_authzed_api_v1_ReadSchemaRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_authzed_api_v1_ReadSchemaRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_authzed_api_v1_ReadSchemaRequest_descriptor,
new java.lang.String[] { });
internal_static_authzed_api_v1_ReadSchemaResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_authzed_api_v1_ReadSchemaResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_authzed_api_v1_ReadSchemaResponse_descriptor,
new java.lang.String[] { "SchemaText", });
internal_static_authzed_api_v1_WriteSchemaRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_authzed_api_v1_WriteSchemaRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_authzed_api_v1_WriteSchemaRequest_descriptor,
new java.lang.String[] { "Schema", });
internal_static_authzed_api_v1_WriteSchemaResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_authzed_api_v1_WriteSchemaResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_authzed_api_v1_WriteSchemaResponse_descriptor,
new java.lang.String[] { });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.AnnotationsProto.http);
registry.add(io.envoyproxy.pgv.validate.Validate.rules);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor();
io.envoyproxy.pgv.validate.Validate.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy