Class GuestAttributesValue.Builder (1.93.0)
Version latestkeyboard_arrow_down
public static final class GuestAttributesValue . Builder extends GeneratedMessage . Builder<GuestAttributesValue . Builder > implements GuestAttributesValueOrBuilder
Array of guest attribute namespace/key/value tuples.
Protobuf type google.cloud.compute.v1.GuestAttributesValue
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
addAllItems(Iterable<? extends GuestAttributesEntry> values)
public GuestAttributesValue . Builder addAllItems ( Iterable <? extends GuestAttributesEntry > values )
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
Parameter
Name
Description
values
Iterable <? extends com.google.cloud.compute.v1.GuestAttributesEntry >
addItems(GuestAttributesEntry value)
public GuestAttributesValue . Builder addItems ( GuestAttributesEntry value )
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
addItems(GuestAttributesEntry.Builder builderForValue)
public GuestAttributesValue . Builder addItems ( GuestAttributesEntry . Builder builderForValue )
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
addItems(int index, GuestAttributesEntry value)
public GuestAttributesValue . Builder addItems ( int index , GuestAttributesEntry value )
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
addItems(int index, GuestAttributesEntry.Builder builderForValue)
public GuestAttributesValue . Builder addItems ( int index , GuestAttributesEntry . Builder builderForValue )
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
addItemsBuilder()
public GuestAttributesEntry . Builder addItemsBuilder ()
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
addItemsBuilder(int index)
public GuestAttributesEntry . Builder addItemsBuilder ( int index )
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
Parameter
Name
Description
index
int
build()
public GuestAttributesValue build ()
buildPartial()
public GuestAttributesValue buildPartial ()
clear()
public GuestAttributesValue . Builder clear ()
Overrides
clearItems()
public GuestAttributesValue . Builder clearItems ()
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
getDefaultInstanceForType()
public GuestAttributesValue getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getItems(int index)
public GuestAttributesEntry getItems ( int index )
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
Parameter
Name
Description
index
int
getItemsBuilder(int index)
public GuestAttributesEntry . Builder getItemsBuilder ( int index )
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
Parameter
Name
Description
index
int
getItemsBuilderList()
public List<GuestAttributesEntry . Builder > getItemsBuilderList ()
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
getItemsCount()
public int getItemsCount ()
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
Returns
Type
Description
int
getItemsList()
public List<GuestAttributesEntry> getItemsList ()
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
getItemsOrBuilder(int index)
public GuestAttributesEntryOrBuilder getItemsOrBuilder ( int index )
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
Parameter
Name
Description
index
int
getItemsOrBuilderList()
public List <? extends GuestAttributesEntryOrBuilder > getItemsOrBuilderList ()
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
Returns
Type
Description
List <? extends com.google.cloud.compute.v1.GuestAttributesEntryOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessage . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(GuestAttributesValue other)
public GuestAttributesValue . Builder mergeFrom ( GuestAttributesValue other )
public GuestAttributesValue . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public GuestAttributesValue . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
removeItems(int index)
public GuestAttributesValue . Builder removeItems ( int index )
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
Parameter
Name
Description
index
int
setItems(int index, GuestAttributesEntry value)
public GuestAttributesValue . Builder setItems ( int index , GuestAttributesEntry value )
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
setItems(int index, GuestAttributesEntry.Builder builderForValue)
public GuestAttributesValue . Builder setItems ( int index , GuestAttributesEntry . Builder builderForValue )
repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-01 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-02-01 UTC."],[],[]]