Package com.google.cloud.compute.v1
Interface InstanceSettingsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceSettings,InstanceSettings.Builder
@Generated
public interface InstanceSettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking.com.google.protobuf.ByteStringSpecifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking.getKind()Output only.com.google.protobuf.ByteStringOutput only.The metadata key/value pairs assigned to all the instances in the corresponding scope.The metadata key/value pairs assigned to all the instances in the corresponding scope.getZone()Output only.com.google.protobuf.ByteStringOutput only.booleanSpecifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking.booleanhasKind()Output only.booleanThe metadata key/value pairs assigned to all the instances in the corresponding scope.booleanhasZone()Output 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
-
hasFingerprint
boolean hasFingerprint()Specifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance settings resource. You must always provide an up-to-date fingerprint hash in order to update or change the resource, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
optional string fingerprint = 234678500;- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
String getFingerprint()Specifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance settings resource. You must always provide an up-to-date fingerprint hash in order to update or change the resource, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
optional string fingerprint = 234678500;- Returns:
- The fingerprint.
-
getFingerprintBytes
com.google.protobuf.ByteString getFingerprintBytes()Specifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance settings resource. You must always provide an up-to-date fingerprint hash in order to update or change the resource, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
optional string fingerprint = 234678500;- Returns:
- The bytes for fingerprint.
-
hasKind
boolean hasKind()Output only. [Output Only] Type of the resource. Alwayscompute#instance_settings for instance settings.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. [Output Only] Type of the resource. Alwayscompute#instance_settings for instance settings.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Alwayscompute#instance_settings for instance settings.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
hasMetadata
boolean hasMetadata()The metadata key/value pairs assigned to all the instances in the corresponding scope.
optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735;- Returns:
- Whether the metadata field is set.
-
getMetadata
InstanceSettingsMetadata getMetadata()The metadata key/value pairs assigned to all the instances in the corresponding scope.
optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735;- Returns:
- The metadata.
-
getMetadataOrBuilder
InstanceSettingsMetadataOrBuilder getMetadataOrBuilder()The metadata key/value pairs assigned to all the instances in the corresponding scope.
optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735; -
hasZone
boolean hasZone()Output only. [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;- Returns:
- Whether the zone field is set.
-
getZone
String getZone()Output only. [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;- Returns:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()Output only. [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;- Returns:
- The bytes for zone.
-