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
google.cloud.compute.v1.PerInstanceConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PerInstanceConfig.Builder
static class
PerInstanceConfig.Status
The 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 int
FINGERPRINT_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
PRESERVED_STATE_FIELD_NUMBER
static int
STATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static PerInstanceConfig
getDefaultInstance()
PerInstanceConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getFingerprint()
Fingerprint of this per-instance config.com.google.protobuf.ByteString
getFingerprintBytes()
Fingerprint of this per-instance config.String
getName()
The name of a per-instance configuration and its corresponding instance.com.google.protobuf.ByteString
getNameBytes()
The name of a per-instance configuration and its corresponding instance.com.google.protobuf.Parser<PerInstanceConfig>
getParserForType()
PreservedState
getPreservedState()
The intended preserved state for the given instance.PreservedStateOrBuilder
getPreservedStateOrBuilder()
The intended preserved state for the given instance.int
getSerializedSize()
String
getStatus()
The status of applying this per-instance configuration on the corresponding managed instance.com.google.protobuf.ByteString
getStatusBytes()
The status of applying this per-instance configuration on the corresponding managed instance.boolean
hasFingerprint()
Fingerprint of this per-instance config.int
hashCode()
boolean
hasName()
The name of a per-instance configuration and its corresponding instance.boolean
hasPreservedState()
The intended preserved state for the given instance.boolean
hasStatus()
The status of applying this per-instance configuration on the corresponding managed instance.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static PerInstanceConfig.Builder
newBuilder()
static PerInstanceConfig.Builder
newBuilder(PerInstanceConfig prototype)
PerInstanceConfig.Builder
newBuilderForType()
protected PerInstanceConfig.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static PerInstanceConfig
parseDelimitedFrom(InputStream input)
static PerInstanceConfig
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PerInstanceConfig
parseFrom(byte[] data)
static PerInstanceConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PerInstanceConfig
parseFrom(com.google.protobuf.ByteString data)
static PerInstanceConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PerInstanceConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static PerInstanceConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PerInstanceConfig
parseFrom(InputStream input)
static PerInstanceConfig
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PerInstanceConfig
parseFrom(ByteBuffer data)
static PerInstanceConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<PerInstanceConfig>
parser()
PerInstanceConfig.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
hasFingerprint
in 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:
getFingerprint
in 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:
getFingerprintBytes
in 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:
hasName
in 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:
getName
in 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:
getNameBytes
in 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:
hasPreservedState
in 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:
getPreservedState
in 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:
getPreservedStateOrBuilder
in 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:
hasStatus
in 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:
getStatus
in 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:
getStatusBytes
in interfacePerInstanceConfigOrBuilder
- Returns:
- The bytes for status.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PerInstanceConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PerInstanceConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-