All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.compute.v1.BulkInsertInstanceResourceOrBuilder Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;

public interface BulkInsertInstanceResourceOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.BulkInsertInstanceResource)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The maximum number of instances to create.
   * 
* * optional int64 count = 94851343; * * @return Whether the count field is set. */ boolean hasCount(); /** * * *
   * The maximum number of instances to create.
   * 
* * optional int64 count = 94851343; * * @return The count. */ long getCount(); /** * * *
   * 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; * * * @return Whether the instanceProperties field is set. */ 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; * * * @return The instanceProperties. */ com.google.cloud.compute.v1.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; * */ com.google.cloud.compute.v1.InstancePropertiesOrBuilder getInstancePropertiesOrBuilder(); /** * * *
   * Policy for choosing target zone. For more information, see Create VMs in bulk.
   * 
* * optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852; * * @return Whether the locationPolicy field is set. */ boolean hasLocationPolicy(); /** * * *
   * Policy for choosing target zone. For more information, see Create VMs in bulk.
   * 
* * optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852; * * @return The locationPolicy. */ com.google.cloud.compute.v1.LocationPolicy getLocationPolicy(); /** * * *
   * Policy for choosing target zone. For more information, see Create VMs in bulk.
   * 
* * optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852; */ com.google.cloud.compute.v1.LocationPolicyOrBuilder getLocationPolicyOrBuilder(); /** * * *
   * 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; * * @return Whether the minCount field is set. */ 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; * * @return The minCount. */ long getMinCount(); /** * * *
   * 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; * * @return Whether the namePattern field is set. */ 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; * * @return The namePattern. */ java.lang.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; * * @return The bytes for namePattern. */ com.google.protobuf.ByteString getNamePatternBytes(); /** * * *
   * 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; * */ int getPerInstancePropertiesCount(); /** * * *
   * 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; * */ boolean containsPerInstanceProperties(java.lang.String key); /** Use {@link #getPerInstancePropertiesMap()} instead. */ @java.lang.Deprecated java.util.Map< java.lang.String, com.google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties> getPerInstanceProperties(); /** * * *
   * 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; * */ java.util.Map< java.lang.String, com.google.cloud.compute.v1.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; * */ /* nullable */ com.google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties getPerInstancePropertiesOrDefault( java.lang.String key, /* nullable */ com.google.cloud.compute.v1.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; * */ com.google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties getPerInstancePropertiesOrThrow(java.lang.String key); /** * * *
   * 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; * * @return Whether the sourceInstanceTemplate field is set. */ 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; * * @return The sourceInstanceTemplate. */ java.lang.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; * * @return The bytes for sourceInstanceTemplate. */ com.google.protobuf.ByteString getSourceInstanceTemplateBytes(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy