Package com.authzed.api.v1
Class ExpCaveat.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExpCaveat.Builder>
com.authzed.api.v1.ExpCaveat.Builder
- All Implemented Interfaces:
ExpCaveatOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ExpCaveat
public static final class ExpCaveat.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExpCaveat.Builder>
implements ExpCaveatOrBuilder
ExpCaveat is the representation of a caveat in the schema.Protobuf type
authzed.api.v1.ExpCaveat
-
Method Summary
Modifier and TypeMethodDescriptionaddAllParameters
(Iterable<? extends ExpCaveatParameter> values) repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
addParameters
(int index, ExpCaveatParameter value) repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
addParameters
(int index, ExpCaveatParameter.Builder builderForValue) repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
addParameters
(ExpCaveatParameter value) repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
addParameters
(ExpCaveatParameter.Builder builderForValue) repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
addParametersBuilder
(int index) repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
build()
clear()
comment is a human-readable comments on the caveat.string expression = 4;
string name = 1;
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
comment is a human-readable comments on the caveat.com.google.protobuf.ByteString
comment is a human-readable comments on the caveat.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
string expression = 4;
com.google.protobuf.ByteString
string expression = 4;
getName()
string name = 1;
com.google.protobuf.ByteString
string name = 1;
getParameters
(int index) repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
getParametersBuilder
(int index) repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
int
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
getParametersOrBuilder
(int index) repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
List<? extends ExpCaveatParameterOrBuilder>
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) removeParameters
(int index) repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
setComment
(String value) comment is a human-readable comments on the caveat.setCommentBytes
(com.google.protobuf.ByteString value) comment is a human-readable comments on the caveat.setExpression
(String value) string expression = 4;
setExpressionBytes
(com.google.protobuf.ByteString value) string expression = 4;
string name = 1;
setNameBytes
(com.google.protobuf.ByteString value) string name = 1;
setParameters
(int index, ExpCaveatParameter value) repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
setParameters
(int index, ExpCaveatParameter.Builder builderForValue) repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
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<ExpCaveat.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<ExpCaveat.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<ExpCaveat.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<ExpCaveat.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ExpCaveat.Builder>
-
mergeFrom
public ExpCaveat.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<ExpCaveat.Builder>
- Throws:
IOException
-
getName
string name = 1;
- Specified by:
getName
in interfaceExpCaveatOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1;
- Specified by:
getNameBytes
in interfaceExpCaveatOrBuilder
- Returns:
- The bytes for name.
-
setName
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getComment
comment is a human-readable comments on the caveat. Will include delimiter characters.
string comment = 2;
- Specified by:
getComment
in interfaceExpCaveatOrBuilder
- Returns:
- The comment.
-
getCommentBytes
public com.google.protobuf.ByteString getCommentBytes()comment is a human-readable comments on the caveat. Will include delimiter characters.
string comment = 2;
- Specified by:
getCommentBytes
in interfaceExpCaveatOrBuilder
- Returns:
- The bytes for comment.
-
setComment
comment is a human-readable comments on the caveat. Will include delimiter characters.
string comment = 2;
- Parameters:
value
- The comment to set.- Returns:
- This builder for chaining.
-
clearComment
comment is a human-readable comments on the caveat. Will include delimiter characters.
string comment = 2;
- Returns:
- This builder for chaining.
-
setCommentBytes
comment is a human-readable comments on the caveat. Will include delimiter characters.
string comment = 2;
- Parameters:
value
- The bytes for comment to set.- Returns:
- This builder for chaining.
-
getParametersList
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
- Specified by:
getParametersList
in interfaceExpCaveatOrBuilder
-
getParametersCount
public int getParametersCount()repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
- Specified by:
getParametersCount
in interfaceExpCaveatOrBuilder
-
getParameters
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
- Specified by:
getParameters
in interfaceExpCaveatOrBuilder
-
setParameters
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
-
setParameters
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
-
addParameters
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
-
addParameters
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
-
addParameters
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
-
addParameters
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
-
addAllParameters
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
-
clearParameters
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
-
removeParameters
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
-
getParametersBuilder
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
-
getParametersOrBuilder
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
- Specified by:
getParametersOrBuilder
in interfaceExpCaveatOrBuilder
-
getParametersOrBuilderList
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
- Specified by:
getParametersOrBuilderList
in interfaceExpCaveatOrBuilder
-
addParametersBuilder
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
-
addParametersBuilder
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
-
getParametersBuilderList
repeated .authzed.api.v1.ExpCaveatParameter parameters = 3;
-
getExpression
string expression = 4;
- Specified by:
getExpression
in interfaceExpCaveatOrBuilder
- Returns:
- The expression.
-
getExpressionBytes
public com.google.protobuf.ByteString getExpressionBytes()string expression = 4;
- Specified by:
getExpressionBytes
in interfaceExpCaveatOrBuilder
- Returns:
- The bytes for expression.
-
setExpression
string expression = 4;
- Parameters:
value
- The expression to set.- Returns:
- This builder for chaining.
-
clearExpression
string expression = 4;
- Returns:
- This builder for chaining.
-
setExpressionBytes
string expression = 4;
- Parameters:
value
- The bytes for expression to set.- Returns:
- This builder for chaining.
-