Package com.google.cloud.compute.v1
Class InstancesScopedList.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<InstancesScopedList.Builder>
-
- com.google.cloud.compute.v1.InstancesScopedList.Builder
-
- All Implemented Interfaces:
InstancesScopedListOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- InstancesScopedList
public static final class InstancesScopedList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InstancesScopedList.Builder> implements InstancesScopedListOrBuilder
google.cloud.compute.v1.InstancesScopedList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstancesScopedList.Builder
addAllInstances(Iterable<? extends Instance> values)
[Output Only] A list of instances contained in this scope.InstancesScopedList.Builder
addInstances(int index, Instance value)
[Output Only] A list of instances contained in this scope.InstancesScopedList.Builder
addInstances(int index, Instance.Builder builderForValue)
[Output Only] A list of instances contained in this scope.InstancesScopedList.Builder
addInstances(Instance value)
[Output Only] A list of instances contained in this scope.InstancesScopedList.Builder
addInstances(Instance.Builder builderForValue)
[Output Only] A list of instances contained in this scope.Instance.Builder
addInstancesBuilder()
[Output Only] A list of instances contained in this scope.Instance.Builder
addInstancesBuilder(int index)
[Output Only] A list of instances contained in this scope.InstancesScopedList.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InstancesScopedList
build()
InstancesScopedList
buildPartial()
InstancesScopedList.Builder
clear()
InstancesScopedList.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
InstancesScopedList.Builder
clearInstances()
[Output Only] A list of instances contained in this scope.InstancesScopedList.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
InstancesScopedList.Builder
clearWarning()
[Output Only] Informational warning which replaces the list of instances when the list is empty.InstancesScopedList.Builder
clone()
InstancesScopedList
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Instance
getInstances(int index)
[Output Only] A list of instances contained in this scope.Instance.Builder
getInstancesBuilder(int index)
[Output Only] A list of instances contained in this scope.List<Instance.Builder>
getInstancesBuilderList()
[Output Only] A list of instances contained in this scope.int
getInstancesCount()
[Output Only] A list of instances contained in this scope.List<Instance>
getInstancesList()
[Output Only] A list of instances contained in this scope.InstanceOrBuilder
getInstancesOrBuilder(int index)
[Output Only] A list of instances contained in this scope.List<? extends InstanceOrBuilder>
getInstancesOrBuilderList()
[Output Only] A list of instances contained in this scope.Warning
getWarning()
[Output Only] Informational warning which replaces the list of instances when the list is empty.Warning.Builder
getWarningBuilder()
[Output Only] Informational warning which replaces the list of instances when the list is empty.WarningOrBuilder
getWarningOrBuilder()
[Output Only] Informational warning which replaces the list of instances when the list is empty.boolean
hasWarning()
[Output Only] Informational warning which replaces the list of instances when the list is empty.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
InstancesScopedList.Builder
mergeFrom(InstancesScopedList other)
InstancesScopedList.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
InstancesScopedList.Builder
mergeFrom(com.google.protobuf.Message other)
InstancesScopedList.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InstancesScopedList.Builder
mergeWarning(Warning value)
[Output Only] Informational warning which replaces the list of instances when the list is empty.InstancesScopedList.Builder
removeInstances(int index)
[Output Only] A list of instances contained in this scope.InstancesScopedList.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InstancesScopedList.Builder
setInstances(int index, Instance value)
[Output Only] A list of instances contained in this scope.InstancesScopedList.Builder
setInstances(int index, Instance.Builder builderForValue)
[Output Only] A list of instances contained in this scope.InstancesScopedList.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
InstancesScopedList.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InstancesScopedList.Builder
setWarning(Warning value)
[Output Only] Informational warning which replaces the list of instances when the list is empty.InstancesScopedList.Builder
setWarning(Warning.Builder builderForValue)
[Output Only] Informational warning which replaces the list of instances 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<InstancesScopedList.Builder>
-
clear
public InstancesScopedList.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<InstancesScopedList.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<InstancesScopedList.Builder>
-
getDefaultInstanceForType
public InstancesScopedList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public InstancesScopedList build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InstancesScopedList buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InstancesScopedList.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<InstancesScopedList.Builder>
-
setField
public InstancesScopedList.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<InstancesScopedList.Builder>
-
clearField
public InstancesScopedList.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<InstancesScopedList.Builder>
-
clearOneof
public InstancesScopedList.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<InstancesScopedList.Builder>
-
setRepeatedField
public InstancesScopedList.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<InstancesScopedList.Builder>
-
addRepeatedField
public InstancesScopedList.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<InstancesScopedList.Builder>
-
mergeFrom
public InstancesScopedList.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InstancesScopedList.Builder>
-
mergeFrom
public InstancesScopedList.Builder mergeFrom(InstancesScopedList other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesScopedList.Builder>
-
mergeFrom
public InstancesScopedList.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<InstancesScopedList.Builder>
- Throws:
IOException
-
getInstancesList
public List<Instance> getInstancesList()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
- Specified by:
getInstancesList
in interfaceInstancesScopedListOrBuilder
-
getInstancesCount
public int getInstancesCount()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
- Specified by:
getInstancesCount
in interfaceInstancesScopedListOrBuilder
-
getInstances
public Instance getInstances(int index)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
- Specified by:
getInstances
in interfaceInstancesScopedListOrBuilder
-
setInstances
public InstancesScopedList.Builder setInstances(int index, Instance value)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
-
setInstances
public InstancesScopedList.Builder setInstances(int index, Instance.Builder builderForValue)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
-
addInstances
public InstancesScopedList.Builder addInstances(Instance value)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
-
addInstances
public InstancesScopedList.Builder addInstances(int index, Instance value)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
-
addInstances
public InstancesScopedList.Builder addInstances(Instance.Builder builderForValue)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
-
addInstances
public InstancesScopedList.Builder addInstances(int index, Instance.Builder builderForValue)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
-
addAllInstances
public InstancesScopedList.Builder addAllInstances(Iterable<? extends Instance> values)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
-
clearInstances
public InstancesScopedList.Builder clearInstances()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
-
removeInstances
public InstancesScopedList.Builder removeInstances(int index)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
-
getInstancesBuilder
public Instance.Builder getInstancesBuilder(int index)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
-
getInstancesOrBuilder
public InstanceOrBuilder getInstancesOrBuilder(int index)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
- Specified by:
getInstancesOrBuilder
in interfaceInstancesScopedListOrBuilder
-
getInstancesOrBuilderList
public List<? extends InstanceOrBuilder> getInstancesOrBuilderList()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
- Specified by:
getInstancesOrBuilderList
in interfaceInstancesScopedListOrBuilder
-
addInstancesBuilder
public Instance.Builder addInstancesBuilder()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
-
addInstancesBuilder
public Instance.Builder addInstancesBuilder(int index)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
-
getInstancesBuilderList
public List<Instance.Builder> getInstancesBuilderList()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
-
hasWarning
public boolean hasWarning()
[Output Only] Informational warning which replaces the list of instances when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
- Specified by:
hasWarning
in interfaceInstancesScopedListOrBuilder
- Returns:
- Whether the warning field is set.
-
getWarning
public Warning getWarning()
[Output Only] Informational warning which replaces the list of instances when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
- Specified by:
getWarning
in interfaceInstancesScopedListOrBuilder
- Returns:
- The warning.
-
setWarning
public InstancesScopedList.Builder setWarning(Warning value)
[Output Only] Informational warning which replaces the list of instances when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
setWarning
public InstancesScopedList.Builder setWarning(Warning.Builder builderForValue)
[Output Only] Informational warning which replaces the list of instances when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
mergeWarning
public InstancesScopedList.Builder mergeWarning(Warning value)
[Output Only] Informational warning which replaces the list of instances when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
clearWarning
public InstancesScopedList.Builder clearWarning()
[Output Only] Informational warning which replaces the list of instances when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
getWarningBuilder
public Warning.Builder getWarningBuilder()
[Output Only] Informational warning which replaces the list of instances when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
getWarningOrBuilder
public WarningOrBuilder getWarningOrBuilder()
[Output Only] Informational warning which replaces the list of instances when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
- Specified by:
getWarningOrBuilder
in interfaceInstancesScopedListOrBuilder
-
setUnknownFields
public final InstancesScopedList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesScopedList.Builder>
-
mergeUnknownFields
public final InstancesScopedList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesScopedList.Builder>
-
-