Package com.google.cloud.compute.v1
Interface TagsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Tags,Tags.Builder
@Generated
public interface TagsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking.com.google.protobuf.ByteStringSpecifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking.getItems(int index) An array of tags.com.google.protobuf.ByteStringgetItemsBytes(int index) An array of tags.intAn array of tags.An array of tags.booleanSpecifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking.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
-
hasFingerprint
boolean hasFingerprint()Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance.
optional string fingerprint = 234678500;- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
String getFingerprint()Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance.
optional string fingerprint = 234678500;- Returns:
- The fingerprint.
-
getFingerprintBytes
com.google.protobuf.ByteString getFingerprintBytes()Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance.
optional string fingerprint = 234678500;- Returns:
- The bytes for fingerprint.
-
getItemsList
An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
repeated string items = 100526016;- Returns:
- A list containing the items.
-
getItemsCount
int getItemsCount()An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
repeated string items = 100526016;- Returns:
- The count of items.
-
getItems
An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
repeated string items = 100526016;- Parameters:
index- The index of the element to return.- Returns:
- The items at the given index.
-
getItemsBytes
com.google.protobuf.ByteString getItemsBytes(int index) An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
repeated string items = 100526016;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the items at the given index.
-