Package com.authzed.api.v0
Class Developer.LookupShareResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Developer.LookupShareResponse.Builder>
com.authzed.api.v0.Developer.LookupShareResponse.Builder
- All Implemented Interfaces:
Developer.LookupShareResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Developer.LookupShareResponse
public static final class Developer.LookupShareResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Developer.LookupShareResponse.Builder>
implements Developer.LookupShareResponseOrBuilder
Protobuf type
authzed.api.v0.LookupShareResponse
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
string assertions_yaml = 5;
string relationships_yaml = 3;
string schema = 2;
.authzed.api.v0.LookupShareResponse.LookupStatus status = 1;
string validation_yaml = 4;
string assertions_yaml = 5;
com.google.protobuf.ByteString
string assertions_yaml = 5;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
string relationships_yaml = 3;
com.google.protobuf.ByteString
string relationships_yaml = 3;
string schema = 2;
com.google.protobuf.ByteString
string schema = 2;
.authzed.api.v0.LookupShareResponse.LookupStatus status = 1;
int
.authzed.api.v0.LookupShareResponse.LookupStatus status = 1;
string validation_yaml = 4;
com.google.protobuf.ByteString
string validation_yaml = 4;
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) setAssertionsYaml
(String value) string assertions_yaml = 5;
setAssertionsYamlBytes
(com.google.protobuf.ByteString value) string assertions_yaml = 5;
setRelationshipsYaml
(String value) string relationships_yaml = 3;
setRelationshipsYamlBytes
(com.google.protobuf.ByteString value) string relationships_yaml = 3;
string schema = 2;
setSchemaBytes
(com.google.protobuf.ByteString value) string schema = 2;
.authzed.api.v0.LookupShareResponse.LookupStatus status = 1;
setStatusValue
(int value) .authzed.api.v0.LookupShareResponse.LookupStatus status = 1;
setValidationYaml
(String value) string validation_yaml = 4;
setValidationYamlBytes
(com.google.protobuf.ByteString value) string validation_yaml = 4;
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.LookupShareResponse.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.LookupShareResponse.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.LookupShareResponse.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.LookupShareResponse.Builder>
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Developer.LookupShareResponse.Builder>
-
mergeFrom
public Developer.LookupShareResponse.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.LookupShareResponse.Builder>
- Throws:
IOException
-
getStatusValue
public int getStatusValue().authzed.api.v0.LookupShareResponse.LookupStatus status = 1;
- Specified by:
getStatusValue
in interfaceDeveloper.LookupShareResponseOrBuilder
- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
.authzed.api.v0.LookupShareResponse.LookupStatus status = 1;
- Parameters:
value
- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
.authzed.api.v0.LookupShareResponse.LookupStatus status = 1;
- Specified by:
getStatus
in interfaceDeveloper.LookupShareResponseOrBuilder
- Returns:
- The status.
-
clearStatus
.authzed.api.v0.LookupShareResponse.LookupStatus status = 1;
- Returns:
- This builder for chaining.
-
getSchema
string schema = 2;
- Specified by:
getSchema
in interfaceDeveloper.LookupShareResponseOrBuilder
- Returns:
- The schema.
-
getSchemaBytes
public com.google.protobuf.ByteString getSchemaBytes()string schema = 2;
- Specified by:
getSchemaBytes
in interfaceDeveloper.LookupShareResponseOrBuilder
- Returns:
- The bytes for schema.
-
setSchema
string schema = 2;
- Parameters:
value
- The schema to set.- Returns:
- This builder for chaining.
-
clearSchema
string schema = 2;
- Returns:
- This builder for chaining.
-
setSchemaBytes
string schema = 2;
- Parameters:
value
- The bytes for schema to set.- Returns:
- This builder for chaining.
-
getRelationshipsYaml
string relationships_yaml = 3;
- Specified by:
getRelationshipsYaml
in interfaceDeveloper.LookupShareResponseOrBuilder
- Returns:
- The relationshipsYaml.
-
getRelationshipsYamlBytes
public com.google.protobuf.ByteString getRelationshipsYamlBytes()string relationships_yaml = 3;
- Specified by:
getRelationshipsYamlBytes
in interfaceDeveloper.LookupShareResponseOrBuilder
- Returns:
- The bytes for relationshipsYaml.
-
setRelationshipsYaml
string relationships_yaml = 3;
- Parameters:
value
- The relationshipsYaml to set.- Returns:
- This builder for chaining.
-
clearRelationshipsYaml
string relationships_yaml = 3;
- Returns:
- This builder for chaining.
-
setRelationshipsYamlBytes
public Developer.LookupShareResponse.Builder setRelationshipsYamlBytes(com.google.protobuf.ByteString value) string relationships_yaml = 3;
- Parameters:
value
- The bytes for relationshipsYaml to set.- Returns:
- This builder for chaining.
-
getValidationYaml
string validation_yaml = 4;
- Specified by:
getValidationYaml
in interfaceDeveloper.LookupShareResponseOrBuilder
- Returns:
- The validationYaml.
-
getValidationYamlBytes
public com.google.protobuf.ByteString getValidationYamlBytes()string validation_yaml = 4;
- Specified by:
getValidationYamlBytes
in interfaceDeveloper.LookupShareResponseOrBuilder
- Returns:
- The bytes for validationYaml.
-
setValidationYaml
string validation_yaml = 4;
- Parameters:
value
- The validationYaml to set.- Returns:
- This builder for chaining.
-
clearValidationYaml
string validation_yaml = 4;
- Returns:
- This builder for chaining.
-
setValidationYamlBytes
public Developer.LookupShareResponse.Builder setValidationYamlBytes(com.google.protobuf.ByteString value) string validation_yaml = 4;
- Parameters:
value
- The bytes for validationYaml to set.- Returns:
- This builder for chaining.
-
getAssertionsYaml
string assertions_yaml = 5;
- Specified by:
getAssertionsYaml
in interfaceDeveloper.LookupShareResponseOrBuilder
- Returns:
- The assertionsYaml.
-
getAssertionsYamlBytes
public com.google.protobuf.ByteString getAssertionsYamlBytes()string assertions_yaml = 5;
- Specified by:
getAssertionsYamlBytes
in interfaceDeveloper.LookupShareResponseOrBuilder
- 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.LookupShareResponse.Builder setAssertionsYamlBytes(com.google.protobuf.ByteString value) string assertions_yaml = 5;
- Parameters:
value
- The bytes for assertionsYaml to set.- Returns:
- This builder for chaining.
-