Package com.google.cloud.compute.v1
Interface PerInstanceConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PerInstanceConfig,PerInstanceConfig.Builder
public interface PerInstanceConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFingerprint()Fingerprint of this per-instance config.com.google.protobuf.ByteStringgetFingerprintBytes()Fingerprint of this per-instance config.StringgetName()The name of a per-instance configuration and its corresponding instance.com.google.protobuf.ByteStringgetNameBytes()The name of a per-instance configuration and its corresponding instance.PreservedStategetPreservedState()The intended preserved state for the given instance.PreservedStateOrBuildergetPreservedStateOrBuilder()The intended preserved state for the given instance.StringgetStatus()The status of applying this per-instance configuration on the corresponding managed instance.com.google.protobuf.ByteStringgetStatusBytes()The status of applying this per-instance configuration on the corresponding managed instance.booleanhasFingerprint()Fingerprint of this per-instance config.booleanhasName()The name of a per-instance configuration and its corresponding instance.booleanhasPreservedState()The intended preserved state for the given instance.booleanhasStatus()The status of applying this per-instance configuration on the corresponding managed instance.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasFingerprint
boolean hasFingerprint()
Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset.
optional string fingerprint = 234678500;- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
String getFingerprint()
Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset.
optional string fingerprint = 234678500;- Returns:
- The fingerprint.
-
getFingerprintBytes
com.google.protobuf.ByteString getFingerprintBytes()
Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset.
optional string fingerprint = 234678500;- Returns:
- The bytes for fingerprint.
-
hasName
boolean hasName()
The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error.
optional string name = 3373707;- Returns:
- Whether the name field is set.
-
getName
String getName()
The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error.
optional string name = 3373707;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error.
optional string name = 3373707;- Returns:
- The bytes for name.
-
hasPreservedState
boolean hasPreservedState()
The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
optional .google.cloud.compute.v1.PreservedState preserved_state = 2634026;- Returns:
- Whether the preservedState field is set.
-
getPreservedState
PreservedState getPreservedState()
The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
optional .google.cloud.compute.v1.PreservedState preserved_state = 2634026;- Returns:
- The preservedState.
-
getPreservedStateOrBuilder
PreservedStateOrBuilder getPreservedStateOrBuilder()
The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
optional .google.cloud.compute.v1.PreservedState preserved_state = 2634026;
-
hasStatus
boolean hasStatus()
The status of applying this per-instance configuration on the corresponding managed instance. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- Whether the status field is set.
-
getStatus
String getStatus()
The status of applying this per-instance configuration on the corresponding managed instance. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- The status.
-
getStatusBytes
com.google.protobuf.ByteString getStatusBytes()
The status of applying this per-instance configuration on the corresponding managed instance. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- The bytes for status.
-
-