Package com.google.cloud.compute.v1
Class InstanceTemplatesScopedList.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<InstanceTemplatesScopedList.Builder>
-
- com.google.cloud.compute.v1.InstanceTemplatesScopedList.Builder
-
- All Implemented Interfaces:
InstanceTemplatesScopedListOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- InstanceTemplatesScopedList
public static final class InstanceTemplatesScopedList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InstanceTemplatesScopedList.Builder> implements InstanceTemplatesScopedListOrBuilder
google.cloud.compute.v1.InstanceTemplatesScopedList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceTemplatesScopedList.Builder
addAllInstanceTemplates(Iterable<? extends InstanceTemplate> values)
[Output Only] A list of instance templates that are contained within the specified project and zone.InstanceTemplatesScopedList.Builder
addInstanceTemplates(int index, InstanceTemplate value)
[Output Only] A list of instance templates that are contained within the specified project and zone.InstanceTemplatesScopedList.Builder
addInstanceTemplates(int index, InstanceTemplate.Builder builderForValue)
[Output Only] A list of instance templates that are contained within the specified project and zone.InstanceTemplatesScopedList.Builder
addInstanceTemplates(InstanceTemplate value)
[Output Only] A list of instance templates that are contained within the specified project and zone.InstanceTemplatesScopedList.Builder
addInstanceTemplates(InstanceTemplate.Builder builderForValue)
[Output Only] A list of instance templates that are contained within the specified project and zone.InstanceTemplate.Builder
addInstanceTemplatesBuilder()
[Output Only] A list of instance templates that are contained within the specified project and zone.InstanceTemplate.Builder
addInstanceTemplatesBuilder(int index)
[Output Only] A list of instance templates that are contained within the specified project and zone.InstanceTemplatesScopedList.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InstanceTemplatesScopedList
build()
InstanceTemplatesScopedList
buildPartial()
InstanceTemplatesScopedList.Builder
clear()
InstanceTemplatesScopedList.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
InstanceTemplatesScopedList.Builder
clearInstanceTemplates()
[Output Only] A list of instance templates that are contained within the specified project and zone.InstanceTemplatesScopedList.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
InstanceTemplatesScopedList.Builder
clearWarning()
[Output Only] An informational warning that replaces the list of instance templates when the list is empty.InstanceTemplatesScopedList.Builder
clone()
InstanceTemplatesScopedList
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
InstanceTemplate
getInstanceTemplates(int index)
[Output Only] A list of instance templates that are contained within the specified project and zone.InstanceTemplate.Builder
getInstanceTemplatesBuilder(int index)
[Output Only] A list of instance templates that are contained within the specified project and zone.List<InstanceTemplate.Builder>
getInstanceTemplatesBuilderList()
[Output Only] A list of instance templates that are contained within the specified project and zone.int
getInstanceTemplatesCount()
[Output Only] A list of instance templates that are contained within the specified project and zone.List<InstanceTemplate>
getInstanceTemplatesList()
[Output Only] A list of instance templates that are contained within the specified project and zone.InstanceTemplateOrBuilder
getInstanceTemplatesOrBuilder(int index)
[Output Only] A list of instance templates that are contained within the specified project and zone.List<? extends InstanceTemplateOrBuilder>
getInstanceTemplatesOrBuilderList()
[Output Only] A list of instance templates that are contained within the specified project and zone.Warning
getWarning()
[Output Only] An informational warning that replaces the list of instance templates when the list is empty.Warning.Builder
getWarningBuilder()
[Output Only] An informational warning that replaces the list of instance templates when the list is empty.WarningOrBuilder
getWarningOrBuilder()
[Output Only] An informational warning that replaces the list of instance templates when the list is empty.boolean
hasWarning()
[Output Only] An informational warning that replaces the list of instance templates when the list is empty.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
InstanceTemplatesScopedList.Builder
mergeFrom(InstanceTemplatesScopedList other)
InstanceTemplatesScopedList.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
InstanceTemplatesScopedList.Builder
mergeFrom(com.google.protobuf.Message other)
InstanceTemplatesScopedList.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InstanceTemplatesScopedList.Builder
mergeWarning(Warning value)
[Output Only] An informational warning that replaces the list of instance templates when the list is empty.InstanceTemplatesScopedList.Builder
removeInstanceTemplates(int index)
[Output Only] A list of instance templates that are contained within the specified project and zone.InstanceTemplatesScopedList.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InstanceTemplatesScopedList.Builder
setInstanceTemplates(int index, InstanceTemplate value)
[Output Only] A list of instance templates that are contained within the specified project and zone.InstanceTemplatesScopedList.Builder
setInstanceTemplates(int index, InstanceTemplate.Builder builderForValue)
[Output Only] A list of instance templates that are contained within the specified project and zone.InstanceTemplatesScopedList.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
InstanceTemplatesScopedList.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InstanceTemplatesScopedList.Builder
setWarning(Warning value)
[Output Only] An informational warning that replaces the list of instance templates when the list is empty.InstanceTemplatesScopedList.Builder
setWarning(Warning.Builder builderForValue)
[Output Only] An informational warning that replaces the list of instance templates when the list is empty.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceTemplatesScopedList.Builder>
-
clear
public InstanceTemplatesScopedList.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceTemplatesScopedList.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceTemplatesScopedList.Builder>
-
getDefaultInstanceForType
public InstanceTemplatesScopedList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public InstanceTemplatesScopedList build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InstanceTemplatesScopedList buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InstanceTemplatesScopedList.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceTemplatesScopedList.Builder>
-
setField
public InstanceTemplatesScopedList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceTemplatesScopedList.Builder>
-
clearField
public InstanceTemplatesScopedList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceTemplatesScopedList.Builder>
-
clearOneof
public InstanceTemplatesScopedList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceTemplatesScopedList.Builder>
-
setRepeatedField
public InstanceTemplatesScopedList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceTemplatesScopedList.Builder>
-
addRepeatedField
public InstanceTemplatesScopedList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceTemplatesScopedList.Builder>
-
mergeFrom
public InstanceTemplatesScopedList.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InstanceTemplatesScopedList.Builder>
-
mergeFrom
public InstanceTemplatesScopedList.Builder mergeFrom(InstanceTemplatesScopedList other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceTemplatesScopedList.Builder>
-
mergeFrom
public InstanceTemplatesScopedList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InstanceTemplatesScopedList.Builder>
- Throws:
IOException
-
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;
- Specified by:
getInstanceTemplatesList
in interfaceInstanceTemplatesScopedListOrBuilder
-
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;
- Specified by:
getInstanceTemplatesCount
in interfaceInstanceTemplatesScopedListOrBuilder
-
getInstanceTemplates
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;
- Specified by:
getInstanceTemplates
in interfaceInstanceTemplatesScopedListOrBuilder
-
setInstanceTemplates
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
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;
-
addInstanceTemplates
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
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
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
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;
-
addAllInstanceTemplates
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;
-
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;
-
removeInstanceTemplates
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;
-
getInstanceTemplatesBuilder
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;
-
getInstanceTemplatesOrBuilder
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;
- Specified by:
getInstanceTemplatesOrBuilder
in interfaceInstanceTemplatesScopedListOrBuilder
-
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;
- Specified by:
getInstanceTemplatesOrBuilderList
in interfaceInstanceTemplatesScopedListOrBuilder
-
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
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;
-
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;
-
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;
- Specified by:
hasWarning
in interfaceInstanceTemplatesScopedListOrBuilder
- Returns:
- Whether the warning field is set.
-
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;
- Specified by:
getWarning
in interfaceInstanceTemplatesScopedListOrBuilder
- Returns:
- The warning.
-
setWarning
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;
-
setWarning
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;
-
mergeWarning
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;
-
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;
-
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;
- Specified by:
getWarningOrBuilder
in interfaceInstanceTemplatesScopedListOrBuilder
-
setUnknownFields
public final InstanceTemplatesScopedList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceTemplatesScopedList.Builder>
-
mergeUnknownFields
public final InstanceTemplatesScopedList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceTemplatesScopedList.Builder>
-
-