public static final class PerInstanceConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PerInstanceConfig.Builder> implements PerInstanceConfigOrBuilder
Protobuf type
google.cloud.compute.v1.PerInstanceConfig| Modifier and Type | Method and Description |
|---|---|
PerInstanceConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PerInstanceConfig |
build() |
PerInstanceConfig |
buildPartial() |
PerInstanceConfig.Builder |
clear() |
PerInstanceConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PerInstanceConfig.Builder |
clearFingerprint()
Fingerprint of this per-instance config.
|
PerInstanceConfig.Builder |
clearName()
The name of a per-instance configuration and its corresponding instance.
|
PerInstanceConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PerInstanceConfig.Builder |
clearPreservedState()
The intended preserved state for the given instance.
|
PerInstanceConfig.Builder |
clearStatus()
The status of applying this per-instance configuration on the corresponding managed instance.
|
PerInstanceConfig.Builder |
clone() |
PerInstanceConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
PreservedState |
getPreservedState()
The intended preserved state for the given instance.
|
PreservedState.Builder |
getPreservedStateBuilder()
The intended preserved state for the given instance.
|
PreservedStateOrBuilder |
getPreservedStateOrBuilder()
The intended preserved state for the given instance.
|
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.
|
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() |
PerInstanceConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PerInstanceConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
PerInstanceConfig.Builder |
mergeFrom(PerInstanceConfig other) |
PerInstanceConfig.Builder |
mergePreservedState(PreservedState value)
The intended preserved state for the given instance.
|
PerInstanceConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PerInstanceConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PerInstanceConfig.Builder |
setFingerprint(String value)
Fingerprint of this per-instance config.
|
PerInstanceConfig.Builder |
setFingerprintBytes(com.google.protobuf.ByteString value)
Fingerprint of this per-instance config.
|
PerInstanceConfig.Builder |
setName(String value)
The name of a per-instance configuration and its corresponding instance.
|
PerInstanceConfig.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of a per-instance configuration and its corresponding instance.
|
PerInstanceConfig.Builder |
setPreservedState(PreservedState.Builder builderForValue)
The intended preserved state for the given instance.
|
PerInstanceConfig.Builder |
setPreservedState(PreservedState value)
The intended preserved state for the given instance.
|
PerInstanceConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PerInstanceConfig.Builder |
setStatus(String value)
The status of applying this per-instance configuration on the corresponding managed instance.
|
PerInstanceConfig.Builder |
setStatusBytes(com.google.protobuf.ByteString value)
The status of applying this per-instance configuration on the corresponding managed instance.
|
PerInstanceConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PerInstanceConfig.Builder>public PerInstanceConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PerInstanceConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PerInstanceConfig.Builder>public PerInstanceConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PerInstanceConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PerInstanceConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PerInstanceConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PerInstanceConfig.Builder>public PerInstanceConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PerInstanceConfig.Builder>public PerInstanceConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PerInstanceConfig.Builder>public PerInstanceConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PerInstanceConfig.Builder>public PerInstanceConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PerInstanceConfig.Builder>public PerInstanceConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PerInstanceConfig.Builder>public PerInstanceConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PerInstanceConfig.Builder>public PerInstanceConfig.Builder mergeFrom(PerInstanceConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PerInstanceConfig.Builder>public PerInstanceConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PerInstanceConfig.Builder>IOExceptionpublic 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;hasFingerprint in interface PerInstanceConfigOrBuilderpublic 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;getFingerprint in interface PerInstanceConfigOrBuilderpublic 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;getFingerprintBytes in interface PerInstanceConfigOrBuilderpublic PerInstanceConfig.Builder setFingerprint(String value)
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;value - The fingerprint to set.public PerInstanceConfig.Builder clearFingerprint()
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;public PerInstanceConfig.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
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;value - The bytes for fingerprint to set.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;hasName in interface PerInstanceConfigOrBuilderpublic 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;getName in interface PerInstanceConfigOrBuilderpublic 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;getNameBytes in interface PerInstanceConfigOrBuilderpublic PerInstanceConfig.Builder setName(String value)
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;value - The name to set.public PerInstanceConfig.Builder clearName()
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;public PerInstanceConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for name to set.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;hasPreservedState in interface PerInstanceConfigOrBuilderpublic 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;getPreservedState in interface PerInstanceConfigOrBuilderpublic PerInstanceConfig.Builder setPreservedState(PreservedState value)
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;public PerInstanceConfig.Builder setPreservedState(PreservedState.Builder builderForValue)
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;public PerInstanceConfig.Builder mergePreservedState(PreservedState value)
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;public PerInstanceConfig.Builder clearPreservedState()
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;public PreservedState.Builder getPreservedStateBuilder()
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;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;getPreservedStateOrBuilder in interface PerInstanceConfigOrBuilderpublic 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;hasStatus in interface PerInstanceConfigOrBuilderpublic 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;getStatus in interface PerInstanceConfigOrBuilderpublic 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;getStatusBytes in interface PerInstanceConfigOrBuilderpublic PerInstanceConfig.Builder setStatus(String value)
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;value - The status to set.public PerInstanceConfig.Builder clearStatus()
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;public PerInstanceConfig.Builder setStatusBytes(com.google.protobuf.ByteString value)
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;value - The bytes for status to set.public final PerInstanceConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PerInstanceConfig.Builder>public final PerInstanceConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PerInstanceConfig.Builder>Copyright © 2023 Google LLC. All rights reserved.