public static final class AcceleratorTypesScopedList.Builder extends GeneratedMessageV3.Builder<AcceleratorTypesScopedList.Builder> implements AcceleratorTypesScopedListOrBuilder
Protobuf type google.cloud.compute.v1.AcceleratorTypesScopedList
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
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;
Returns
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
Returns
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>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AcceleratorTypesScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AcceleratorTypesScopedList build()
Returns
buildPartial()
public AcceleratorTypesScopedList buildPartial()
Returns
clear()
public AcceleratorTypesScopedList.Builder clear()
Returns
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public AcceleratorTypesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AcceleratorTypesScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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;
Returns
clone()
public AcceleratorTypesScopedList.Builder clone()
Returns
Overrides
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
Returns
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
Returns
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;
Returns
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
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;
Returns
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
Returns
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()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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;
Returns
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;
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AcceleratorTypesScopedList other)
public AcceleratorTypesScopedList.Builder mergeFrom(AcceleratorTypesScopedList other)
Parameter
Returns
public AcceleratorTypesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AcceleratorTypesScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AcceleratorTypesScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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;
Parameters
Returns
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;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AcceleratorTypesScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AcceleratorTypesScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AcceleratorTypesScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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;
Parameter
Returns