Package com.google.cloud.compute.v1
Class PerInstanceConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.PerInstanceConfig
-
- All Implemented Interfaces:
PerInstanceConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class PerInstanceConfig extends com.google.protobuf.GeneratedMessageV3 implements PerInstanceConfigOrBuilder
Protobuf typegoogle.cloud.compute.v1.PerInstanceConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPerInstanceConfig.Builderstatic classPerInstanceConfig.StatusThe status of applying this per-instance configuration on the corresponding managed instance.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intFINGERPRINT_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPRESERVED_STATE_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static PerInstanceConfiggetDefaultInstance()PerInstanceConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.Parser<PerInstanceConfig>getParserForType()PreservedStategetPreservedState()The intended preserved state for the given instance.PreservedStateOrBuildergetPreservedStateOrBuilder()The intended preserved state for the given instance.intgetSerializedSize()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.inthashCode()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static PerInstanceConfig.BuildernewBuilder()static PerInstanceConfig.BuildernewBuilder(PerInstanceConfig prototype)PerInstanceConfig.BuildernewBuilderForType()protected PerInstanceConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PerInstanceConfigparseDelimitedFrom(InputStream input)static PerInstanceConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PerInstanceConfigparseFrom(byte[] data)static PerInstanceConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PerInstanceConfigparseFrom(com.google.protobuf.ByteString data)static PerInstanceConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PerInstanceConfigparseFrom(com.google.protobuf.CodedInputStream input)static PerInstanceConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PerInstanceConfigparseFrom(InputStream input)static PerInstanceConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PerInstanceConfigparseFrom(ByteBuffer data)static PerInstanceConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PerInstanceConfig>parser()PerInstanceConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
FINGERPRINT_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRESERVED_STATE_FIELD_NUMBER
public static final int PRESERVED_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasFingerprint
public 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;- Specified by:
hasFingerprintin interfacePerInstanceConfigOrBuilder- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
public 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;- Specified by:
getFingerprintin interfacePerInstanceConfigOrBuilder- Returns:
- The fingerprint.
-
getFingerprintBytes
public 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;- Specified by:
getFingerprintBytesin interfacePerInstanceConfigOrBuilder- Returns:
- The bytes for fingerprint.
-
hasName
public 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;- Specified by:
hasNamein interfacePerInstanceConfigOrBuilder- Returns:
- Whether the name field is set.
-
getName
public 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;- Specified by:
getNamein interfacePerInstanceConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfacePerInstanceConfigOrBuilder- Returns:
- The bytes for name.
-
hasPreservedState
public 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;- Specified by:
hasPreservedStatein interfacePerInstanceConfigOrBuilder- Returns:
- Whether the preservedState field is set.
-
getPreservedState
public 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;- Specified by:
getPreservedStatein interfacePerInstanceConfigOrBuilder- Returns:
- The preservedState.
-
getPreservedStateOrBuilder
public 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;- Specified by:
getPreservedStateOrBuilderin interfacePerInstanceConfigOrBuilder
-
hasStatus
public 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;- Specified by:
hasStatusin interfacePerInstanceConfigOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
public 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;- Specified by:
getStatusin interfacePerInstanceConfigOrBuilder- Returns:
- The status.
-
getStatusBytes
public 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;- Specified by:
getStatusBytesin interfacePerInstanceConfigOrBuilder- Returns:
- The bytes for status.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PerInstanceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PerInstanceConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PerInstanceConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PerInstanceConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PerInstanceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PerInstanceConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PerInstanceConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PerInstanceConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PerInstanceConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PerInstanceConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static PerInstanceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PerInstanceConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public PerInstanceConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PerInstanceConfig.Builder newBuilder()
-
newBuilder
public static PerInstanceConfig.Builder newBuilder(PerInstanceConfig prototype)
-
toBuilder
public PerInstanceConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PerInstanceConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PerInstanceConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PerInstanceConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<PerInstanceConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PerInstanceConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-