Package com.google.cloud.compute.v1
Class TargetInstancesScopedList.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TargetInstancesScopedList.Builder>
-
- com.google.cloud.compute.v1.TargetInstancesScopedList.Builder
-
- All Implemented Interfaces:
TargetInstancesScopedListOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- TargetInstancesScopedList
public static final class TargetInstancesScopedList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TargetInstancesScopedList.Builder> implements TargetInstancesScopedListOrBuilder
google.cloud.compute.v1.TargetInstancesScopedList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetInstancesScopedList.Builder
addAllTargetInstances(Iterable<? extends TargetInstance> values)
A list of target instances contained in this scope.TargetInstancesScopedList.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TargetInstancesScopedList.Builder
addTargetInstances(int index, TargetInstance value)
A list of target instances contained in this scope.TargetInstancesScopedList.Builder
addTargetInstances(int index, TargetInstance.Builder builderForValue)
A list of target instances contained in this scope.TargetInstancesScopedList.Builder
addTargetInstances(TargetInstance value)
A list of target instances contained in this scope.TargetInstancesScopedList.Builder
addTargetInstances(TargetInstance.Builder builderForValue)
A list of target instances contained in this scope.TargetInstance.Builder
addTargetInstancesBuilder()
A list of target instances contained in this scope.TargetInstance.Builder
addTargetInstancesBuilder(int index)
A list of target instances contained in this scope.TargetInstancesScopedList
build()
TargetInstancesScopedList
buildPartial()
TargetInstancesScopedList.Builder
clear()
TargetInstancesScopedList.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TargetInstancesScopedList.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TargetInstancesScopedList.Builder
clearTargetInstances()
A list of target instances contained in this scope.TargetInstancesScopedList.Builder
clearWarning()
Informational warning which replaces the list of addresses when the list is empty.TargetInstancesScopedList.Builder
clone()
TargetInstancesScopedList
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
TargetInstance
getTargetInstances(int index)
A list of target instances contained in this scope.TargetInstance.Builder
getTargetInstancesBuilder(int index)
A list of target instances contained in this scope.List<TargetInstance.Builder>
getTargetInstancesBuilderList()
A list of target instances contained in this scope.int
getTargetInstancesCount()
A list of target instances contained in this scope.List<TargetInstance>
getTargetInstancesList()
A list of target instances contained in this scope.TargetInstanceOrBuilder
getTargetInstancesOrBuilder(int index)
A list of target instances contained in this scope.List<? extends TargetInstanceOrBuilder>
getTargetInstancesOrBuilderList()
A list of target instances contained in this scope.Warning
getWarning()
Informational warning which replaces the list of addresses when the list is empty.Warning.Builder
getWarningBuilder()
Informational warning which replaces the list of addresses when the list is empty.WarningOrBuilder
getWarningOrBuilder()
Informational warning which replaces the list of addresses when the list is empty.boolean
hasWarning()
Informational warning which replaces the list of addresses when the list is empty.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TargetInstancesScopedList.Builder
mergeFrom(TargetInstancesScopedList other)
TargetInstancesScopedList.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TargetInstancesScopedList.Builder
mergeFrom(com.google.protobuf.Message other)
TargetInstancesScopedList.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TargetInstancesScopedList.Builder
mergeWarning(Warning value)
Informational warning which replaces the list of addresses when the list is empty.TargetInstancesScopedList.Builder
removeTargetInstances(int index)
A list of target instances contained in this scope.TargetInstancesScopedList.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TargetInstancesScopedList.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TargetInstancesScopedList.Builder
setTargetInstances(int index, TargetInstance value)
A list of target instances contained in this scope.TargetInstancesScopedList.Builder
setTargetInstances(int index, TargetInstance.Builder builderForValue)
A list of target instances contained in this scope.TargetInstancesScopedList.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TargetInstancesScopedList.Builder
setWarning(Warning value)
Informational warning which replaces the list of addresses when the list is empty.TargetInstancesScopedList.Builder
setWarning(Warning.Builder builderForValue)
Informational warning which replaces the list of addresses 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<TargetInstancesScopedList.Builder>
-
clear
public TargetInstancesScopedList.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<TargetInstancesScopedList.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<TargetInstancesScopedList.Builder>
-
getDefaultInstanceForType
public TargetInstancesScopedList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TargetInstancesScopedList build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TargetInstancesScopedList buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TargetInstancesScopedList.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<TargetInstancesScopedList.Builder>
-
setField
public TargetInstancesScopedList.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<TargetInstancesScopedList.Builder>
-
clearField
public TargetInstancesScopedList.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<TargetInstancesScopedList.Builder>
-
clearOneof
public TargetInstancesScopedList.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<TargetInstancesScopedList.Builder>
-
setRepeatedField
public TargetInstancesScopedList.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<TargetInstancesScopedList.Builder>
-
addRepeatedField
public TargetInstancesScopedList.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<TargetInstancesScopedList.Builder>
-
mergeFrom
public TargetInstancesScopedList.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TargetInstancesScopedList.Builder>
-
mergeFrom
public TargetInstancesScopedList.Builder mergeFrom(TargetInstancesScopedList other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetInstancesScopedList.Builder>
-
mergeFrom
public TargetInstancesScopedList.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<TargetInstancesScopedList.Builder>
- Throws:
IOException
-
getTargetInstancesList
public List<TargetInstance> getTargetInstancesList()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
- Specified by:
getTargetInstancesList
in interfaceTargetInstancesScopedListOrBuilder
-
getTargetInstancesCount
public int getTargetInstancesCount()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
- Specified by:
getTargetInstancesCount
in interfaceTargetInstancesScopedListOrBuilder
-
getTargetInstances
public TargetInstance getTargetInstances(int index)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
- Specified by:
getTargetInstances
in interfaceTargetInstancesScopedListOrBuilder
-
setTargetInstances
public TargetInstancesScopedList.Builder setTargetInstances(int index, TargetInstance value)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
-
setTargetInstances
public TargetInstancesScopedList.Builder setTargetInstances(int index, TargetInstance.Builder builderForValue)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
-
addTargetInstances
public TargetInstancesScopedList.Builder addTargetInstances(TargetInstance value)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
-
addTargetInstances
public TargetInstancesScopedList.Builder addTargetInstances(int index, TargetInstance value)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
-
addTargetInstances
public TargetInstancesScopedList.Builder addTargetInstances(TargetInstance.Builder builderForValue)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
-
addTargetInstances
public TargetInstancesScopedList.Builder addTargetInstances(int index, TargetInstance.Builder builderForValue)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
-
addAllTargetInstances
public TargetInstancesScopedList.Builder addAllTargetInstances(Iterable<? extends TargetInstance> values)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
-
clearTargetInstances
public TargetInstancesScopedList.Builder clearTargetInstances()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
-
removeTargetInstances
public TargetInstancesScopedList.Builder removeTargetInstances(int index)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
-
getTargetInstancesBuilder
public TargetInstance.Builder getTargetInstancesBuilder(int index)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
-
getTargetInstancesOrBuilder
public TargetInstanceOrBuilder getTargetInstancesOrBuilder(int index)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
- Specified by:
getTargetInstancesOrBuilder
in interfaceTargetInstancesScopedListOrBuilder
-
getTargetInstancesOrBuilderList
public List<? extends TargetInstanceOrBuilder> getTargetInstancesOrBuilderList()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
- Specified by:
getTargetInstancesOrBuilderList
in interfaceTargetInstancesScopedListOrBuilder
-
addTargetInstancesBuilder
public TargetInstance.Builder addTargetInstancesBuilder()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
-
addTargetInstancesBuilder
public TargetInstance.Builder addTargetInstancesBuilder(int index)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
-
getTargetInstancesBuilderList
public List<TargetInstance.Builder> getTargetInstancesBuilderList()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
-
hasWarning
public boolean hasWarning()
Informational warning which replaces the list of addresses when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
- Specified by:
hasWarning
in interfaceTargetInstancesScopedListOrBuilder
- Returns:
- Whether the warning field is set.
-
getWarning
public Warning getWarning()
Informational warning which replaces the list of addresses when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
- Specified by:
getWarning
in interfaceTargetInstancesScopedListOrBuilder
- Returns:
- The warning.
-
setWarning
public TargetInstancesScopedList.Builder setWarning(Warning value)
Informational warning which replaces the list of addresses when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
setWarning
public TargetInstancesScopedList.Builder setWarning(Warning.Builder builderForValue)
Informational warning which replaces the list of addresses when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
mergeWarning
public TargetInstancesScopedList.Builder mergeWarning(Warning value)
Informational warning which replaces the list of addresses when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
clearWarning
public TargetInstancesScopedList.Builder clearWarning()
Informational warning which replaces the list of addresses when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
getWarningBuilder
public Warning.Builder getWarningBuilder()
Informational warning which replaces the list of addresses when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
getWarningOrBuilder
public WarningOrBuilder getWarningOrBuilder()
Informational warning which replaces the list of addresses when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
- Specified by:
getWarningOrBuilder
in interfaceTargetInstancesScopedListOrBuilder
-
setUnknownFields
public final TargetInstancesScopedList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetInstancesScopedList.Builder>
-
mergeUnknownFields
public final TargetInstancesScopedList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetInstancesScopedList.Builder>
-
-