Package com.authzed.api.v1
Class ReflectSchemaResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReflectSchemaResponse.Builder>
com.authzed.api.v1.ReflectSchemaResponse.Builder
- All Implemented Interfaces:
ReflectSchemaResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ReflectSchemaResponse
public static final class ReflectSchemaResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReflectSchemaResponse.Builder>
implements ReflectSchemaResponseOrBuilder
Protobuf type
authzed.api.v1.ReflectSchemaResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddAllCaveats
(Iterable<? extends ReflectionCaveat> values) caveats are the caveats defined in the schema.addAllDefinitions
(Iterable<? extends ReflectionDefinition> values) definitions are the definitions defined in the schema.addCaveats
(int index, ReflectionCaveat value) caveats are the caveats defined in the schema.addCaveats
(int index, ReflectionCaveat.Builder builderForValue) caveats are the caveats defined in the schema.addCaveats
(ReflectionCaveat value) caveats are the caveats defined in the schema.addCaveats
(ReflectionCaveat.Builder builderForValue) caveats are the caveats defined in the schema.caveats are the caveats defined in the schema.addCaveatsBuilder
(int index) caveats are the caveats defined in the schema.addDefinitions
(int index, ReflectionDefinition value) definitions are the definitions defined in the schema.addDefinitions
(int index, ReflectionDefinition.Builder builderForValue) definitions are the definitions defined in the schema.definitions are the definitions defined in the schema.addDefinitions
(ReflectionDefinition.Builder builderForValue) definitions are the definitions defined in the schema.definitions are the definitions defined in the schema.addDefinitionsBuilder
(int index) definitions are the definitions defined in the schema.build()
clear()
caveats are the caveats defined in the schema.definitions are the definitions defined in the schema.read_at is the ZedToken at which the schema was read.getCaveats
(int index) caveats are the caveats defined in the schema.getCaveatsBuilder
(int index) caveats are the caveats defined in the schema.caveats are the caveats defined in the schema.int
caveats are the caveats defined in the schema.caveats are the caveats defined in the schema.getCaveatsOrBuilder
(int index) caveats are the caveats defined in the schema.List<? extends ReflectionCaveatOrBuilder>
caveats are the caveats defined in the schema.getDefinitions
(int index) definitions are the definitions defined in the schema.getDefinitionsBuilder
(int index) definitions are the definitions defined in the schema.definitions are the definitions defined in the schema.int
definitions are the definitions defined in the schema.definitions are the definitions defined in the schema.getDefinitionsOrBuilder
(int index) definitions are the definitions defined in the schema.List<? extends ReflectionDefinitionOrBuilder>
definitions are the definitions defined in the schema.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
read_at is the ZedToken at which the schema was read.read_at is the ZedToken at which the schema was read.read_at is the ZedToken at which the schema was read.boolean
read_at is the ZedToken at which the schema was read.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(ReflectSchemaResponse other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeReadAt
(ZedToken value) read_at is the ZedToken at which the schema was read.removeCaveats
(int index) caveats are the caveats defined in the schema.removeDefinitions
(int index) definitions are the definitions defined in the schema.setCaveats
(int index, ReflectionCaveat value) caveats are the caveats defined in the schema.setCaveats
(int index, ReflectionCaveat.Builder builderForValue) caveats are the caveats defined in the schema.setDefinitions
(int index, ReflectionDefinition value) definitions are the definitions defined in the schema.setDefinitions
(int index, ReflectionDefinition.Builder builderForValue) definitions are the definitions defined in the schema.read_at is the ZedToken at which the schema was read.setReadAt
(ZedToken.Builder builderForValue) read_at is the ZedToken at which the schema was read.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<ReflectSchemaResponse.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<ReflectSchemaResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<ReflectSchemaResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReflectSchemaResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ReflectSchemaResponse.Builder>
-
mergeFrom
public ReflectSchemaResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReflectSchemaResponse.Builder>
- Throws:
IOException
-
getDefinitionsList
definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
- Specified by:
getDefinitionsList
in interfaceReflectSchemaResponseOrBuilder
-
getDefinitionsCount
public int getDefinitionsCount()definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
- Specified by:
getDefinitionsCount
in interfaceReflectSchemaResponseOrBuilder
-
getDefinitions
definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
- Specified by:
getDefinitions
in interfaceReflectSchemaResponseOrBuilder
-
setDefinitions
definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
-
setDefinitions
public ReflectSchemaResponse.Builder setDefinitions(int index, ReflectionDefinition.Builder builderForValue) definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
-
addDefinitions
definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
-
addDefinitions
definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
-
addDefinitions
definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
-
addDefinitions
public ReflectSchemaResponse.Builder addDefinitions(int index, ReflectionDefinition.Builder builderForValue) definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
-
addAllDefinitions
public ReflectSchemaResponse.Builder addAllDefinitions(Iterable<? extends ReflectionDefinition> values) definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
-
clearDefinitions
definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
-
removeDefinitions
definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
-
getDefinitionsBuilder
definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
-
getDefinitionsOrBuilder
definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
- Specified by:
getDefinitionsOrBuilder
in interfaceReflectSchemaResponseOrBuilder
-
getDefinitionsOrBuilderList
definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
- Specified by:
getDefinitionsOrBuilderList
in interfaceReflectSchemaResponseOrBuilder
-
addDefinitionsBuilder
definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
-
addDefinitionsBuilder
definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
-
getDefinitionsBuilderList
definitions are the definitions defined in the schema.
repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
-
getCaveatsList
caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
- Specified by:
getCaveatsList
in interfaceReflectSchemaResponseOrBuilder
-
getCaveatsCount
public int getCaveatsCount()caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
- Specified by:
getCaveatsCount
in interfaceReflectSchemaResponseOrBuilder
-
getCaveats
caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
- Specified by:
getCaveats
in interfaceReflectSchemaResponseOrBuilder
-
setCaveats
caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
-
setCaveats
public ReflectSchemaResponse.Builder setCaveats(int index, ReflectionCaveat.Builder builderForValue) caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
-
addCaveats
caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
-
addCaveats
caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
-
addCaveats
caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
-
addCaveats
public ReflectSchemaResponse.Builder addCaveats(int index, ReflectionCaveat.Builder builderForValue) caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
-
addAllCaveats
caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
-
clearCaveats
caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
-
removeCaveats
caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
-
getCaveatsBuilder
caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
-
getCaveatsOrBuilder
caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
- Specified by:
getCaveatsOrBuilder
in interfaceReflectSchemaResponseOrBuilder
-
getCaveatsOrBuilderList
caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
- Specified by:
getCaveatsOrBuilderList
in interfaceReflectSchemaResponseOrBuilder
-
addCaveatsBuilder
caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
-
addCaveatsBuilder
caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
-
getCaveatsBuilderList
caveats are the caveats defined in the schema.
repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
-
hasReadAt
public boolean hasReadAt()read_at is the ZedToken at which the schema was read.
.authzed.api.v1.ZedToken read_at = 3;
- Specified by:
hasReadAt
in interfaceReflectSchemaResponseOrBuilder
- Returns:
- Whether the readAt field is set.
-
getReadAt
read_at is the ZedToken at which the schema was read.
.authzed.api.v1.ZedToken read_at = 3;
- Specified by:
getReadAt
in interfaceReflectSchemaResponseOrBuilder
- Returns:
- The readAt.
-
setReadAt
read_at is the ZedToken at which the schema was read.
.authzed.api.v1.ZedToken read_at = 3;
-
setReadAt
read_at is the ZedToken at which the schema was read.
.authzed.api.v1.ZedToken read_at = 3;
-
mergeReadAt
read_at is the ZedToken at which the schema was read.
.authzed.api.v1.ZedToken read_at = 3;
-
clearReadAt
read_at is the ZedToken at which the schema was read.
.authzed.api.v1.ZedToken read_at = 3;
-
getReadAtBuilder
read_at is the ZedToken at which the schema was read.
.authzed.api.v1.ZedToken read_at = 3;
-
getReadAtOrBuilder
read_at is the ZedToken at which the schema was read.
.authzed.api.v1.ZedToken read_at = 3;
- Specified by:
getReadAtOrBuilder
in interfaceReflectSchemaResponseOrBuilder
-