public static final class RegionInstanceGroupManagersSetTemplateRequest.Builder extends GeneratedMessageV3.Builder<RegionInstanceGroupManagersSetTemplateRequest.Builder> implements RegionInstanceGroupManagersSetTemplateRequestOrBuilder
Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersSetTemplateRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
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 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