- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class PerInstanceConfig.Builder extends GeneratedMessageV3.Builder<PerInstanceConfig.Builder> implements PerInstanceConfigOrBuilder
Protobuf type google.cloud.compute.v1.PerInstanceConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PerInstanceConfig.BuilderImplements
PerInstanceConfigOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PerInstanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PerInstanceConfig.Builder |
build()
public PerInstanceConfig build()
Type | Description |
PerInstanceConfig |
buildPartial()
public PerInstanceConfig buildPartial()
Type | Description |
PerInstanceConfig |
clear()
public PerInstanceConfig.Builder clear()
Type | Description |
PerInstanceConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public PerInstanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PerInstanceConfig.Builder |
clearFingerprint()
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 config or the field needs to be unset.
optional string fingerprint = 234678500;
Type | Description |
PerInstanceConfig.Builder | This builder for chaining. |
clearName()
public PerInstanceConfig.Builder clearName()
The name of a per-instance config and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance config 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 config 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;
Type | Description |
PerInstanceConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PerInstanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PerInstanceConfig.Builder |
clearPreservedState()
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;
Type | Description |
PerInstanceConfig.Builder |
clearStatus()
public PerInstanceConfig.Builder clearStatus()
The status of applying this per-instance config on the corresponding managed instance. Check the Status enum for the list of possible values.
optional string status = 181260274;
Type | Description |
PerInstanceConfig.Builder | This builder for chaining. |
clone()
public PerInstanceConfig.Builder clone()
Type | Description |
PerInstanceConfig.Builder |
getDefaultInstanceForType()
public PerInstanceConfig getDefaultInstanceForType()
Type | Description |
PerInstanceConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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 config or the field needs to be unset.
optional string fingerprint = 234678500;
Type | Description |
String | The fingerprint. |
getFingerprintBytes()
public 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 config or the field needs to be unset.
optional string fingerprint = 234678500;
Type | Description |
ByteString | The bytes for fingerprint. |
getName()
public String getName()
The name of a per-instance config and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance config 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 config 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;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name of a per-instance config and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance config 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 config 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;
Type | Description |
ByteString | The bytes for name. |
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;
Type | Description |
PreservedState | The preservedState. |
getPreservedStateBuilder()
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;
Type | Description |
PreservedState.Builder |
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;
Type | Description |
PreservedStateOrBuilder |
getStatus()
public String getStatus()
The status of applying this per-instance config on the corresponding managed instance. Check the Status enum for the list of possible values.
optional string status = 181260274;
Type | Description |
String | The status. |
getStatusBytes()
public ByteString getStatusBytes()
The status of applying this per-instance config on the corresponding managed instance. Check the Status enum for the list of possible values.
optional string status = 181260274;
Type | Description |
ByteString | The bytes for status. |
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 config or the field needs to be unset.
optional string fingerprint = 234678500;
Type | Description |
boolean | Whether the fingerprint field is set. |
hasName()
public boolean hasName()
The name of a per-instance config and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance config 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 config 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;
Type | Description |
boolean | Whether the name field is set. |
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;
Type | Description |
boolean | Whether the preservedState field is set. |
hasStatus()
public boolean hasStatus()
The status of applying this per-instance config on the corresponding managed instance. Check the Status enum for the list of possible values.
optional string status = 181260274;
Type | Description |
boolean | Whether the status field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PerInstanceConfig other)
public PerInstanceConfig.Builder mergeFrom(PerInstanceConfig other)
Name | Description |
other | PerInstanceConfig |
Type | Description |
PerInstanceConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PerInstanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PerInstanceConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PerInstanceConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PerInstanceConfig.Builder |
mergePreservedState(PreservedState value)
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;
Name | Description |
value | PreservedState |
Type | Description |
PerInstanceConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PerInstanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PerInstanceConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PerInstanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PerInstanceConfig.Builder |
setFingerprint(String value)
public 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 config or the field needs to be unset.
optional string fingerprint = 234678500;
Name | Description |
value | String The fingerprint to set. |
Type | Description |
PerInstanceConfig.Builder | This builder for chaining. |
setFingerprintBytes(ByteString value)
public PerInstanceConfig.Builder setFingerprintBytes(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 config or the field needs to be unset.
optional string fingerprint = 234678500;
Name | Description |
value | ByteString The bytes for fingerprint to set. |
Type | Description |
PerInstanceConfig.Builder | This builder for chaining. |
setName(String value)
public PerInstanceConfig.Builder setName(String value)
The name of a per-instance config and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance config 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 config 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;
Name | Description |
value | String The name to set. |
Type | Description |
PerInstanceConfig.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public PerInstanceConfig.Builder setNameBytes(ByteString value)
The name of a per-instance config and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance config 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 config 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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
PerInstanceConfig.Builder | This builder for chaining. |
setPreservedState(PreservedState value)
public 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;
Name | Description |
value | PreservedState |
Type | Description |
PerInstanceConfig.Builder |
setPreservedState(PreservedState.Builder builderForValue)
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;
Name | Description |
builderForValue | PreservedState.Builder |
Type | Description |
PerInstanceConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PerInstanceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PerInstanceConfig.Builder |
setStatus(String value)
public PerInstanceConfig.Builder setStatus(String value)
The status of applying this per-instance config on the corresponding managed instance. Check the Status enum for the list of possible values.
optional string status = 181260274;
Name | Description |
value | String The status to set. |
Type | Description |
PerInstanceConfig.Builder | This builder for chaining. |
setStatusBytes(ByteString value)
public PerInstanceConfig.Builder setStatusBytes(ByteString value)
The status of applying this per-instance config on the corresponding managed instance. Check the Status enum for the list of possible values.
optional string status = 181260274;
Name | Description |
value | ByteString The bytes for status to set. |
Type | Description |
PerInstanceConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PerInstanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PerInstanceConfig.Builder |