Package dev.cerbos.api.v1.policy
Class PolicyOuterClass.ExportVariables.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.ExportVariables.Builder>
-
- dev.cerbos.api.v1.policy.PolicyOuterClass.ExportVariables.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PolicyOuterClass.ExportVariablesOrBuilder,java.lang.Cloneable
- Enclosing class:
- PolicyOuterClass.ExportVariables
public static final class PolicyOuterClass.ExportVariables.Builder extends com.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.ExportVariables.Builder> implements PolicyOuterClass.ExportVariablesOrBuilder
Protobuf typecerbos.policy.v1.ExportVariables
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PolicyOuterClass.ExportVariablesbuild()PolicyOuterClass.ExportVariablesbuildPartial()PolicyOuterClass.ExportVariables.Builderclear()PolicyOuterClass.ExportVariables.BuilderclearDefinitions()PolicyOuterClass.ExportVariables.BuilderclearName()string name = 1 [(.buf.validate.field) = { ...booleancontainsDefinitions(java.lang.String key)map<string, string> definitions = 2;PolicyOuterClass.ExportVariablesgetDefaultInstanceForType()java.util.Map<java.lang.String,java.lang.String>getDefinitions()Deprecated.intgetDefinitionsCount()map<string, string> definitions = 2;java.util.Map<java.lang.String,java.lang.String>getDefinitionsMap()map<string, string> definitions = 2;java.lang.StringgetDefinitionsOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> definitions = 2;java.lang.StringgetDefinitionsOrThrow(java.lang.String key)map<string, string> definitions = 2;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.util.Map<java.lang.String,java.lang.String>getMutableDefinitions()Deprecated.java.lang.StringgetName()string name = 1 [(.buf.validate.field) = { ...com.google.protobuf.ByteStringgetNameBytes()string name = 1 [(.buf.validate.field) = { ...protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()PolicyOuterClass.ExportVariables.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PolicyOuterClass.ExportVariables.BuildermergeFrom(com.google.protobuf.Message other)PolicyOuterClass.ExportVariables.BuildermergeFrom(PolicyOuterClass.ExportVariables other)PolicyOuterClass.ExportVariables.BuilderputAllDefinitions(java.util.Map<java.lang.String,java.lang.String> values)map<string, string> definitions = 2;PolicyOuterClass.ExportVariables.BuilderputDefinitions(java.lang.String key, java.lang.String value)map<string, string> definitions = 2;PolicyOuterClass.ExportVariables.BuilderremoveDefinitions(java.lang.String key)map<string, string> definitions = 2;PolicyOuterClass.ExportVariables.BuildersetName(java.lang.String value)string name = 1 [(.buf.validate.field) = { ...PolicyOuterClass.ExportVariables.BuildersetNameBytes(com.google.protobuf.ByteString value)string name = 1 [(.buf.validate.field) = { ...-
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, internalGetMutableMapField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.ExportVariables.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.ExportVariables.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.ExportVariables.Builder>
-
clear
public PolicyOuterClass.ExportVariables.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.ExportVariables.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.ExportVariables.Builder>
-
getDefaultInstanceForType
public PolicyOuterClass.ExportVariables getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PolicyOuterClass.ExportVariables build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PolicyOuterClass.ExportVariables buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public PolicyOuterClass.ExportVariables.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PolicyOuterClass.ExportVariables.Builder>
-
mergeFrom
public PolicyOuterClass.ExportVariables.Builder mergeFrom(PolicyOuterClass.ExportVariables other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.ExportVariables.Builder>
-
mergeFrom
public PolicyOuterClass.ExportVariables.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PolicyOuterClass.ExportVariables.Builder>- Throws:
java.io.IOException
-
getName
public java.lang.String getName()
string name = 1 [(.buf.validate.field) = { ... }- Specified by:
getNamein interfacePolicyOuterClass.ExportVariablesOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 1 [(.buf.validate.field) = { ... }- Specified by:
getNameBytesin interfacePolicyOuterClass.ExportVariablesOrBuilder- Returns:
- The bytes for name.
-
setName
public PolicyOuterClass.ExportVariables.Builder setName(java.lang.String value)
string name = 1 [(.buf.validate.field) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public PolicyOuterClass.ExportVariables.Builder clearName()
string name = 1 [(.buf.validate.field) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
public PolicyOuterClass.ExportVariables.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 1 [(.buf.validate.field) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDefinitionsCount
public int getDefinitionsCount()
Description copied from interface:PolicyOuterClass.ExportVariablesOrBuildermap<string, string> definitions = 2;- Specified by:
getDefinitionsCountin interfacePolicyOuterClass.ExportVariablesOrBuilder
-
containsDefinitions
public boolean containsDefinitions(java.lang.String key)
map<string, string> definitions = 2;- Specified by:
containsDefinitionsin interfacePolicyOuterClass.ExportVariablesOrBuilder
-
getDefinitions
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getDefinitions()
Deprecated.UsegetDefinitionsMap()instead.- Specified by:
getDefinitionsin interfacePolicyOuterClass.ExportVariablesOrBuilder
-
getDefinitionsMap
public java.util.Map<java.lang.String,java.lang.String> getDefinitionsMap()
map<string, string> definitions = 2;- Specified by:
getDefinitionsMapin interfacePolicyOuterClass.ExportVariablesOrBuilder
-
getDefinitionsOrDefault
public java.lang.String getDefinitionsOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> definitions = 2;- Specified by:
getDefinitionsOrDefaultin interfacePolicyOuterClass.ExportVariablesOrBuilder
-
getDefinitionsOrThrow
public java.lang.String getDefinitionsOrThrow(java.lang.String key)
map<string, string> definitions = 2;- Specified by:
getDefinitionsOrThrowin interfacePolicyOuterClass.ExportVariablesOrBuilder
-
clearDefinitions
public PolicyOuterClass.ExportVariables.Builder clearDefinitions()
-
removeDefinitions
public PolicyOuterClass.ExportVariables.Builder removeDefinitions(java.lang.String key)
map<string, string> definitions = 2;
-
getMutableDefinitions
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableDefinitions()
Deprecated.Use alternate mutation accessors instead.
-
putDefinitions
public PolicyOuterClass.ExportVariables.Builder putDefinitions(java.lang.String key, java.lang.String value)
map<string, string> definitions = 2;
-
putAllDefinitions
public PolicyOuterClass.ExportVariables.Builder putAllDefinitions(java.util.Map<java.lang.String,java.lang.String> values)
map<string, string> definitions = 2;
-
-