com.spotify.confidence.shaded.flags.resolver.v1.ResolvedFlagOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: confidence/flags/resolver/v1/api.proto
package com.spotify.confidence.shaded.flags.resolver.v1;
public interface ResolvedFlagOrBuilder extends
// @@protoc_insertion_point(interface_extends:confidence.flags.resolver.v1.ResolvedFlag)
com.google.protobuf.MessageOrBuilder {
/**
*
* The id of the flag that as resolved.
*
*
* string flag = 1 [(.google.api.resource_reference) = { ... }
* @return The flag.
*/
java.lang.String getFlag();
/**
*
* The id of the flag that as resolved.
*
*
* string flag = 1 [(.google.api.resource_reference) = { ... }
* @return The bytes for flag.
*/
com.google.protobuf.ByteString
getFlagBytes();
/**
*
* The id of the resolved variant has the format `flags/abc/variants/xyz`.
*
*
* string variant = 2 [(.google.api.resource_reference) = { ... }
* @return The variant.
*/
java.lang.String getVariant();
/**
*
* The id of the resolved variant has the format `flags/abc/variants/xyz`.
*
*
* string variant = 2 [(.google.api.resource_reference) = { ... }
* @return The bytes for variant.
*/
com.google.protobuf.ByteString
getVariantBytes();
/**
*
* The value corresponding to the variant. It will always be a json object,
* for example `{ "color": "red", "size": 12 }`.
*
*
* .google.protobuf.Struct value = 3;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
*
* The value corresponding to the variant. It will always be a json object,
* for example `{ "color": "red", "size": 12 }`.
*
*
* .google.protobuf.Struct value = 3;
* @return The value.
*/
com.google.protobuf.Struct getValue();
/**
*
* The value corresponding to the variant. It will always be a json object,
* for example `{ "color": "red", "size": 12 }`.
*
*
* .google.protobuf.Struct value = 3;
*/
com.google.protobuf.StructOrBuilder getValueOrBuilder();
/**
*
* The schema of the value that was returned. For example:
* ```
* {
* "schema": {
* "color": { "stringSchema": {} },
* "size": { "intSchema": {} }
* }
* }
* ```
*
*
* .confidence.flags.types.v1.FlagSchema.StructFlagSchema flag_schema = 4;
* @return Whether the flagSchema field is set.
*/
boolean hasFlagSchema();
/**
*
* The schema of the value that was returned. For example:
* ```
* {
* "schema": {
* "color": { "stringSchema": {} },
* "size": { "intSchema": {} }
* }
* }
* ```
*
*
* .confidence.flags.types.v1.FlagSchema.StructFlagSchema flag_schema = 4;
* @return The flagSchema.
*/
com.spotify.confidence.shaded.flags.types.v1.FlagSchema.StructFlagSchema getFlagSchema();
/**
*
* The schema of the value that was returned. For example:
* ```
* {
* "schema": {
* "color": { "stringSchema": {} },
* "size": { "intSchema": {} }
* }
* }
* ```
*
*
* .confidence.flags.types.v1.FlagSchema.StructFlagSchema flag_schema = 4;
*/
com.spotify.confidence.shaded.flags.types.v1.FlagSchema.StructFlagSchemaOrBuilder getFlagSchemaOrBuilder();
/**
*
* The reason to why the flag could be resolved or not.
*
*
* .confidence.flags.resolver.v1.ResolveReason reason = 5;
* @return The enum numeric value on the wire for reason.
*/
int getReasonValue();
/**
*
* The reason to why the flag could be resolved or not.
*
*
* .confidence.flags.resolver.v1.ResolveReason reason = 5;
* @return The reason.
*/
com.spotify.confidence.shaded.flags.resolver.v1.ResolveReason getReason();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy