public static final class BulkInsertInstanceResource.Builder extends com.google.protobuf.GeneratedMessageV3.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| Modifier and Type | Method and Description |
|---|---|
BulkInsertInstanceResource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BulkInsertInstanceResource |
build() |
BulkInsertInstanceResource |
buildPartial() |
BulkInsertInstanceResource.Builder |
clear() |
BulkInsertInstanceResource.Builder |
clearCount()
The maximum number of instances to create.
|
BulkInsertInstanceResource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BulkInsertInstanceResource.Builder |
clearInstanceProperties()
The instance properties defining the VM instances to be created.
|
BulkInsertInstanceResource.Builder |
clearLocationPolicy()
Policy for chosing target zone.
|
BulkInsertInstanceResource.Builder |
clearMinCount()
The minimum number of instances to create.
|
BulkInsertInstanceResource.Builder |
clearNamePattern()
The string pattern used for the names of the VMs.
|
BulkInsertInstanceResource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BulkInsertInstanceResource.Builder |
clearPerInstanceProperties() |
BulkInsertInstanceResource.Builder |
clearSourceInstanceTemplate()
Specifies the instance template from which to create instances.
|
BulkInsertInstanceResource.Builder |
clone() |
boolean |
containsPerInstanceProperties(String key)
Per-instance properties to be set on individual instances.
|
long |
getCount()
The maximum number of instances to create.
|
BulkInsertInstanceResource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
InstanceProperties |
getInstanceProperties()
The instance properties defining the VM instances to be created.
|
InstanceProperties.Builder |
getInstancePropertiesBuilder()
The instance properties defining the VM instances to be created.
|
InstancePropertiesOrBuilder |
getInstancePropertiesOrBuilder()
The instance properties defining the VM instances to be created.
|
LocationPolicy |
getLocationPolicy()
Policy for chosing target zone.
|
LocationPolicy.Builder |
getLocationPolicyBuilder()
Policy for chosing target zone.
|
LocationPolicyOrBuilder |
getLocationPolicyOrBuilder()
Policy for chosing target zone.
|
long |
getMinCount()
The minimum number of instances to create.
|
Map<String,BulkInsertInstanceResourcePerInstanceProperties> |
getMutablePerInstanceProperties()
Deprecated.
|
String |
getNamePattern()
The string pattern used for the names of the VMs.
|
com.google.protobuf.ByteString |
getNamePatternBytes()
The string pattern used for the names of the VMs.
|
Map<String,BulkInsertInstanceResourcePerInstanceProperties> |
getPerInstanceProperties()
Deprecated.
|
int |
getPerInstancePropertiesCount()
Per-instance properties to be set on individual instances.
|
Map<String,BulkInsertInstanceResourcePerInstanceProperties> |
getPerInstancePropertiesMap()
Per-instance properties to be set on individual instances.
|
BulkInsertInstanceResourcePerInstanceProperties |
getPerInstancePropertiesOrDefault(String key,
BulkInsertInstanceResourcePerInstanceProperties defaultValue)
Per-instance properties to be set on individual instances.
|
BulkInsertInstanceResourcePerInstanceProperties |
getPerInstancePropertiesOrThrow(String key)
Per-instance properties to be set on individual instances.
|
String |
getSourceInstanceTemplate()
Specifies the instance template from which to create instances.
|
com.google.protobuf.ByteString |
getSourceInstanceTemplateBytes()
Specifies the instance template from which to create instances.
|
boolean |
hasCount()
The maximum number of instances to create.
|
boolean |
hasInstanceProperties()
The instance properties defining the VM instances to be created.
|
boolean |
hasLocationPolicy()
Policy for chosing target zone.
|
boolean |
hasMinCount()
The minimum number of instances to create.
|
boolean |
hasNamePattern()
The string pattern used for the names of the VMs.
|
boolean |
hasSourceInstanceTemplate()
Specifies the instance template from which to create instances.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
BulkInsertInstanceResource.Builder |
mergeFrom(BulkInsertInstanceResource other) |
BulkInsertInstanceResource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BulkInsertInstanceResource.Builder |
mergeFrom(com.google.protobuf.Message other) |
BulkInsertInstanceResource.Builder |
mergeInstanceProperties(InstanceProperties value)
The instance properties defining the VM instances to be created.
|
BulkInsertInstanceResource.Builder |
mergeLocationPolicy(LocationPolicy value)
Policy for chosing target zone.
|
BulkInsertInstanceResource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BulkInsertInstanceResource.Builder |
putAllPerInstanceProperties(Map<String,BulkInsertInstanceResourcePerInstanceProperties> values)
Per-instance properties to be set on individual instances.
|
BulkInsertInstanceResource.Builder |
putPerInstanceProperties(String key,
BulkInsertInstanceResourcePerInstanceProperties value)
Per-instance properties to be set on individual instances.
|
BulkInsertInstanceResource.Builder |
removePerInstanceProperties(String key)
Per-instance properties to be set on individual instances.
|
BulkInsertInstanceResource.Builder |
setCount(long value)
The maximum number of instances to create.
|
BulkInsertInstanceResource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BulkInsertInstanceResource.Builder |
setInstanceProperties(InstanceProperties.Builder builderForValue)
The instance properties defining the VM instances to be created.
|
BulkInsertInstanceResource.Builder |
setInstanceProperties(InstanceProperties value)
The instance properties defining the VM instances to be created.
|
BulkInsertInstanceResource.Builder |
setLocationPolicy(LocationPolicy.Builder builderForValue)
Policy for chosing target zone.
|
BulkInsertInstanceResource.Builder |
setLocationPolicy(LocationPolicy value)
Policy for chosing target zone.
|
BulkInsertInstanceResource.Builder |
setMinCount(long value)
The minimum number of instances to create.
|
BulkInsertInstanceResource.Builder |
setNamePattern(String value)
The string pattern used for the names of the VMs.
|
BulkInsertInstanceResource.Builder |
setNamePatternBytes(com.google.protobuf.ByteString value)
The string pattern used for the names of the VMs.
|
BulkInsertInstanceResource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BulkInsertInstanceResource.Builder |
setSourceInstanceTemplate(String value)
Specifies the instance template from which to create instances.
|
BulkInsertInstanceResource.Builder |
setSourceInstanceTemplateBytes(com.google.protobuf.ByteString value)
Specifies the instance template from which to create instances.
|
BulkInsertInstanceResource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, 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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<BulkInsertInstanceResource.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<BulkInsertInstanceResource.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BulkInsertInstanceResource.Builder>public BulkInsertInstanceResource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BulkInsertInstanceResource.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<BulkInsertInstanceResource.Builder>public BulkInsertInstanceResource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BulkInsertInstanceResource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BulkInsertInstanceResource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BulkInsertInstanceResource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BulkInsertInstanceResource.Builder>public BulkInsertInstanceResource.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<BulkInsertInstanceResource.Builder>public BulkInsertInstanceResource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BulkInsertInstanceResource.Builder>public BulkInsertInstanceResource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BulkInsertInstanceResource.Builder>public BulkInsertInstanceResource.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<BulkInsertInstanceResource.Builder>public BulkInsertInstanceResource.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<BulkInsertInstanceResource.Builder>public BulkInsertInstanceResource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BulkInsertInstanceResource.Builder>public BulkInsertInstanceResource.Builder mergeFrom(BulkInsertInstanceResource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BulkInsertInstanceResource.Builder>public BulkInsertInstanceResource.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<BulkInsertInstanceResource.Builder>IOExceptionpublic boolean hasCount()
The maximum number of instances to create.
optional int64 count = 94851343;hasCount in interface BulkInsertInstanceResourceOrBuilderpublic long getCount()
The maximum number of instances to create.
optional int64 count = 94851343;getCount in interface BulkInsertInstanceResourceOrBuilderpublic BulkInsertInstanceResource.Builder setCount(long value)
The maximum number of instances to create.
optional int64 count = 94851343;value - The count to set.public BulkInsertInstanceResource.Builder clearCount()
The maximum number of instances to create.
optional int64 count = 94851343;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;
hasInstanceProperties in interface BulkInsertInstanceResourceOrBuilderpublic InstanceProperties 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;
getInstanceProperties in interface BulkInsertInstanceResourceOrBuilderpublic BulkInsertInstanceResource.Builder setInstanceProperties(InstanceProperties value)
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;
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;
public BulkInsertInstanceResource.Builder mergeInstanceProperties(InstanceProperties value)
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;
public BulkInsertInstanceResource.Builder 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;
public InstanceProperties.Builder 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;
public InstancePropertiesOrBuilder 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;
getInstancePropertiesOrBuilder in interface BulkInsertInstanceResourceOrBuilderpublic boolean hasLocationPolicy()
Policy for chosing target zone. For more information, see Create VMs in bulk .
optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852;hasLocationPolicy in interface BulkInsertInstanceResourceOrBuilderpublic LocationPolicy getLocationPolicy()
Policy for chosing target zone. For more information, see Create VMs in bulk .
optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852;getLocationPolicy in interface BulkInsertInstanceResourceOrBuilderpublic BulkInsertInstanceResource.Builder setLocationPolicy(LocationPolicy value)
Policy for chosing target zone. For more information, see Create VMs in bulk .
optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852;public BulkInsertInstanceResource.Builder setLocationPolicy(LocationPolicy.Builder builderForValue)
Policy for chosing target zone. For more information, see Create VMs in bulk .
optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852;public BulkInsertInstanceResource.Builder mergeLocationPolicy(LocationPolicy value)
Policy for chosing target zone. For more information, see Create VMs in bulk .
optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852;public BulkInsertInstanceResource.Builder clearLocationPolicy()
Policy for chosing target zone. For more information, see Create VMs in bulk .
optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852;public LocationPolicy.Builder getLocationPolicyBuilder()
Policy for chosing target zone. For more information, see Create VMs in bulk .
optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852;public LocationPolicyOrBuilder getLocationPolicyOrBuilder()
Policy for chosing target zone. For more information, see Create VMs in bulk .
optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852;getLocationPolicyOrBuilder in interface BulkInsertInstanceResourceOrBuilderpublic boolean hasMinCount()
The minimum number of instances to create. If no min_count is specified then count is used as the default value. If min_count instances cannot be created, then no instances will be created and instances already created will be deleted.
optional int64 min_count = 523228386;hasMinCount in interface BulkInsertInstanceResourceOrBuilderpublic long getMinCount()
The minimum number of instances to create. If no min_count is specified then count is used as the default value. If min_count instances cannot be created, then no instances will be created and instances already created will be deleted.
optional int64 min_count = 523228386;getMinCount in interface BulkInsertInstanceResourceOrBuilderpublic BulkInsertInstanceResource.Builder setMinCount(long value)
The minimum number of instances to create. If no min_count is specified then count is used as the default value. If min_count instances cannot be created, then no instances will be created and instances already created will be deleted.
optional int64 min_count = 523228386;value - The minCount to set.public BulkInsertInstanceResource.Builder clearMinCount()
The minimum number of instances to create. If no min_count is specified then count is used as the default value. If min_count instances cannot be created, then no instances will be created and instances already created will be deleted.
optional int64 min_count = 523228386;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 as inst-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 name inst-0050, then instance names generated using the pattern inst-#### begin with inst-0051. The name pattern placeholder #...# can contain up to 18 characters.
optional string name_pattern = 413815260;hasNamePattern in interface BulkInsertInstanceResourceOrBuilderpublic String 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 as inst-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 name inst-0050, then instance names generated using the pattern inst-#### begin with inst-0051. The name pattern placeholder #...# can contain up to 18 characters.
optional string name_pattern = 413815260;getNamePattern in interface BulkInsertInstanceResourceOrBuilderpublic 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 as inst-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 name inst-0050, then instance names generated using the pattern inst-#### begin with inst-0051. The name pattern placeholder #...# can contain up to 18 characters.
optional string name_pattern = 413815260;getNamePatternBytes in interface BulkInsertInstanceResourceOrBuilderpublic BulkInsertInstanceResource.Builder setNamePattern(String value)
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 as inst-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 name inst-0050, then instance names generated using the pattern inst-#### begin with inst-0051. The name pattern placeholder #...# can contain up to 18 characters.
optional string name_pattern = 413815260;value - The namePattern to set.public BulkInsertInstanceResource.Builder 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 as inst-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 name inst-0050, then instance names generated using the pattern inst-#### begin with inst-0051. The name pattern placeholder #...# can contain up to 18 characters.
optional string name_pattern = 413815260;public BulkInsertInstanceResource.Builder setNamePatternBytes(com.google.protobuf.ByteString value)
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 as inst-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 name inst-0050, then instance names generated using the pattern inst-#### begin with inst-0051. The name pattern placeholder #...# can contain up to 18 characters.
optional string name_pattern = 413815260;value - The bytes for namePattern to set.public int getPerInstancePropertiesCount()
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;
getPerInstancePropertiesCount in interface BulkInsertInstanceResourceOrBuilderpublic boolean containsPerInstanceProperties(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;
containsPerInstanceProperties in interface BulkInsertInstanceResourceOrBuilder@Deprecated public Map<String,BulkInsertInstanceResourcePerInstanceProperties> getPerInstanceProperties()
getPerInstancePropertiesMap() instead.getPerInstanceProperties in interface BulkInsertInstanceResourceOrBuilderpublic Map<String,BulkInsertInstanceResourcePerInstanceProperties> 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;
getPerInstancePropertiesMap in interface BulkInsertInstanceResourceOrBuilderpublic 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;
getPerInstancePropertiesOrDefault in interface BulkInsertInstanceResourceOrBuilderpublic BulkInsertInstanceResourcePerInstanceProperties getPerInstancePropertiesOrThrow(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;
getPerInstancePropertiesOrThrow in interface BulkInsertInstanceResourceOrBuilderpublic BulkInsertInstanceResource.Builder clearPerInstanceProperties()
public BulkInsertInstanceResource.Builder removePerInstanceProperties(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;
@Deprecated public Map<String,BulkInsertInstanceResourcePerInstanceProperties> getMutablePerInstanceProperties()
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;
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;
public boolean hasSourceInstanceTemplate()
Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate with instanceProperties 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;hasSourceInstanceTemplate in interface BulkInsertInstanceResourceOrBuilderpublic String getSourceInstanceTemplate()
Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate with instanceProperties 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;getSourceInstanceTemplate in interface BulkInsertInstanceResourceOrBuilderpublic com.google.protobuf.ByteString getSourceInstanceTemplateBytes()
Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate with instanceProperties 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;getSourceInstanceTemplateBytes in interface BulkInsertInstanceResourceOrBuilderpublic BulkInsertInstanceResource.Builder setSourceInstanceTemplate(String value)
Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate with instanceProperties 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;value - The sourceInstanceTemplate to set.public BulkInsertInstanceResource.Builder clearSourceInstanceTemplate()
Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate with instanceProperties 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;public BulkInsertInstanceResource.Builder setSourceInstanceTemplateBytes(com.google.protobuf.ByteString value)
Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate with instanceProperties 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;value - The bytes for sourceInstanceTemplate to set.public final BulkInsertInstanceResource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BulkInsertInstanceResource.Builder>public final BulkInsertInstanceResource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BulkInsertInstanceResource.Builder>Copyright © 2023 Google LLC. All rights reserved.