Package com.authzed.api.v0
Class Developer.ValidateRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Developer.ValidateRequest.Builder>
com.authzed.api.v0.Developer.ValidateRequest.Builder
- All Implemented Interfaces:
Developer.ValidateRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Developer.ValidateRequest
public static final class Developer.ValidateRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Developer.ValidateRequest.Builder>
implements Developer.ValidateRequestOrBuilder
Protobuf type
authzed.api.v0.ValidateRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
string assertions_yaml = 5;
.authzed.api.v0.RequestContext context = 1;
bool update_validation_yaml = 4;
string validation_yaml = 3;
string assertions_yaml = 5;
com.google.protobuf.ByteString
string assertions_yaml = 5;
.authzed.api.v0.RequestContext context = 1;
.authzed.api.v0.RequestContext context = 1;
.authzed.api.v0.RequestContext context = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
bool update_validation_yaml = 4;
string validation_yaml = 3;
com.google.protobuf.ByteString
string validation_yaml = 3;
boolean
.authzed.api.v0.RequestContext context = 1;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
.authzed.api.v0.RequestContext context = 1;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) setAssertionsYaml
(String value) string assertions_yaml = 5;
setAssertionsYamlBytes
(com.google.protobuf.ByteString value) string assertions_yaml = 5;
.authzed.api.v0.RequestContext context = 1;
setContext
(Developer.RequestContext.Builder builderForValue) .authzed.api.v0.RequestContext context = 1;
setUpdateValidationYaml
(boolean value) bool update_validation_yaml = 4;
setValidationYaml
(String value) string validation_yaml = 3;
setValidationYamlBytes
(com.google.protobuf.ByteString value) string validation_yaml = 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<Developer.ValidateRequest.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<Developer.ValidateRequest.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<Developer.ValidateRequest.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<Developer.ValidateRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Developer.ValidateRequest.Builder>
-
mergeFrom
public Developer.ValidateRequest.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<Developer.ValidateRequest.Builder>
- Throws:
IOException
-
hasContext
public boolean hasContext().authzed.api.v0.RequestContext context = 1;
- Specified by:
hasContext
in interfaceDeveloper.ValidateRequestOrBuilder
- Returns:
- Whether the context field is set.
-
getContext
.authzed.api.v0.RequestContext context = 1;
- Specified by:
getContext
in interfaceDeveloper.ValidateRequestOrBuilder
- Returns:
- The context.
-
setContext
.authzed.api.v0.RequestContext context = 1;
-
setContext
public Developer.ValidateRequest.Builder setContext(Developer.RequestContext.Builder builderForValue) .authzed.api.v0.RequestContext context = 1;
-
mergeContext
.authzed.api.v0.RequestContext context = 1;
-
clearContext
.authzed.api.v0.RequestContext context = 1;
-
getContextBuilder
.authzed.api.v0.RequestContext context = 1;
-
getContextOrBuilder
.authzed.api.v0.RequestContext context = 1;
- Specified by:
getContextOrBuilder
in interfaceDeveloper.ValidateRequestOrBuilder
-
getValidationYaml
string validation_yaml = 3;
- Specified by:
getValidationYaml
in interfaceDeveloper.ValidateRequestOrBuilder
- Returns:
- The validationYaml.
-
getValidationYamlBytes
public com.google.protobuf.ByteString getValidationYamlBytes()string validation_yaml = 3;
- Specified by:
getValidationYamlBytes
in interfaceDeveloper.ValidateRequestOrBuilder
- Returns:
- The bytes for validationYaml.
-
setValidationYaml
string validation_yaml = 3;
- Parameters:
value
- The validationYaml to set.- Returns:
- This builder for chaining.
-
clearValidationYaml
string validation_yaml = 3;
- Returns:
- This builder for chaining.
-
setValidationYamlBytes
public Developer.ValidateRequest.Builder setValidationYamlBytes(com.google.protobuf.ByteString value) string validation_yaml = 3;
- Parameters:
value
- The bytes for validationYaml to set.- Returns:
- This builder for chaining.
-
getUpdateValidationYaml
public boolean getUpdateValidationYaml()bool update_validation_yaml = 4;
- Specified by:
getUpdateValidationYaml
in interfaceDeveloper.ValidateRequestOrBuilder
- Returns:
- The updateValidationYaml.
-
setUpdateValidationYaml
bool update_validation_yaml = 4;
- Parameters:
value
- The updateValidationYaml to set.- Returns:
- This builder for chaining.
-
clearUpdateValidationYaml
bool update_validation_yaml = 4;
- Returns:
- This builder for chaining.
-
getAssertionsYaml
string assertions_yaml = 5;
- Specified by:
getAssertionsYaml
in interfaceDeveloper.ValidateRequestOrBuilder
- Returns:
- The assertionsYaml.
-
getAssertionsYamlBytes
public com.google.protobuf.ByteString getAssertionsYamlBytes()string assertions_yaml = 5;
- Specified by:
getAssertionsYamlBytes
in interfaceDeveloper.ValidateRequestOrBuilder
- Returns:
- The bytes for assertionsYaml.
-
setAssertionsYaml
string assertions_yaml = 5;
- Parameters:
value
- The assertionsYaml to set.- Returns:
- This builder for chaining.
-
clearAssertionsYaml
string assertions_yaml = 5;
- Returns:
- This builder for chaining.
-
setAssertionsYamlBytes
public Developer.ValidateRequest.Builder setAssertionsYamlBytes(com.google.protobuf.ByteString value) string assertions_yaml = 5;
- Parameters:
value
- The bytes for assertionsYaml to set.- Returns:
- This builder for chaining.
-