Package com.google.cloud.compute.v1
Class BulkInsertInstanceResource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BulkInsertInstanceResource.Builder>
com.google.cloud.compute.v1.BulkInsertInstanceResource.Builder
- All Implemented Interfaces:
BulkInsertInstanceResourceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BulkInsertInstanceResource
public static final class BulkInsertInstanceResource.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BulkInsertInstanceResource.Builder>
implements BulkInsertInstanceResourceOrBuilder
A transient resource used in compute.instances.bulkInsert and compute.regionInstances.bulkInsert . This resource is not persisted anywhere, it is used only for processing the requests.Protobuf type
google.cloud.compute.v1.BulkInsertInstanceResource-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The maximum number of instances to create.A flexible specification of machine type of instances to create.The instance properties defining the VM instances to be created.Policy for choosing target zone.The minimum number of instances to create.The string pattern used for the names of the VMs.Specifies the instance template from which to create instances.booleanPer-instance properties to be set on individual instances.longgetCount()The maximum number of instances to create.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA flexible specification of machine type of instances to create.A flexible specification of machine type of instances to create.A flexible specification of machine type of instances to create.The instance properties defining the VM instances to be created.The instance properties defining the VM instances to be created.The instance properties defining the VM instances to be created.Policy for choosing target zone.Policy for choosing target zone.Policy for choosing target zone.longThe minimum number of instances to create.Deprecated.The string pattern used for the names of the VMs.com.google.protobuf.ByteStringThe string pattern used for the names of the VMs.Deprecated.intPer-instance properties to be set on individual instances.Per-instance properties to be set on individual instances.getPerInstancePropertiesOrDefault(String key, BulkInsertInstanceResourcePerInstanceProperties defaultValue) Per-instance properties to be set on individual instances.Per-instance properties to be set on individual instances.Specifies the instance template from which to create instances.com.google.protobuf.ByteStringSpecifies the instance template from which to create instances.booleanhasCount()The maximum number of instances to create.booleanA flexible specification of machine type of instances to create.booleanThe instance properties defining the VM instances to be created.booleanPolicy for choosing target zone.booleanThe minimum number of instances to create.booleanThe string pattern used for the names of the VMs.booleanSpecifies the instance template from which to create instances.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) A flexible specification of machine type of instances to create.The instance properties defining the VM instances to be created.Policy for choosing target zone.Per-instance properties to be set on individual instances.Per-instance properties to be set on individual instances.Per-instance properties to be set on individual instances.Per-instance properties to be set on individual instances.setCount(long value) The maximum number of instances to create.A flexible specification of machine type of instances to create.setInstanceFlexibilityPolicy(InstanceFlexibilityPolicy.Builder builderForValue) A flexible specification of machine type of instances to create.The instance properties defining the VM instances to be created.setInstanceProperties(InstanceProperties.Builder builderForValue) The instance properties defining the VM instances to be created.setLocationPolicy(LocationPolicy value) Policy for choosing target zone.setLocationPolicy(LocationPolicy.Builder builderForValue) Policy for choosing target zone.setMinCount(long value) The minimum number of instances to create.setNamePattern(String value) The string pattern used for the names of the VMs.setNamePatternBytes(com.google.protobuf.ByteString value) The string pattern used for the names of the VMs.setSourceInstanceTemplate(String value) Specifies the instance template from which to create instances.setSourceInstanceTemplateBytes(com.google.protobuf.ByteString value) Specifies the instance template from which to create instances.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<BulkInsertInstanceResource.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<BulkInsertInstanceResource.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BulkInsertInstanceResource.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BulkInsertInstanceResource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BulkInsertInstanceResource.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BulkInsertInstanceResource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BulkInsertInstanceResource.Builder>
-
mergeFrom
public BulkInsertInstanceResource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BulkInsertInstanceResource.Builder>- Throws:
IOException
-
hasCount
public boolean hasCount()The maximum number of instances to create.
optional int64 count = 94851343;- Specified by:
hasCountin interfaceBulkInsertInstanceResourceOrBuilder- Returns:
- Whether the count field is set.
-
getCount
public long getCount()The maximum number of instances to create.
optional int64 count = 94851343;- Specified by:
getCountin interfaceBulkInsertInstanceResourceOrBuilder- Returns:
- The count.
-
setCount
The maximum number of instances to create.
optional int64 count = 94851343;- Parameters:
value- The count to set.- Returns:
- This builder for chaining.
-
clearCount
The maximum number of instances to create.
optional int64 count = 94851343;- Returns:
- This builder for chaining.
-
hasInstanceFlexibilityPolicy
public boolean hasInstanceFlexibilityPolicy()A flexible specification of machine type of instances to create.
optional .google.cloud.compute.v1.InstanceFlexibilityPolicy instance_flexibility_policy = 26937090;- Specified by:
hasInstanceFlexibilityPolicyin interfaceBulkInsertInstanceResourceOrBuilder- Returns:
- Whether the instanceFlexibilityPolicy field is set.
-
getInstanceFlexibilityPolicy
A flexible specification of machine type of instances to create.
optional .google.cloud.compute.v1.InstanceFlexibilityPolicy instance_flexibility_policy = 26937090;- Specified by:
getInstanceFlexibilityPolicyin interfaceBulkInsertInstanceResourceOrBuilder- Returns:
- The instanceFlexibilityPolicy.
-
setInstanceFlexibilityPolicy
public BulkInsertInstanceResource.Builder setInstanceFlexibilityPolicy(InstanceFlexibilityPolicy value) A flexible specification of machine type of instances to create.
optional .google.cloud.compute.v1.InstanceFlexibilityPolicy instance_flexibility_policy = 26937090; -
setInstanceFlexibilityPolicy
public BulkInsertInstanceResource.Builder setInstanceFlexibilityPolicy(InstanceFlexibilityPolicy.Builder builderForValue) A flexible specification of machine type of instances to create.
optional .google.cloud.compute.v1.InstanceFlexibilityPolicy instance_flexibility_policy = 26937090; -
mergeInstanceFlexibilityPolicy
public BulkInsertInstanceResource.Builder mergeInstanceFlexibilityPolicy(InstanceFlexibilityPolicy value) A flexible specification of machine type of instances to create.
optional .google.cloud.compute.v1.InstanceFlexibilityPolicy instance_flexibility_policy = 26937090; -
clearInstanceFlexibilityPolicy
A flexible specification of machine type of instances to create.
optional .google.cloud.compute.v1.InstanceFlexibilityPolicy instance_flexibility_policy = 26937090; -
getInstanceFlexibilityPolicyBuilder
A flexible specification of machine type of instances to create.
optional .google.cloud.compute.v1.InstanceFlexibilityPolicy instance_flexibility_policy = 26937090; -
getInstanceFlexibilityPolicyOrBuilder
A flexible specification of machine type of instances to create.
optional .google.cloud.compute.v1.InstanceFlexibilityPolicy instance_flexibility_policy = 26937090;- Specified by:
getInstanceFlexibilityPolicyOrBuilderin interfaceBulkInsertInstanceResourceOrBuilder
-
hasInstanceProperties
public boolean hasInstanceProperties()The instance properties defining the VM instances to be created. Required if sourceInstanceTemplate is not provided.
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;- Specified by:
hasInstancePropertiesin interfaceBulkInsertInstanceResourceOrBuilder- Returns:
- Whether the instanceProperties field is set.
-
getInstanceProperties
The instance properties defining the VM instances to be created. Required if sourceInstanceTemplate is not provided.
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;- Specified by:
getInstancePropertiesin interfaceBulkInsertInstanceResourceOrBuilder- Returns:
- The instanceProperties.
-
setInstanceProperties
The instance properties defining the VM instances to be created. Required if sourceInstanceTemplate is not provided.
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165; -
setInstanceProperties
public BulkInsertInstanceResource.Builder setInstanceProperties(InstanceProperties.Builder builderForValue) The instance properties defining the VM instances to be created. Required if sourceInstanceTemplate is not provided.
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165; -
mergeInstanceProperties
The instance properties defining the VM instances to be created. Required if sourceInstanceTemplate is not provided.
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165; -
clearInstanceProperties
The instance properties defining the VM instances to be created. Required if sourceInstanceTemplate is not provided.
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165; -
getInstancePropertiesBuilder
The instance properties defining the VM instances to be created. Required if sourceInstanceTemplate is not provided.
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165; -
getInstancePropertiesOrBuilder
The instance properties defining the VM instances to be created. Required if sourceInstanceTemplate is not provided.
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;- Specified by:
getInstancePropertiesOrBuilderin interfaceBulkInsertInstanceResourceOrBuilder
-
hasLocationPolicy
public boolean hasLocationPolicy()Policy for choosing target zone. For more information, seeCreate VMs in bulk.
optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852;- Specified by:
hasLocationPolicyin interfaceBulkInsertInstanceResourceOrBuilder- Returns:
- Whether the locationPolicy field is set.
-
getLocationPolicy
Policy for choosing target zone. For more information, seeCreate VMs in bulk.
optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852;- Specified by:
getLocationPolicyin interfaceBulkInsertInstanceResourceOrBuilder- Returns:
- The locationPolicy.
-
setLocationPolicy
Policy for choosing target zone. For more information, seeCreate VMs in bulk.
optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852; -
setLocationPolicy
Policy for choosing target zone. For more information, seeCreate VMs in bulk.
optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852; -
mergeLocationPolicy
Policy for choosing target zone. For more information, seeCreate VMs in bulk.
optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852; -
clearLocationPolicy
Policy for choosing target zone. For more information, seeCreate VMs in bulk.
optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852; -
getLocationPolicyBuilder
Policy for choosing target zone. For more information, seeCreate VMs in bulk.
optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852; -
getLocationPolicyOrBuilder
Policy for choosing target zone. For more information, seeCreate VMs in bulk.
optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852;- Specified by:
getLocationPolicyOrBuilderin interfaceBulkInsertInstanceResourceOrBuilder
-
hasMinCount
public boolean hasMinCount()The minimum number of instances to create. If no min_count is specified then count is used as the default value. Ifmin_count instances cannot be created, then no instances will be created and instances already created will be deleted.
optional int64 min_count = 523228386;- Specified by:
hasMinCountin interfaceBulkInsertInstanceResourceOrBuilder- Returns:
- Whether the minCount field is set.
-
getMinCount
public long getMinCount()The minimum number of instances to create. If no min_count is specified then count is used as the default value. Ifmin_count instances cannot be created, then no instances will be created and instances already created will be deleted.
optional int64 min_count = 523228386;- Specified by:
getMinCountin interfaceBulkInsertInstanceResourceOrBuilder- Returns:
- The minCount.
-
setMinCount
The minimum number of instances to create. If no min_count is specified then count is used as the default value. Ifmin_count instances cannot be created, then no instances will be created and instances already created will be deleted.
optional int64 min_count = 523228386;- Parameters:
value- The minCount to set.- Returns:
- This builder for chaining.
-
clearMinCount
The minimum number of instances to create. If no min_count is specified then count is used as the default value. Ifmin_count instances cannot be created, then no instances will be created and instances already created will be deleted.
optional int64 min_count = 523228386;- Returns:
- This builder for chaining.
-
hasNamePattern
public boolean hasNamePattern()The string pattern used for the names of the VMs. Either name_pattern or per_instance_properties must be set. The pattern must contain one continuous sequence of placeholder hash characters (#) with each character corresponding to one digit of the generated instance name. Example: a name_pattern of inst-#### generates instance names such asinst-0001 and inst-0002. If existing instances in the same project and zone have names that match the name pattern then the generated instance numbers start after the biggest existing number. For example, if there exists an instance with nameinst-0050, then instance names generated using the patterninst-#### begin with inst-0051. The name pattern placeholder #...# can contain up to 18 characters.
optional string name_pattern = 413815260;- Specified by:
hasNamePatternin interfaceBulkInsertInstanceResourceOrBuilder- Returns:
- Whether the namePattern field is set.
-
getNamePattern
The string pattern used for the names of the VMs. Either name_pattern or per_instance_properties must be set. The pattern must contain one continuous sequence of placeholder hash characters (#) with each character corresponding to one digit of the generated instance name. Example: a name_pattern of inst-#### generates instance names such asinst-0001 and inst-0002. If existing instances in the same project and zone have names that match the name pattern then the generated instance numbers start after the biggest existing number. For example, if there exists an instance with nameinst-0050, then instance names generated using the patterninst-#### begin with inst-0051. The name pattern placeholder #...# can contain up to 18 characters.
optional string name_pattern = 413815260;- Specified by:
getNamePatternin interfaceBulkInsertInstanceResourceOrBuilder- Returns:
- The namePattern.
-
getNamePatternBytes
public com.google.protobuf.ByteString getNamePatternBytes()The string pattern used for the names of the VMs. Either name_pattern or per_instance_properties must be set. The pattern must contain one continuous sequence of placeholder hash characters (#) with each character corresponding to one digit of the generated instance name. Example: a name_pattern of inst-#### generates instance names such asinst-0001 and inst-0002. If existing instances in the same project and zone have names that match the name pattern then the generated instance numbers start after the biggest existing number. For example, if there exists an instance with nameinst-0050, then instance names generated using the patterninst-#### begin with inst-0051. The name pattern placeholder #...# can contain up to 18 characters.
optional string name_pattern = 413815260;- Specified by:
getNamePatternBytesin interfaceBulkInsertInstanceResourceOrBuilder- Returns:
- The bytes for namePattern.
-
setNamePattern
The string pattern used for the names of the VMs. Either name_pattern or per_instance_properties must be set. The pattern must contain one continuous sequence of placeholder hash characters (#) with each character corresponding to one digit of the generated instance name. Example: a name_pattern of inst-#### generates instance names such asinst-0001 and inst-0002. If existing instances in the same project and zone have names that match the name pattern then the generated instance numbers start after the biggest existing number. For example, if there exists an instance with nameinst-0050, then instance names generated using the patterninst-#### begin with inst-0051. The name pattern placeholder #...# can contain up to 18 characters.
optional string name_pattern = 413815260;- Parameters:
value- The namePattern to set.- Returns:
- This builder for chaining.
-
clearNamePattern
The string pattern used for the names of the VMs. Either name_pattern or per_instance_properties must be set. The pattern must contain one continuous sequence of placeholder hash characters (#) with each character corresponding to one digit of the generated instance name. Example: a name_pattern of inst-#### generates instance names such asinst-0001 and inst-0002. If existing instances in the same project and zone have names that match the name pattern then the generated instance numbers start after the biggest existing number. For example, if there exists an instance with nameinst-0050, then instance names generated using the patterninst-#### begin with inst-0051. The name pattern placeholder #...# can contain up to 18 characters.
optional string name_pattern = 413815260;- Returns:
- This builder for chaining.
-
setNamePatternBytes
The string pattern used for the names of the VMs. Either name_pattern or per_instance_properties must be set. The pattern must contain one continuous sequence of placeholder hash characters (#) with each character corresponding to one digit of the generated instance name. Example: a name_pattern of inst-#### generates instance names such asinst-0001 and inst-0002. If existing instances in the same project and zone have names that match the name pattern then the generated instance numbers start after the biggest existing number. For example, if there exists an instance with nameinst-0050, then instance names generated using the patterninst-#### begin with inst-0051. The name pattern placeholder #...# can contain up to 18 characters.
optional string name_pattern = 413815260;- Parameters:
value- The bytes for namePattern to set.- Returns:
- This builder for chaining.
-
getPerInstancePropertiesCount
public int getPerInstancePropertiesCount()Description copied from interface:BulkInsertInstanceResourceOrBuilderPer-instance properties to be set on individual instances. Keys of this map specify requested instance names. Can be empty if name_pattern is used.
map<string, .google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties> per_instance_properties = 108502267;- Specified by:
getPerInstancePropertiesCountin interfaceBulkInsertInstanceResourceOrBuilder
-
containsPerInstanceProperties
Per-instance properties to be set on individual instances. Keys of this map specify requested instance names. Can be empty if name_pattern is used.
map<string, .google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties> per_instance_properties = 108502267;- Specified by:
containsPerInstancePropertiesin interfaceBulkInsertInstanceResourceOrBuilder
-
getPerInstanceProperties
@Deprecated public Map<String,BulkInsertInstanceResourcePerInstanceProperties> getPerInstanceProperties()Deprecated.UsegetPerInstancePropertiesMap()instead.- Specified by:
getPerInstancePropertiesin interfaceBulkInsertInstanceResourceOrBuilder
-
getPerInstancePropertiesMap
Per-instance properties to be set on individual instances. Keys of this map specify requested instance names. Can be empty if name_pattern is used.
map<string, .google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties> per_instance_properties = 108502267;- Specified by:
getPerInstancePropertiesMapin interfaceBulkInsertInstanceResourceOrBuilder
-
getPerInstancePropertiesOrDefault
public BulkInsertInstanceResourcePerInstanceProperties getPerInstancePropertiesOrDefault(String key, BulkInsertInstanceResourcePerInstanceProperties defaultValue) Per-instance properties to be set on individual instances. Keys of this map specify requested instance names. Can be empty if name_pattern is used.
map<string, .google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties> per_instance_properties = 108502267;- Specified by:
getPerInstancePropertiesOrDefaultin interfaceBulkInsertInstanceResourceOrBuilder
-
getPerInstancePropertiesOrThrow
Per-instance properties to be set on individual instances. Keys of this map specify requested instance names. Can be empty if name_pattern is used.
map<string, .google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties> per_instance_properties = 108502267;- Specified by:
getPerInstancePropertiesOrThrowin interfaceBulkInsertInstanceResourceOrBuilder
-
clearPerInstanceProperties
-
removePerInstanceProperties
Per-instance properties to be set on individual instances. Keys of this map specify requested instance names. Can be empty if name_pattern is used.
map<string, .google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties> per_instance_properties = 108502267; -
getMutablePerInstanceProperties
@Deprecated public Map<String,BulkInsertInstanceResourcePerInstanceProperties> getMutablePerInstanceProperties()Deprecated.Use alternate mutation accessors instead. -
putPerInstanceProperties
public BulkInsertInstanceResource.Builder putPerInstanceProperties(String key, BulkInsertInstanceResourcePerInstanceProperties value) Per-instance properties to be set on individual instances. Keys of this map specify requested instance names. Can be empty if name_pattern is used.
map<string, .google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties> per_instance_properties = 108502267; -
putAllPerInstanceProperties
public BulkInsertInstanceResource.Builder putAllPerInstanceProperties(Map<String, BulkInsertInstanceResourcePerInstanceProperties> values) Per-instance properties to be set on individual instances. Keys of this map specify requested instance names. Can be empty if name_pattern is used.
map<string, .google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties> per_instance_properties = 108502267; -
putPerInstancePropertiesBuilderIfAbsent
public BulkInsertInstanceResourcePerInstanceProperties.Builder putPerInstancePropertiesBuilderIfAbsent(String key) Per-instance properties to be set on individual instances. Keys of this map specify requested instance names. Can be empty if name_pattern is used.
map<string, .google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties> per_instance_properties = 108502267; -
hasSourceInstanceTemplate
public boolean hasSourceInstanceTemplate()Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate withinstanceProperties to override specific values from an existing instance template. Bulk API follows the semantics of JSON Merge Patch described by RFC 7396. It can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate This field is optional.
optional string source_instance_template = 332423616;- Specified by:
hasSourceInstanceTemplatein interfaceBulkInsertInstanceResourceOrBuilder- Returns:
- Whether the sourceInstanceTemplate field is set.
-
getSourceInstanceTemplate
Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate withinstanceProperties to override specific values from an existing instance template. Bulk API follows the semantics of JSON Merge Patch described by RFC 7396. It can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate This field is optional.
optional string source_instance_template = 332423616;- Specified by:
getSourceInstanceTemplatein interfaceBulkInsertInstanceResourceOrBuilder- Returns:
- The sourceInstanceTemplate.
-
getSourceInstanceTemplateBytes
public com.google.protobuf.ByteString getSourceInstanceTemplateBytes()Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate withinstanceProperties to override specific values from an existing instance template. Bulk API follows the semantics of JSON Merge Patch described by RFC 7396. It can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate This field is optional.
optional string source_instance_template = 332423616;- Specified by:
getSourceInstanceTemplateBytesin interfaceBulkInsertInstanceResourceOrBuilder- Returns:
- The bytes for sourceInstanceTemplate.
-
setSourceInstanceTemplate
Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate withinstanceProperties to override specific values from an existing instance template. Bulk API follows the semantics of JSON Merge Patch described by RFC 7396. It can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate This field is optional.
optional string source_instance_template = 332423616;- Parameters:
value- The sourceInstanceTemplate to set.- Returns:
- This builder for chaining.
-
clearSourceInstanceTemplate
Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate withinstanceProperties to override specific values from an existing instance template. Bulk API follows the semantics of JSON Merge Patch described by RFC 7396. It can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate This field is optional.
optional string source_instance_template = 332423616;- Returns:
- This builder for chaining.
-
setSourceInstanceTemplateBytes
public BulkInsertInstanceResource.Builder setSourceInstanceTemplateBytes(com.google.protobuf.ByteString value) Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate withinstanceProperties to override specific values from an existing instance template. Bulk API follows the semantics of JSON Merge Patch described by RFC 7396. It can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate This field is optional.
optional string source_instance_template = 332423616;- Parameters:
value- The bytes for sourceInstanceTemplate to set.- Returns:
- This builder for chaining.
-