- 1.86.0 (latest)
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 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
PerInstanceConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PerInstanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | |
build()
public PerInstanceConfig build()| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig | |
buildPartial()
public PerInstanceConfig buildPartial()| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig | |
clear()
public PerInstanceConfig.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | |
clearField(Descriptors.FieldDescriptor field)
public PerInstanceConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| 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 configuration or the field needs to be unset.
 optional string fingerprint = 234678500;
| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | This builder for chaining. | 
clearName()
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;
| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public PerInstanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | |
clearStatus()
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;
| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | This builder for chaining. | 
clone()
public PerInstanceConfig.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | |
getDefaultInstanceForType()
public PerInstanceConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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 configuration or the field needs to be unset.
 optional string fingerprint = 234678500;
| Returns | |
|---|---|
| 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 configuration or the field needs to be unset.
 optional string fingerprint = 234678500;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for fingerprint. | 
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;
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public 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 | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description | 
| PreservedStateOrBuilder | |
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;
| Returns | |
|---|---|
| Type | Description | 
| String | The status. | 
getStatusBytes()
public 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 | |
|---|---|
| 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 configuration or the field needs to be unset.
 optional string fingerprint = 234678500;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the fingerprint field is set. | 
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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the preservedState field is set. | 
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;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the status field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(PerInstanceConfig other)
public PerInstanceConfig.Builder mergeFrom(PerInstanceConfig other)| Parameter | |
|---|---|
| Name | Description | 
| other | PerInstanceConfig | 
| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PerInstanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public PerInstanceConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description | 
| value | PreservedState | 
| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PerInstanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public PerInstanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| 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 configuration or the field needs to be unset.
 optional string fingerprint = 234678500;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe fingerprint to set. | 
| Returns | |
|---|---|
| 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 configuration or the field needs to be unset.
 optional string fingerprint = 234678500;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for fingerprint to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | This builder for chaining. | 
setName(String value)
public 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;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public PerInstanceConfig.Builder setNameBytes(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;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description | 
| value | PreservedState | 
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | PreservedState.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PerInstanceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | |
setStatus(String value)
public 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;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe status to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | This builder for chaining. | 
setStatusBytes(ByteString value)
public PerInstanceConfig.Builder setStatusBytes(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;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for status to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final PerInstanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| PerInstanceConfig.Builder | |