Package com.google.cloud.deploy.v1
Interface TargetAttributeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TargetAttribute,TargetAttribute.Builder
@Generated
public interface TargetAttributeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Target labels.getId()Optional.com.google.protobuf.ByteStringOptional.Deprecated.intTarget labels.Target labels.getLabelsOrDefault(String key, String defaultValue) Target labels.getLabelsOrThrow(String key) Target labels.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
-
getId
String getId()Optional. ID of the `Target`. The value of this field could be one of the following: * The last segment of a target name * "*", all targets in a location
string id = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Optional. ID of the `Target`. The value of this field could be one of the following: * The last segment of a target name * "*", all targets in a location
string id = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for id.
-
getLabelsCount
int getLabelsCount()Target labels.
map<string, string> labels = 2; -
containsLabels
Target labels.
map<string, string> labels = 2; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Target labels.
map<string, string> labels = 2; -
getLabelsOrDefault
Target labels.
map<string, string> labels = 2; -
getLabelsOrThrow
Target labels.
map<string, string> labels = 2;
-