Package cel.dev.expr.conformance
Class Environment
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
cel.dev.expr.conformance.Environment
- All Implemented Interfaces:
EnvironmentOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Environment
extends com.google.protobuf.GeneratedMessageV3
implements EnvironmentOrBuilder
Representation of a CEL Environment, defining what features and extensions are available for conformance testing.Protobuf type
cel.expr.conformance.Environment- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresentation of a CEL Environment, defining what features and extensions are available for conformance testing.static final classContextVariable represents a message type to be made available as a context variable to the CEL environment.static interfacestatic final classImport represents a type name that will be abbreviated by its simple name making it easier to reference simple type names from packages other than the expression container.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanSets the namespace (container) for the expression.com.google.protobuf.ByteStringSets the namespace (container) for the expression.If set, adds a context declaration from a proto message.If set, adds a context declaration from a proto message.getDeclarations(int index) List of declarations to be configured in the CEL environment.intList of declarations to be configured in the CEL environment.List of declarations to be configured in the CEL environment.getDeclarationsOrBuilder(int index) List of declarations to be configured in the CEL environment.List<? extends DeclOrBuilder>List of declarations to be configured in the CEL environment.static EnvironmentDescription for the current environmentcom.google.protobuf.ByteStringDescription for the current environmentstatic final com.google.protobuf.Descriptors.DescriptorbooleanDisables including the declarations from the standard CEL environment.booleanWhen macro call tracking is enabled, the resulting SourceInfo in the CheckedExpr will contain a collection of expressions representing the function calls which were replaced by macros.getExtensions(int index) List of extensions to enable in the CEL environment.intList of extensions to enable in the CEL environment.List of extensions to enable in the CEL environment.getExtensionsOrBuilder(int index) List of extensions to enable in the CEL environment.List<? extends ExtensionOrBuilder>List of extensions to enable in the CEL environment.getFeatures(int index) List of feature flags to be enabled or disabled.intList of feature flags to be enabled or disabled.List of feature flags to be enabled or disabled.getFeaturesOrBuilder(int index) List of feature flags to be enabled or disabled.List<? extends FeatureOrBuilder>List of feature flags to be enabled or disabled.getImports(int index) List of abbreviations to be added to the CEL environmentintList of abbreviations to be added to the CEL environmentList of abbreviations to be added to the CEL environmentgetImportsOrBuilder(int index) List of abbreviations to be added to the CEL environmentList<? extends Environment.ImportOrBuilder>List of abbreviations to be added to the CEL environmentcom.google.protobuf.DescriptorProtos.FileDescriptorSetIf provided, uses the provided FileDescriptorSet to extend types available the CEL expression.com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilderIf provided, uses the provided FileDescriptorSet to extend types available the CEL expression.getName()Name of the environmentcom.google.protobuf.ByteStringName of the environmentcom.google.protobuf.Parser<Environment>intSet of options to subset a subsettable librarySet of options to subset a subsettable librarygetValidators(int index) List of validators for validating the parsed ast.intList of validators for validating the parsed ast.List of validators for validating the parsed ast.getValidatorsOrBuilder(int index) List of validators for validating the parsed ast.List<? extends ValidatorOrBuilder>List of validators for validating the parsed ast.booleanIf set, adds a context declaration from a proto message.inthashCode()booleanIf provided, uses the provided FileDescriptorSet to extend types available the CEL expression.booleanSet of options to subset a subsettable libraryprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Environment.Builderstatic Environment.BuildernewBuilder(Environment prototype) protected Environment.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static EnvironmentparseDelimitedFrom(InputStream input) static EnvironmentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnvironmentparseFrom(byte[] data) static EnvironmentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnvironmentparseFrom(com.google.protobuf.ByteString data) static EnvironmentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnvironmentparseFrom(com.google.protobuf.CodedInputStream input) static EnvironmentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnvironmentparseFrom(InputStream input) static EnvironmentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnvironmentparseFrom(ByteBuffer data) static EnvironmentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Environment>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
CONTAINER_FIELD_NUMBER
public static final int CONTAINER_FIELD_NUMBER- See Also:
-
IMPORTS_FIELD_NUMBER
public static final int IMPORTS_FIELD_NUMBER- See Also:
-
STDLIB_FIELD_NUMBER
public static final int STDLIB_FIELD_NUMBER- See Also:
-
EXTENSIONS_FIELD_NUMBER
public static final int EXTENSIONS_FIELD_NUMBER- See Also:
-
CONTEXT_VARIABLE_FIELD_NUMBER
public static final int CONTEXT_VARIABLE_FIELD_NUMBER- See Also:
-
DECLARATIONS_FIELD_NUMBER
public static final int DECLARATIONS_FIELD_NUMBER- See Also:
-
VALIDATORS_FIELD_NUMBER
public static final int VALIDATORS_FIELD_NUMBER- See Also:
-
FEATURES_FIELD_NUMBER
public static final int FEATURES_FIELD_NUMBER- See Also:
-
DISABLE_STANDARD_CEL_DECLARATIONS_FIELD_NUMBER
public static final int DISABLE_STANDARD_CEL_DECLARATIONS_FIELD_NUMBER- See Also:
-
MESSAGE_TYPE_EXTENSION_FIELD_NUMBER
public static final int MESSAGE_TYPE_EXTENSION_FIELD_NUMBER- See Also:
-
ENABLE_MACRO_CALL_TRACKING_FIELD_NUMBER
public static final int ENABLE_MACRO_CALL_TRACKING_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
Name of the environment
string name = 1;- Specified by:
getNamein interfaceEnvironmentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the environment
string name = 1;- Specified by:
getNameBytesin interfaceEnvironmentOrBuilder- Returns:
- The bytes for name.
-
getDescription
Description for the current environment
string description = 2;- Specified by:
getDescriptionin interfaceEnvironmentOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description for the current environment
string description = 2;- Specified by:
getDescriptionBytesin interfaceEnvironmentOrBuilder- Returns:
- The bytes for description.
-
getContainer
Sets the namespace (container) for the expression. This is used to simplify resolution. For example with container `google.rpc.context` an identifier of `google.rpc.context.AttributeContext` could be referred to simply as `AttributeContext` in the CEL expression.
string container = 3;- Specified by:
getContainerin interfaceEnvironmentOrBuilder- Returns:
- The container.
-
getContainerBytes
public com.google.protobuf.ByteString getContainerBytes()Sets the namespace (container) for the expression. This is used to simplify resolution. For example with container `google.rpc.context` an identifier of `google.rpc.context.AttributeContext` could be referred to simply as `AttributeContext` in the CEL expression.
string container = 3;- Specified by:
getContainerBytesin interfaceEnvironmentOrBuilder- Returns:
- The bytes for container.
-
getImportsList
List of abbreviations to be added to the CEL environment
repeated .cel.expr.conformance.Environment.Import imports = 4;- Specified by:
getImportsListin interfaceEnvironmentOrBuilder
-
getImportsOrBuilderList
List of abbreviations to be added to the CEL environment
repeated .cel.expr.conformance.Environment.Import imports = 4;- Specified by:
getImportsOrBuilderListin interfaceEnvironmentOrBuilder
-
getImportsCount
public int getImportsCount()List of abbreviations to be added to the CEL environment
repeated .cel.expr.conformance.Environment.Import imports = 4;- Specified by:
getImportsCountin interfaceEnvironmentOrBuilder
-
getImports
List of abbreviations to be added to the CEL environment
repeated .cel.expr.conformance.Environment.Import imports = 4;- Specified by:
getImportsin interfaceEnvironmentOrBuilder
-
getImportsOrBuilder
List of abbreviations to be added to the CEL environment
repeated .cel.expr.conformance.Environment.Import imports = 4;- Specified by:
getImportsOrBuilderin interfaceEnvironmentOrBuilder
-
hasStdlib
public boolean hasStdlib()Set of options to subset a subsettable library
.cel.expr.conformance.LibrarySubset stdlib = 5;- Specified by:
hasStdlibin interfaceEnvironmentOrBuilder- Returns:
- Whether the stdlib field is set.
-
getStdlib
Set of options to subset a subsettable library
.cel.expr.conformance.LibrarySubset stdlib = 5;- Specified by:
getStdlibin interfaceEnvironmentOrBuilder- Returns:
- The stdlib.
-
getStdlibOrBuilder
Set of options to subset a subsettable library
.cel.expr.conformance.LibrarySubset stdlib = 5;- Specified by:
getStdlibOrBuilderin interfaceEnvironmentOrBuilder
-
getExtensionsList
List of extensions to enable in the CEL environment.
repeated .cel.expr.conformance.Extension extensions = 6;- Specified by:
getExtensionsListin interfaceEnvironmentOrBuilder
-
getExtensionsOrBuilderList
List of extensions to enable in the CEL environment.
repeated .cel.expr.conformance.Extension extensions = 6;- Specified by:
getExtensionsOrBuilderListin interfaceEnvironmentOrBuilder
-
getExtensionsCount
public int getExtensionsCount()List of extensions to enable in the CEL environment.
repeated .cel.expr.conformance.Extension extensions = 6;- Specified by:
getExtensionsCountin interfaceEnvironmentOrBuilder
-
getExtensions
List of extensions to enable in the CEL environment.
repeated .cel.expr.conformance.Extension extensions = 6;- Specified by:
getExtensionsin interfaceEnvironmentOrBuilder
-
getExtensionsOrBuilder
List of extensions to enable in the CEL environment.
repeated .cel.expr.conformance.Extension extensions = 6;- Specified by:
getExtensionsOrBuilderin interfaceEnvironmentOrBuilder
-
hasContextVariable
public boolean hasContextVariable()If set, adds a context declaration from a proto message. Context messages have all of their top-level fields available as variables in the type checker.
.cel.expr.conformance.Environment.ContextVariable context_variable = 7;- Specified by:
hasContextVariablein interfaceEnvironmentOrBuilder- Returns:
- Whether the contextVariable field is set.
-
getContextVariable
If set, adds a context declaration from a proto message. Context messages have all of their top-level fields available as variables in the type checker.
.cel.expr.conformance.Environment.ContextVariable context_variable = 7;- Specified by:
getContextVariablein interfaceEnvironmentOrBuilder- Returns:
- The contextVariable.
-
getContextVariableOrBuilder
If set, adds a context declaration from a proto message. Context messages have all of their top-level fields available as variables in the type checker.
.cel.expr.conformance.Environment.ContextVariable context_variable = 7;- Specified by:
getContextVariableOrBuilderin interfaceEnvironmentOrBuilder
-
getDeclarationsList
List of declarations to be configured in the CEL environment. Note: The CEL environment can be configured with either the context_variable or a set of ident_decls provided as part of declarations. Providing both will result in an error.
repeated .cel.expr.Decl declarations = 8;- Specified by:
getDeclarationsListin interfaceEnvironmentOrBuilder
-
getDeclarationsOrBuilderList
List of declarations to be configured in the CEL environment. Note: The CEL environment can be configured with either the context_variable or a set of ident_decls provided as part of declarations. Providing both will result in an error.
repeated .cel.expr.Decl declarations = 8;- Specified by:
getDeclarationsOrBuilderListin interfaceEnvironmentOrBuilder
-
getDeclarationsCount
public int getDeclarationsCount()List of declarations to be configured in the CEL environment. Note: The CEL environment can be configured with either the context_variable or a set of ident_decls provided as part of declarations. Providing both will result in an error.
repeated .cel.expr.Decl declarations = 8;- Specified by:
getDeclarationsCountin interfaceEnvironmentOrBuilder
-
getDeclarations
List of declarations to be configured in the CEL environment. Note: The CEL environment can be configured with either the context_variable or a set of ident_decls provided as part of declarations. Providing both will result in an error.
repeated .cel.expr.Decl declarations = 8;- Specified by:
getDeclarationsin interfaceEnvironmentOrBuilder
-
getDeclarationsOrBuilder
List of declarations to be configured in the CEL environment. Note: The CEL environment can be configured with either the context_variable or a set of ident_decls provided as part of declarations. Providing both will result in an error.
repeated .cel.expr.Decl declarations = 8;- Specified by:
getDeclarationsOrBuilderin interfaceEnvironmentOrBuilder
-
getValidatorsList
List of validators for validating the parsed ast.
repeated .cel.expr.conformance.Validator validators = 9;- Specified by:
getValidatorsListin interfaceEnvironmentOrBuilder
-
getValidatorsOrBuilderList
List of validators for validating the parsed ast.
repeated .cel.expr.conformance.Validator validators = 9;- Specified by:
getValidatorsOrBuilderListin interfaceEnvironmentOrBuilder
-
getValidatorsCount
public int getValidatorsCount()List of validators for validating the parsed ast.
repeated .cel.expr.conformance.Validator validators = 9;- Specified by:
getValidatorsCountin interfaceEnvironmentOrBuilder
-
getValidators
List of validators for validating the parsed ast.
repeated .cel.expr.conformance.Validator validators = 9;- Specified by:
getValidatorsin interfaceEnvironmentOrBuilder
-
getValidatorsOrBuilder
List of validators for validating the parsed ast.
repeated .cel.expr.conformance.Validator validators = 9;- Specified by:
getValidatorsOrBuilderin interfaceEnvironmentOrBuilder
-
getFeaturesList
List of feature flags to be enabled or disabled.
repeated .cel.expr.conformance.Feature features = 10;- Specified by:
getFeaturesListin interfaceEnvironmentOrBuilder
-
getFeaturesOrBuilderList
List of feature flags to be enabled or disabled.
repeated .cel.expr.conformance.Feature features = 10;- Specified by:
getFeaturesOrBuilderListin interfaceEnvironmentOrBuilder
-
getFeaturesCount
public int getFeaturesCount()List of feature flags to be enabled or disabled.
repeated .cel.expr.conformance.Feature features = 10;- Specified by:
getFeaturesCountin interfaceEnvironmentOrBuilder
-
getFeatures
List of feature flags to be enabled or disabled.
repeated .cel.expr.conformance.Feature features = 10;- Specified by:
getFeaturesin interfaceEnvironmentOrBuilder
-
getFeaturesOrBuilder
List of feature flags to be enabled or disabled.
repeated .cel.expr.conformance.Feature features = 10;- Specified by:
getFeaturesOrBuilderin interfaceEnvironmentOrBuilder
-
getDisableStandardCelDeclarations
public boolean getDisableStandardCelDeclarations()Disables including the declarations from the standard CEL environment. NOTE: Do not disable the standard CEL declarations unless you are aware of the implications and have discussed your use case on cel-discuss@ or with the members of the cel-governance-team@ Deprecated: Use LibrarySubset to disable standard cel declarations instead: stdlib = LibrarySubset{ disable: true }bool disable_standard_cel_declarations = 11;- Specified by:
getDisableStandardCelDeclarationsin interfaceEnvironmentOrBuilder- Returns:
- The disableStandardCelDeclarations.
-
hasMessageTypeExtension
public boolean hasMessageTypeExtension()If provided, uses the provided FileDescriptorSet to extend types available the CEL expression. All "well-known" protobuf messages (google.protobuf.*) are known to the CEL compiler, but all others must be provided for type checking.
.google.protobuf.FileDescriptorSet message_type_extension = 12;- Specified by:
hasMessageTypeExtensionin interfaceEnvironmentOrBuilder- Returns:
- Whether the messageTypeExtension field is set.
-
getMessageTypeExtension
public com.google.protobuf.DescriptorProtos.FileDescriptorSet getMessageTypeExtension()If provided, uses the provided FileDescriptorSet to extend types available the CEL expression. All "well-known" protobuf messages (google.protobuf.*) are known to the CEL compiler, but all others must be provided for type checking.
.google.protobuf.FileDescriptorSet message_type_extension = 12;- Specified by:
getMessageTypeExtensionin interfaceEnvironmentOrBuilder- Returns:
- The messageTypeExtension.
-
getMessageTypeExtensionOrBuilder
public com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilder getMessageTypeExtensionOrBuilder()If provided, uses the provided FileDescriptorSet to extend types available the CEL expression. All "well-known" protobuf messages (google.protobuf.*) are known to the CEL compiler, but all others must be provided for type checking.
.google.protobuf.FileDescriptorSet message_type_extension = 12;- Specified by:
getMessageTypeExtensionOrBuilderin interfaceEnvironmentOrBuilder
-
getEnableMacroCallTracking
public boolean getEnableMacroCallTracking()When macro call tracking is enabled, the resulting SourceInfo in the CheckedExpr will contain a collection of expressions representing the function calls which were replaced by macros. Deprecated: Use Feature to enable macro call tracking Feature{ name: "cel.feature.macro_call_tracking", enabled: true }bool enable_macro_call_tracking = 13;- Specified by:
getEnableMacroCallTrackingin interfaceEnvironmentOrBuilder- Returns:
- The enableMacroCallTracking.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Environment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Environment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Environment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Environment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Environment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Environment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Environment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Environment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Environment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Environment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-