Interface VariantOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Variant,Variant.Builder
@Generated
public interface VariantOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional. labels to represent any metadata associated with the variant.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Deprecated.intOptional. labels to represent any metadata associated with the variant.Optional. labels to represent any metadata associated with the variant.getLabelsOrDefault(String key, String defaultValue) Optional. labels to represent any metadata associated with the variant.getLabelsOrThrow(String key) Optional. labels to represent any metadata associated with the variant.getName()Identifier.com.google.protobuf.ByteStringIdentifier.getResources(int index) Required.com.google.protobuf.ByteStringgetResourcesBytes(int index) Required.intRequired.Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLabelsCount
int getLabelsCount()Optional. labels to represent any metadata associated with the variant.
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. labels to represent any metadata associated with the variant.
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. labels to represent any metadata associated with the variant.
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. labels to represent any metadata associated with the variant.
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. labels to represent any metadata associated with the variant.
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getResourcesList
Required. Input only. Unordered list. resources contain the kubernetes manifests (YAMLs) for this variant.
repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = INPUT_ONLY];- Returns:
- A list containing the resources.
-
getResourcesCount
int getResourcesCount()Required. Input only. Unordered list. resources contain the kubernetes manifests (YAMLs) for this variant.
repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = INPUT_ONLY];- Returns:
- The count of resources.
-
getResources
Required. Input only. Unordered list. resources contain the kubernetes manifests (YAMLs) for this variant.
repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = INPUT_ONLY];- Parameters:
index- The index of the element to return.- Returns:
- The resources at the given index.
-
getResourcesBytes
com.google.protobuf.ByteString getResourcesBytes(int index) Required. Input only. Unordered list. resources contain the kubernetes manifests (YAMLs) for this variant.
repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = INPUT_ONLY];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resources at the given index.
-
getName
String getName()Identifier. Name follows format of projects/{project}/locations/{location}/resourceBundles/{resource_bundle}/releases/{release}/variants/{variant}string name = 3 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. Name follows format of projects/{project}/locations/{location}/resourceBundles/{resource_bundle}/releases/{release}/variants/{variant}string name = 3 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-