Package dev.cerbos.api.v1.audit
Class Audit.DecisionLogEntry.PlanResources.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<Audit.DecisionLogEntry.PlanResources.Builder>
-
- dev.cerbos.api.v1.audit.Audit.DecisionLogEntry.PlanResources.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Audit.DecisionLogEntry.PlanResourcesOrBuilder,java.lang.Cloneable
- Enclosing class:
- Audit.DecisionLogEntry.PlanResources
public static final class Audit.DecisionLogEntry.PlanResources.Builder extends com.google.protobuf.GeneratedMessage.Builder<Audit.DecisionLogEntry.PlanResources.Builder> implements Audit.DecisionLogEntry.PlanResourcesOrBuilder
Protobuf typecerbos.audit.v1.DecisionLogEntry.PlanResources
-
-
Method Summary
-
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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Audit.DecisionLogEntry.PlanResources.Builder>
-
clear
public Audit.DecisionLogEntry.PlanResources.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<Audit.DecisionLogEntry.PlanResources.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<Audit.DecisionLogEntry.PlanResources.Builder>
-
getDefaultInstanceForType
public Audit.DecisionLogEntry.PlanResources getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Audit.DecisionLogEntry.PlanResources build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Audit.DecisionLogEntry.PlanResources buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Audit.DecisionLogEntry.PlanResources.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Audit.DecisionLogEntry.PlanResources.Builder>
-
mergeFrom
public Audit.DecisionLogEntry.PlanResources.Builder mergeFrom(Audit.DecisionLogEntry.PlanResources other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Audit.DecisionLogEntry.PlanResources.Builder>
-
mergeFrom
public Audit.DecisionLogEntry.PlanResources.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<Audit.DecisionLogEntry.PlanResources.Builder>- Throws:
java.io.IOException
-
hasInput
public boolean hasInput()
.cerbos.engine.v1.PlanResourcesInput input = 1;- Specified by:
hasInputin interfaceAudit.DecisionLogEntry.PlanResourcesOrBuilder- Returns:
- Whether the input field is set.
-
getInput
public Engine.PlanResourcesInput getInput()
.cerbos.engine.v1.PlanResourcesInput input = 1;- Specified by:
getInputin interfaceAudit.DecisionLogEntry.PlanResourcesOrBuilder- Returns:
- The input.
-
setInput
public Audit.DecisionLogEntry.PlanResources.Builder setInput(Engine.PlanResourcesInput value)
.cerbos.engine.v1.PlanResourcesInput input = 1;
-
setInput
public Audit.DecisionLogEntry.PlanResources.Builder setInput(Engine.PlanResourcesInput.Builder builderForValue)
.cerbos.engine.v1.PlanResourcesInput input = 1;
-
mergeInput
public Audit.DecisionLogEntry.PlanResources.Builder mergeInput(Engine.PlanResourcesInput value)
.cerbos.engine.v1.PlanResourcesInput input = 1;
-
clearInput
public Audit.DecisionLogEntry.PlanResources.Builder clearInput()
.cerbos.engine.v1.PlanResourcesInput input = 1;
-
getInputBuilder
public Engine.PlanResourcesInput.Builder getInputBuilder()
.cerbos.engine.v1.PlanResourcesInput input = 1;
-
getInputOrBuilder
public Engine.PlanResourcesInputOrBuilder getInputOrBuilder()
.cerbos.engine.v1.PlanResourcesInput input = 1;- Specified by:
getInputOrBuilderin interfaceAudit.DecisionLogEntry.PlanResourcesOrBuilder
-
hasOutput
public boolean hasOutput()
.cerbos.engine.v1.PlanResourcesOutput output = 2;- Specified by:
hasOutputin interfaceAudit.DecisionLogEntry.PlanResourcesOrBuilder- Returns:
- Whether the output field is set.
-
getOutput
public Engine.PlanResourcesOutput getOutput()
.cerbos.engine.v1.PlanResourcesOutput output = 2;- Specified by:
getOutputin interfaceAudit.DecisionLogEntry.PlanResourcesOrBuilder- Returns:
- The output.
-
setOutput
public Audit.DecisionLogEntry.PlanResources.Builder setOutput(Engine.PlanResourcesOutput value)
.cerbos.engine.v1.PlanResourcesOutput output = 2;
-
setOutput
public Audit.DecisionLogEntry.PlanResources.Builder setOutput(Engine.PlanResourcesOutput.Builder builderForValue)
.cerbos.engine.v1.PlanResourcesOutput output = 2;
-
mergeOutput
public Audit.DecisionLogEntry.PlanResources.Builder mergeOutput(Engine.PlanResourcesOutput value)
.cerbos.engine.v1.PlanResourcesOutput output = 2;
-
clearOutput
public Audit.DecisionLogEntry.PlanResources.Builder clearOutput()
.cerbos.engine.v1.PlanResourcesOutput output = 2;
-
getOutputBuilder
public Engine.PlanResourcesOutput.Builder getOutputBuilder()
.cerbos.engine.v1.PlanResourcesOutput output = 2;
-
getOutputOrBuilder
public Engine.PlanResourcesOutputOrBuilder getOutputOrBuilder()
.cerbos.engine.v1.PlanResourcesOutput output = 2;- Specified by:
getOutputOrBuilderin interfaceAudit.DecisionLogEntry.PlanResourcesOrBuilder
-
getError
public java.lang.String getError()
string error = 3;- Specified by:
getErrorin interfaceAudit.DecisionLogEntry.PlanResourcesOrBuilder- Returns:
- The error.
-
getErrorBytes
public com.google.protobuf.ByteString getErrorBytes()
string error = 3;- Specified by:
getErrorBytesin interfaceAudit.DecisionLogEntry.PlanResourcesOrBuilder- Returns:
- The bytes for error.
-
setError
public Audit.DecisionLogEntry.PlanResources.Builder setError(java.lang.String value)
string error = 3;- Parameters:
value- The error to set.- Returns:
- This builder for chaining.
-
clearError
public Audit.DecisionLogEntry.PlanResources.Builder clearError()
string error = 3;- Returns:
- This builder for chaining.
-
setErrorBytes
public Audit.DecisionLogEntry.PlanResources.Builder setErrorBytes(com.google.protobuf.ByteString value)
string error = 3;- Parameters:
value- The bytes for error to set.- Returns:
- This builder for chaining.
-
-