Package org.yamcs.protobuf
Interface CreateInstanceRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateInstanceRequest
,CreateInstanceRequest.Builder
public interface CreateInstanceRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsLabels
(String key) Labels assigned to this instance.boolean
Arguments for substitution in the template definition.Deprecated.int
Labels assigned to this instance.Labels assigned to this instance.getLabelsOrDefault
(String key, String defaultValue) Labels assigned to this instance.getLabelsOrThrow
(String key) Labels assigned to this instance.getName()
**Required.** The name of the instance.com.google.protobuf.ByteString
**Required.** The name of the instance.**Required.** The name of the template for this instance.Deprecated.int
Arguments for substitution in the template definition.Arguments for substitution in the template definition.getTemplateArgsOrDefault
(String key, String defaultValue) Arguments for substitution in the template definition.Arguments for substitution in the template definition.com.google.protobuf.ByteString
**Required.** The name of the template for this instance.boolean
hasName()
**Required.** The name of the instance.boolean
**Required.** The name of the template for this instance.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()**Required.** The name of the instance.
optional string name = 1;
- Returns:
- Whether the name field is set.
-
getName
String getName()**Required.** The name of the instance.
optional string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()**Required.** The name of the instance.
optional string name = 1;
- Returns:
- The bytes for name.
-
hasTemplate
boolean hasTemplate()**Required.** The name of the template for this instance.
optional string template = 2;
- Returns:
- Whether the template field is set.
-
getTemplate
String getTemplate()**Required.** The name of the template for this instance.
optional string template = 2;
- Returns:
- The template.
-
getTemplateBytes
com.google.protobuf.ByteString getTemplateBytes()**Required.** The name of the template for this instance.
optional string template = 2;
- Returns:
- The bytes for template.
-
getTemplateArgsCount
int getTemplateArgsCount()Arguments for substitution in the template definition. Each entry is keyed by the argument name. The value must be a string.
map<string, string> templateArgs = 3;
-
containsTemplateArgs
Arguments for substitution in the template definition. Each entry is keyed by the argument name. The value must be a string.
map<string, string> templateArgs = 3;
-
getTemplateArgs
Deprecated.UsegetTemplateArgsMap()
instead. -
getTemplateArgsMap
Arguments for substitution in the template definition. Each entry is keyed by the argument name. The value must be a string.
map<string, string> templateArgs = 3;
-
getTemplateArgsOrDefault
Arguments for substitution in the template definition. Each entry is keyed by the argument name. The value must be a string.
map<string, string> templateArgs = 3;
-
getTemplateArgsOrThrow
Arguments for substitution in the template definition. Each entry is keyed by the argument name. The value must be a string.
map<string, string> templateArgs = 3;
-
getLabelsCount
int getLabelsCount()Labels assigned to this instance. Each entry is keyed by the tag name of the label. The value represent the label value for that tag.
map<string, string> labels = 4;
-
containsLabels
Labels assigned to this instance. Each entry is keyed by the tag name of the label. The value represent the label value for that tag.
map<string, string> labels = 4;
-
getLabels
Deprecated.UsegetLabelsMap()
instead. -
getLabelsMap
Labels assigned to this instance. Each entry is keyed by the tag name of the label. The value represent the label value for that tag.
map<string, string> labels = 4;
-
getLabelsOrDefault
Labels assigned to this instance. Each entry is keyed by the tag name of the label. The value represent the label value for that tag.
map<string, string> labels = 4;
-
getLabelsOrThrow
Labels assigned to this instance. Each entry is keyed by the tag name of the label. The value represent the label value for that tag.
map<string, string> labels = 4;
-