public static final class InstanceTemplatesScopedList.Builder extends GeneratedMessage.Builder<InstanceTemplatesScopedList.Builder> implements InstanceTemplatesScopedListOrBuilder
Protobuf type google.cloud.compute.v1.InstanceTemplatesScopedList
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllInstanceTemplates(Iterable<? extends InstanceTemplate> values)
public InstanceTemplatesScopedList.Builder addAllInstanceTemplates(Iterable<? extends InstanceTemplate> values)
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.compute.v1.InstanceTemplate>
|
addInstanceTemplates(InstanceTemplate value)
public InstanceTemplatesScopedList.Builder addInstanceTemplates(InstanceTemplate value)
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
addInstanceTemplates(InstanceTemplate.Builder builderForValue)
public InstanceTemplatesScopedList.Builder addInstanceTemplates(InstanceTemplate.Builder builderForValue)
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
addInstanceTemplates(int index, InstanceTemplate value)
public InstanceTemplatesScopedList.Builder addInstanceTemplates(int index, InstanceTemplate value)
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
addInstanceTemplates(int index, InstanceTemplate.Builder builderForValue)
public InstanceTemplatesScopedList.Builder addInstanceTemplates(int index, InstanceTemplate.Builder builderForValue)
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
addInstanceTemplatesBuilder()
public InstanceTemplate.Builder addInstanceTemplatesBuilder()
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
addInstanceTemplatesBuilder(int index)
public InstanceTemplate.Builder addInstanceTemplatesBuilder(int index)
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
| Parameter |
| Name |
Description |
index |
int
|
build()
public InstanceTemplatesScopedList build()
buildPartial()
public InstanceTemplatesScopedList buildPartial()
clear()
public InstanceTemplatesScopedList.Builder clear()
Overrides
clearInstanceTemplates()
public InstanceTemplatesScopedList.Builder clearInstanceTemplates()
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
clearWarning()
public InstanceTemplatesScopedList.Builder clearWarning()
[Output Only] An informational warning that replaces the list of instance
templates when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
getDefaultInstanceForType()
public InstanceTemplatesScopedList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInstanceTemplates(int index)
public InstanceTemplate getInstanceTemplates(int index)
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
| Parameter |
| Name |
Description |
index |
int
|
getInstanceTemplatesBuilder(int index)
public InstanceTemplate.Builder getInstanceTemplatesBuilder(int index)
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
| Parameter |
| Name |
Description |
index |
int
|
getInstanceTemplatesBuilderList()
public List<InstanceTemplate.Builder> getInstanceTemplatesBuilderList()
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
getInstanceTemplatesCount()
public int getInstanceTemplatesCount()
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
| Returns |
| Type |
Description |
int |
|
getInstanceTemplatesList()
public List<InstanceTemplate> getInstanceTemplatesList()
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
getInstanceTemplatesOrBuilder(int index)
public InstanceTemplateOrBuilder getInstanceTemplatesOrBuilder(int index)
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
| Parameter |
| Name |
Description |
index |
int
|
getInstanceTemplatesOrBuilderList()
public List<? extends InstanceTemplateOrBuilder> getInstanceTemplatesOrBuilderList()
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.InstanceTemplateOrBuilder> |
|
getWarning()
public Warning getWarning()
[Output Only] An informational warning that replaces the list of instance
templates when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Returns |
| Type |
Description |
Warning |
The warning.
|
getWarningBuilder()
public Warning.Builder getWarningBuilder()
[Output Only] An informational warning that replaces the list of instance
templates when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
getWarningOrBuilder()
public WarningOrBuilder getWarningOrBuilder()
[Output Only] An informational warning that replaces the list of instance
templates when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
hasWarning()
public boolean hasWarning()
[Output Only] An informational warning that replaces the list of instance
templates when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Returns |
| Type |
Description |
boolean |
Whether the warning field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InstanceTemplatesScopedList other)
public InstanceTemplatesScopedList.Builder mergeFrom(InstanceTemplatesScopedList other)
public InstanceTemplatesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InstanceTemplatesScopedList.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeWarning(Warning value)
public InstanceTemplatesScopedList.Builder mergeWarning(Warning value)
[Output Only] An informational warning that replaces the list of instance
templates when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Parameter |
| Name |
Description |
value |
Warning
|
removeInstanceTemplates(int index)
public InstanceTemplatesScopedList.Builder removeInstanceTemplates(int index)
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
| Parameter |
| Name |
Description |
index |
int
|
setInstanceTemplates(int index, InstanceTemplate value)
public InstanceTemplatesScopedList.Builder setInstanceTemplates(int index, InstanceTemplate value)
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
setInstanceTemplates(int index, InstanceTemplate.Builder builderForValue)
public InstanceTemplatesScopedList.Builder setInstanceTemplates(int index, InstanceTemplate.Builder builderForValue)
[Output Only] A list of instance templates that are contained within
the specified project and zone.
repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;
setWarning(Warning value)
public InstanceTemplatesScopedList.Builder setWarning(Warning value)
[Output Only] An informational warning that replaces the list of instance
templates when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Parameter |
| Name |
Description |
value |
Warning
|
setWarning(Warning.Builder builderForValue)
public InstanceTemplatesScopedList.Builder setWarning(Warning.Builder builderForValue)
[Output Only] An informational warning that replaces the list of instance
templates when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;