public static final class AcceleratorTypesScopedList.Builder extends GeneratedMessage.Builder<AcceleratorTypesScopedList.Builder> implements AcceleratorTypesScopedListOrBuilder
Protobuf type google.cloud.compute.v1.AcceleratorTypesScopedList
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
addAcceleratorTypes(AcceleratorType value)
public AcceleratorTypesScopedList.Builder addAcceleratorTypes(AcceleratorType value)
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
addAcceleratorTypes(AcceleratorType.Builder builderForValue)
public AcceleratorTypesScopedList.Builder addAcceleratorTypes(AcceleratorType.Builder builderForValue)
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
addAcceleratorTypes(int index, AcceleratorType value)
public AcceleratorTypesScopedList.Builder addAcceleratorTypes(int index, AcceleratorType value)
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
addAcceleratorTypes(int index, AcceleratorType.Builder builderForValue)
public AcceleratorTypesScopedList.Builder addAcceleratorTypes(int index, AcceleratorType.Builder builderForValue)
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
addAcceleratorTypesBuilder()
public AcceleratorType.Builder addAcceleratorTypesBuilder()
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
addAcceleratorTypesBuilder(int index)
public AcceleratorType.Builder addAcceleratorTypesBuilder(int index)
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
| Parameter |
| Name |
Description |
index |
int
|
addAllAcceleratorTypes(Iterable<? extends AcceleratorType> values)
public AcceleratorTypesScopedList.Builder addAllAcceleratorTypes(Iterable<? extends AcceleratorType> values)
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.compute.v1.AcceleratorType>
|
build()
public AcceleratorTypesScopedList build()
buildPartial()
public AcceleratorTypesScopedList buildPartial()
clear()
public AcceleratorTypesScopedList.Builder clear()
Overrides
clearAcceleratorTypes()
public AcceleratorTypesScopedList.Builder clearAcceleratorTypes()
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
clearWarning()
public AcceleratorTypesScopedList.Builder clearWarning()
[Output Only] An informational warning that appears when the accelerator
types list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
getAcceleratorTypes(int index)
public AcceleratorType getAcceleratorTypes(int index)
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
| Parameter |
| Name |
Description |
index |
int
|
getAcceleratorTypesBuilder(int index)
public AcceleratorType.Builder getAcceleratorTypesBuilder(int index)
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
| Parameter |
| Name |
Description |
index |
int
|
getAcceleratorTypesBuilderList()
public List<AcceleratorType.Builder> getAcceleratorTypesBuilderList()
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
getAcceleratorTypesCount()
public int getAcceleratorTypesCount()
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
| Returns |
| Type |
Description |
int |
|
getAcceleratorTypesList()
public List<AcceleratorType> getAcceleratorTypesList()
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
getAcceleratorTypesOrBuilder(int index)
public AcceleratorTypeOrBuilder getAcceleratorTypesOrBuilder(int index)
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
| Parameter |
| Name |
Description |
index |
int
|
getAcceleratorTypesOrBuilderList()
public List<? extends AcceleratorTypeOrBuilder> getAcceleratorTypesOrBuilderList()
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.AcceleratorTypeOrBuilder> |
|
getDefaultInstanceForType()
public AcceleratorTypesScopedList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getWarning()
public Warning getWarning()
[Output Only] An informational warning that appears when the accelerator
types 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 appears when the accelerator
types list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
getWarningOrBuilder()
public WarningOrBuilder getWarningOrBuilder()
[Output Only] An informational warning that appears when the accelerator
types list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
hasWarning()
public boolean hasWarning()
[Output Only] An informational warning that appears when the accelerator
types 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(AcceleratorTypesScopedList other)
public AcceleratorTypesScopedList.Builder mergeFrom(AcceleratorTypesScopedList other)
public AcceleratorTypesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AcceleratorTypesScopedList.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeWarning(Warning value)
public AcceleratorTypesScopedList.Builder mergeWarning(Warning value)
[Output Only] An informational warning that appears when the accelerator
types list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Parameter |
| Name |
Description |
value |
Warning
|
removeAcceleratorTypes(int index)
public AcceleratorTypesScopedList.Builder removeAcceleratorTypes(int index)
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
| Parameter |
| Name |
Description |
index |
int
|
setAcceleratorTypes(int index, AcceleratorType value)
public AcceleratorTypesScopedList.Builder setAcceleratorTypes(int index, AcceleratorType value)
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
setAcceleratorTypes(int index, AcceleratorType.Builder builderForValue)
public AcceleratorTypesScopedList.Builder setAcceleratorTypes(int index, AcceleratorType.Builder builderForValue)
[Output Only] A list of accelerator types contained in this scope.
repeated .google.cloud.compute.v1.AcceleratorType accelerator_types = 520872357;
setWarning(Warning value)
public AcceleratorTypesScopedList.Builder setWarning(Warning value)
[Output Only] An informational warning that appears when the accelerator
types list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Parameter |
| Name |
Description |
value |
Warning
|
setWarning(Warning.Builder builderForValue)
public AcceleratorTypesScopedList.Builder setWarning(Warning.Builder builderForValue)
[Output Only] An informational warning that appears when the accelerator
types list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;