Interface TagHoldOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TagHold,TagHold.Builder
public interface TagHoldOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetHelpLink()Optional.com.google.protobuf.ByteStringgetHelpLinkBytes()Optional.StringgetHolder()Required.com.google.protobuf.ByteStringgetHolderBytes()Required.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetOrigin()Optional.com.google.protobuf.ByteStringgetOriginBytes()Optional.booleanhasCreateTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The resource name of a TagHold. This is a String of the form: `tagValues/{tag-value-id}/tagHolds/{tag-hold-id}` (e.g. `tagValues/123/tagHolds/456`). This resource name is generated by the server.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of a TagHold. This is a String of the form: `tagValues/{tag-value-id}/tagHolds/{tag-hold-id}` (e.g. `tagValues/123/tagHolds/456`). This resource name is generated by the server.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getHolder
String getHolder()
Required. The name of the resource where the TagValue is being used. Must be less than 200 characters. E.g. `//compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group`
string holder = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The holder.
-
getHolderBytes
com.google.protobuf.ByteString getHolderBytes()
Required. The name of the resource where the TagValue is being used. Must be less than 200 characters. E.g. `//compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group`
string holder = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for holder.
-
getOrigin
String getOrigin()
Optional. An optional string representing the origin of this request. This field should include human-understandable information to distinguish origins from each other. Must be less than 200 characters. E.g. `migs-35678234`
string origin = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The origin.
-
getOriginBytes
com.google.protobuf.ByteString getOriginBytes()
Optional. An optional string representing the origin of this request. This field should include human-understandable information to distinguish origins from each other. Must be less than 200 characters. E.g. `migs-35678234`
string origin = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for origin.
-
getHelpLink
String getHelpLink()
Optional. A URL where an end user can learn more about removing this hold. E.g. `https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing`
string help_link = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The helpLink.
-
getHelpLinkBytes
com.google.protobuf.ByteString getHelpLinkBytes()
Optional. A URL where an end user can learn more about removing this hold. E.g. `https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing`
string help_link = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for helpLink.
-
hasCreateTime
boolean hasCreateTime()
Output only. The time this TagHold was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The time this TagHold was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time this TagHold was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
-