Package com.google.cloud.compute.v1
Class AutoscalersScopedList.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AutoscalersScopedList.Builder>
-
- com.google.cloud.compute.v1.AutoscalersScopedList.Builder
-
- All Implemented Interfaces:
AutoscalersScopedListOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AutoscalersScopedList
public static final class AutoscalersScopedList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AutoscalersScopedList.Builder> implements AutoscalersScopedListOrBuilder
google.cloud.compute.v1.AutoscalersScopedList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoscalersScopedList.Builder
addAllAutoscalers(Iterable<? extends Autoscaler> values)
[Output Only] A list of autoscalers contained in this scope.AutoscalersScopedList.Builder
addAutoscalers(int index, Autoscaler value)
[Output Only] A list of autoscalers contained in this scope.AutoscalersScopedList.Builder
addAutoscalers(int index, Autoscaler.Builder builderForValue)
[Output Only] A list of autoscalers contained in this scope.AutoscalersScopedList.Builder
addAutoscalers(Autoscaler value)
[Output Only] A list of autoscalers contained in this scope.AutoscalersScopedList.Builder
addAutoscalers(Autoscaler.Builder builderForValue)
[Output Only] A list of autoscalers contained in this scope.Autoscaler.Builder
addAutoscalersBuilder()
[Output Only] A list of autoscalers contained in this scope.Autoscaler.Builder
addAutoscalersBuilder(int index)
[Output Only] A list of autoscalers contained in this scope.AutoscalersScopedList.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AutoscalersScopedList
build()
AutoscalersScopedList
buildPartial()
AutoscalersScopedList.Builder
clear()
AutoscalersScopedList.Builder
clearAutoscalers()
[Output Only] A list of autoscalers contained in this scope.AutoscalersScopedList.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AutoscalersScopedList.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AutoscalersScopedList.Builder
clearWarning()
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.AutoscalersScopedList.Builder
clone()
Autoscaler
getAutoscalers(int index)
[Output Only] A list of autoscalers contained in this scope.Autoscaler.Builder
getAutoscalersBuilder(int index)
[Output Only] A list of autoscalers contained in this scope.List<Autoscaler.Builder>
getAutoscalersBuilderList()
[Output Only] A list of autoscalers contained in this scope.int
getAutoscalersCount()
[Output Only] A list of autoscalers contained in this scope.List<Autoscaler>
getAutoscalersList()
[Output Only] A list of autoscalers contained in this scope.AutoscalerOrBuilder
getAutoscalersOrBuilder(int index)
[Output Only] A list of autoscalers contained in this scope.List<? extends AutoscalerOrBuilder>
getAutoscalersOrBuilderList()
[Output Only] A list of autoscalers contained in this scope.AutoscalersScopedList
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Warning
getWarning()
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.Warning.Builder
getWarningBuilder()
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.WarningOrBuilder
getWarningOrBuilder()
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.boolean
hasWarning()
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AutoscalersScopedList.Builder
mergeFrom(AutoscalersScopedList other)
AutoscalersScopedList.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AutoscalersScopedList.Builder
mergeFrom(com.google.protobuf.Message other)
AutoscalersScopedList.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AutoscalersScopedList.Builder
mergeWarning(Warning value)
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.AutoscalersScopedList.Builder
removeAutoscalers(int index)
[Output Only] A list of autoscalers contained in this scope.AutoscalersScopedList.Builder
setAutoscalers(int index, Autoscaler value)
[Output Only] A list of autoscalers contained in this scope.AutoscalersScopedList.Builder
setAutoscalers(int index, Autoscaler.Builder builderForValue)
[Output Only] A list of autoscalers contained in this scope.AutoscalersScopedList.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AutoscalersScopedList.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AutoscalersScopedList.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AutoscalersScopedList.Builder
setWarning(Warning value)
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.AutoscalersScopedList.Builder
setWarning(Warning.Builder builderForValue)
[Output Only] Informational warning which replaces the list of autoscalers 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<AutoscalersScopedList.Builder>
-
clear
public AutoscalersScopedList.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<AutoscalersScopedList.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<AutoscalersScopedList.Builder>
-
getDefaultInstanceForType
public AutoscalersScopedList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AutoscalersScopedList build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AutoscalersScopedList buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AutoscalersScopedList.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<AutoscalersScopedList.Builder>
-
setField
public AutoscalersScopedList.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<AutoscalersScopedList.Builder>
-
clearField
public AutoscalersScopedList.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<AutoscalersScopedList.Builder>
-
clearOneof
public AutoscalersScopedList.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<AutoscalersScopedList.Builder>
-
setRepeatedField
public AutoscalersScopedList.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<AutoscalersScopedList.Builder>
-
addRepeatedField
public AutoscalersScopedList.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<AutoscalersScopedList.Builder>
-
mergeFrom
public AutoscalersScopedList.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AutoscalersScopedList.Builder>
-
mergeFrom
public AutoscalersScopedList.Builder mergeFrom(AutoscalersScopedList other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalersScopedList.Builder>
-
mergeFrom
public AutoscalersScopedList.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<AutoscalersScopedList.Builder>
- Throws:
IOException
-
getAutoscalersList
public List<Autoscaler> getAutoscalersList()
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
- Specified by:
getAutoscalersList
in interfaceAutoscalersScopedListOrBuilder
-
getAutoscalersCount
public int getAutoscalersCount()
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
- Specified by:
getAutoscalersCount
in interfaceAutoscalersScopedListOrBuilder
-
getAutoscalers
public Autoscaler getAutoscalers(int index)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
- Specified by:
getAutoscalers
in interfaceAutoscalersScopedListOrBuilder
-
setAutoscalers
public AutoscalersScopedList.Builder setAutoscalers(int index, Autoscaler value)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
-
setAutoscalers
public AutoscalersScopedList.Builder setAutoscalers(int index, Autoscaler.Builder builderForValue)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
-
addAutoscalers
public AutoscalersScopedList.Builder addAutoscalers(Autoscaler value)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
-
addAutoscalers
public AutoscalersScopedList.Builder addAutoscalers(int index, Autoscaler value)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
-
addAutoscalers
public AutoscalersScopedList.Builder addAutoscalers(Autoscaler.Builder builderForValue)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
-
addAutoscalers
public AutoscalersScopedList.Builder addAutoscalers(int index, Autoscaler.Builder builderForValue)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
-
addAllAutoscalers
public AutoscalersScopedList.Builder addAllAutoscalers(Iterable<? extends Autoscaler> values)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
-
clearAutoscalers
public AutoscalersScopedList.Builder clearAutoscalers()
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
-
removeAutoscalers
public AutoscalersScopedList.Builder removeAutoscalers(int index)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
-
getAutoscalersBuilder
public Autoscaler.Builder getAutoscalersBuilder(int index)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
-
getAutoscalersOrBuilder
public AutoscalerOrBuilder getAutoscalersOrBuilder(int index)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
- Specified by:
getAutoscalersOrBuilder
in interfaceAutoscalersScopedListOrBuilder
-
getAutoscalersOrBuilderList
public List<? extends AutoscalerOrBuilder> getAutoscalersOrBuilderList()
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
- Specified by:
getAutoscalersOrBuilderList
in interfaceAutoscalersScopedListOrBuilder
-
addAutoscalersBuilder
public Autoscaler.Builder addAutoscalersBuilder()
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
-
addAutoscalersBuilder
public Autoscaler.Builder addAutoscalersBuilder(int index)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
-
getAutoscalersBuilderList
public List<Autoscaler.Builder> getAutoscalersBuilderList()
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
-
hasWarning
public boolean hasWarning()
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
- Specified by:
hasWarning
in interfaceAutoscalersScopedListOrBuilder
- Returns:
- Whether the warning field is set.
-
getWarning
public Warning getWarning()
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
- Specified by:
getWarning
in interfaceAutoscalersScopedListOrBuilder
- Returns:
- The warning.
-
setWarning
public AutoscalersScopedList.Builder setWarning(Warning value)
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
setWarning
public AutoscalersScopedList.Builder setWarning(Warning.Builder builderForValue)
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
mergeWarning
public AutoscalersScopedList.Builder mergeWarning(Warning value)
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
clearWarning
public AutoscalersScopedList.Builder clearWarning()
[Output Only] Informational warning which replaces the list of autoscalers 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 autoscalers 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 autoscalers when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
- Specified by:
getWarningOrBuilder
in interfaceAutoscalersScopedListOrBuilder
-
setUnknownFields
public final AutoscalersScopedList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalersScopedList.Builder>
-
mergeUnknownFields
public final AutoscalersScopedList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoscalersScopedList.Builder>
-
-