Package dev.cerbos.api.v1.policy
Class PolicyOuterClass.SourceAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.SourceAttributes.Builder>
-
- dev.cerbos.api.v1.policy.PolicyOuterClass.SourceAttributes.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PolicyOuterClass.SourceAttributesOrBuilder,java.lang.Cloneable
- Enclosing class:
- PolicyOuterClass.SourceAttributes
public static final class PolicyOuterClass.SourceAttributes.Builder extends com.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.SourceAttributes.Builder> implements PolicyOuterClass.SourceAttributesOrBuilder
Protobuf typecerbos.policy.v1.SourceAttributes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PolicyOuterClass.SourceAttributesbuild()PolicyOuterClass.SourceAttributesbuildPartial()PolicyOuterClass.SourceAttributes.Builderclear()PolicyOuterClass.SourceAttributes.BuilderclearAttributes()booleancontainsAttributes(java.lang.String key)map<string, .google.protobuf.Value> attributes = 1;java.util.Map<java.lang.String,com.google.protobuf.Value>getAttributes()Deprecated.intgetAttributesCount()map<string, .google.protobuf.Value> attributes = 1;java.util.Map<java.lang.String,com.google.protobuf.Value>getAttributesMap()map<string, .google.protobuf.Value> attributes = 1;com.google.protobuf.ValuegetAttributesOrDefault(java.lang.String key, com.google.protobuf.Value defaultValue)map<string, .google.protobuf.Value> attributes = 1;com.google.protobuf.ValuegetAttributesOrThrow(java.lang.String key)map<string, .google.protobuf.Value> attributes = 1;PolicyOuterClass.SourceAttributesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.util.Map<java.lang.String,com.google.protobuf.Value>getMutableAttributes()Deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()PolicyOuterClass.SourceAttributes.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PolicyOuterClass.SourceAttributes.BuildermergeFrom(com.google.protobuf.Message other)PolicyOuterClass.SourceAttributes.BuildermergeFrom(PolicyOuterClass.SourceAttributes other)PolicyOuterClass.SourceAttributes.BuilderputAllAttributes(java.util.Map<java.lang.String,com.google.protobuf.Value> values)map<string, .google.protobuf.Value> attributes = 1;PolicyOuterClass.SourceAttributes.BuilderputAttributes(java.lang.String key, com.google.protobuf.Value value)map<string, .google.protobuf.Value> attributes = 1;com.google.protobuf.Value.BuilderputAttributesBuilderIfAbsent(java.lang.String key)map<string, .google.protobuf.Value> attributes = 1;PolicyOuterClass.SourceAttributes.BuilderremoveAttributes(java.lang.String key)map<string, .google.protobuf.Value> attributes = 1;-
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.SourceAttributes.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.SourceAttributes.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.SourceAttributes.Builder>
-
clear
public PolicyOuterClass.SourceAttributes.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.SourceAttributes.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.SourceAttributes.Builder>
-
getDefaultInstanceForType
public PolicyOuterClass.SourceAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PolicyOuterClass.SourceAttributes build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PolicyOuterClass.SourceAttributes buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public PolicyOuterClass.SourceAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PolicyOuterClass.SourceAttributes.Builder>
-
mergeFrom
public PolicyOuterClass.SourceAttributes.Builder mergeFrom(PolicyOuterClass.SourceAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PolicyOuterClass.SourceAttributes.Builder>
-
mergeFrom
public PolicyOuterClass.SourceAttributes.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.SourceAttributes.Builder>- Throws:
java.io.IOException
-
getAttributesCount
public int getAttributesCount()
Description copied from interface:PolicyOuterClass.SourceAttributesOrBuildermap<string, .google.protobuf.Value> attributes = 1;- Specified by:
getAttributesCountin interfacePolicyOuterClass.SourceAttributesOrBuilder
-
containsAttributes
public boolean containsAttributes(java.lang.String key)
map<string, .google.protobuf.Value> attributes = 1;- Specified by:
containsAttributesin interfacePolicyOuterClass.SourceAttributesOrBuilder
-
getAttributes
@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Value> getAttributes()
Deprecated.UsegetAttributesMap()instead.- Specified by:
getAttributesin interfacePolicyOuterClass.SourceAttributesOrBuilder
-
getAttributesMap
public java.util.Map<java.lang.String,com.google.protobuf.Value> getAttributesMap()
map<string, .google.protobuf.Value> attributes = 1;- Specified by:
getAttributesMapin interfacePolicyOuterClass.SourceAttributesOrBuilder
-
getAttributesOrDefault
public com.google.protobuf.Value getAttributesOrDefault(java.lang.String key, com.google.protobuf.Value defaultValue)map<string, .google.protobuf.Value> attributes = 1;- Specified by:
getAttributesOrDefaultin interfacePolicyOuterClass.SourceAttributesOrBuilder
-
getAttributesOrThrow
public com.google.protobuf.Value getAttributesOrThrow(java.lang.String key)
map<string, .google.protobuf.Value> attributes = 1;- Specified by:
getAttributesOrThrowin interfacePolicyOuterClass.SourceAttributesOrBuilder
-
clearAttributes
public PolicyOuterClass.SourceAttributes.Builder clearAttributes()
-
removeAttributes
public PolicyOuterClass.SourceAttributes.Builder removeAttributes(java.lang.String key)
map<string, .google.protobuf.Value> attributes = 1;
-
getMutableAttributes
@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Value> getMutableAttributes()
Deprecated.Use alternate mutation accessors instead.
-
putAttributes
public PolicyOuterClass.SourceAttributes.Builder putAttributes(java.lang.String key, com.google.protobuf.Value value)
map<string, .google.protobuf.Value> attributes = 1;
-
putAllAttributes
public PolicyOuterClass.SourceAttributes.Builder putAllAttributes(java.util.Map<java.lang.String,com.google.protobuf.Value> values)
map<string, .google.protobuf.Value> attributes = 1;
-
putAttributesBuilderIfAbsent
public com.google.protobuf.Value.Builder putAttributesBuilderIfAbsent(java.lang.String key)
map<string, .google.protobuf.Value> attributes = 1;
-
-