Send feedback
Class RegionInstanceGroupManagersSetTemplateRequest.Builder (1.6.0-beta)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.6.0-beta keyboard_arrow_down
public static final class RegionInstanceGroupManagersSetTemplateRequest . Builder extends GeneratedMessageV3 . Builder<RegionInstanceGroupManagersSetTemplateRequest . Builder > implements RegionInstanceGroupManagersSetTemplateRequestOrBuilder
Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersSetTemplateRequest
Methods
public RegionInstanceGroupManagersSetTemplateRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public RegionInstanceGroupManagersSetTemplateRequest build ()
Returns
public RegionInstanceGroupManagersSetTemplateRequest buildPartial ()
Returns
public RegionInstanceGroupManagersSetTemplateRequest . Builder clear ()
Returns
Overrides
public RegionInstanceGroupManagersSetTemplateRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public RegionInstanceGroupManagersSetTemplateRequest . Builder clearInstanceTemplate ()
URL of the InstanceTemplate resource from which all new instances will be created.
optional string instance_template = 309248228;
Returns
public RegionInstanceGroupManagersSetTemplateRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public RegionInstanceGroupManagersSetTemplateRequest . Builder clone ()
Returns
Overrides
public RegionInstanceGroupManagersSetTemplateRequest getDefaultInstanceForType ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public String getInstanceTemplate ()
URL of the InstanceTemplate resource from which all new instances will be created.
optional string instance_template = 309248228;
Returns
Type Description String The instanceTemplate.
public ByteString getInstanceTemplateBytes ()
URL of the InstanceTemplate resource from which all new instances will be created.
optional string instance_template = 309248228;
Returns
Type Description ByteString The bytes for instanceTemplate.
public boolean hasInstanceTemplate ()
URL of the InstanceTemplate resource from which all new instances will be created.
optional string instance_template = 309248228;
Returns
Type Description boolean Whether the instanceTemplate field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public RegionInstanceGroupManagersSetTemplateRequest . Builder mergeFrom ( RegionInstanceGroupManagersSetTemplateRequest other )
Parameter
Returns
public RegionInstanceGroupManagersSetTemplateRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public RegionInstanceGroupManagersSetTemplateRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public final RegionInstanceGroupManagersSetTemplateRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public RegionInstanceGroupManagersSetTemplateRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public RegionInstanceGroupManagersSetTemplateRequest . Builder setInstanceTemplate ( String value )
URL of the InstanceTemplate resource from which all new instances will be created.
optional string instance_template = 309248228;
Parameter
Name Description value String
The instanceTemplate to set.
Returns
public RegionInstanceGroupManagersSetTemplateRequest . Builder setInstanceTemplateBytes ( ByteString value )
URL of the InstanceTemplate resource from which all new instances will be created.
optional string instance_template = 309248228;
Parameter
Name Description value ByteString
The bytes for instanceTemplate to set.
Returns
public RegionInstanceGroupManagersSetTemplateRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final RegionInstanceGroupManagersSetTemplateRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]