Class GuestAttributesValue.Builder (1.65.0)

public static final class GuestAttributesValue.Builder extends GeneratedMessageV3.Builder<GuestAttributesValue.Builder> implements GuestAttributesValueOrBuilder

Array of guest attribute namespace/key/value tuples.

Protobuf type google.cloud.compute.v1.GuestAttributesValue

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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>
Returns
Type Description
GuestAttributesValue.Builder

addItems(GuestAttributesEntry value)

public GuestAttributesValue.Builder addItems(GuestAttributesEntry value)

repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;

Parameter
Name Description
value GuestAttributesEntry
Returns
Type Description
GuestAttributesValue.Builder

addItems(GuestAttributesEntry.Builder builderForValue)

public GuestAttributesValue.Builder addItems(GuestAttributesEntry.Builder builderForValue)

repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;

Parameter
Name Description
builderForValue GuestAttributesEntry.Builder
Returns
Type Description
GuestAttributesValue.Builder

addItems(int index, GuestAttributesEntry value)

public GuestAttributesValue.Builder addItems(int index, GuestAttributesEntry value)

repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;

Parameters
Name Description
index int
value GuestAttributesEntry
Returns
Type Description
GuestAttributesValue.Builder

addItems(int index, GuestAttributesEntry.Builder builderForValue)

public GuestAttributesValue.Builder addItems(int index, GuestAttributesEntry.Builder builderForValue)

repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;

Parameters
Name Description
index int
builderForValue GuestAttributesEntry.Builder
Returns
Type Description
GuestAttributesValue.Builder

addItemsBuilder()

public GuestAttributesEntry.Builder addItemsBuilder()

repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;

Returns
Type Description
GuestAttributesEntry.Builder

addItemsBuilder(int index)

public GuestAttributesEntry.Builder addItemsBuilder(int index)

repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributesEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GuestAttributesValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GuestAttributesValue.Builder
Overrides

build()

public GuestAttributesValue build()
Returns
Type Description
GuestAttributesValue

buildPartial()

public GuestAttributesValue buildPartial()
Returns
Type Description
GuestAttributesValue

clear()

public GuestAttributesValue.Builder clear()
Returns
Type Description
GuestAttributesValue.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GuestAttributesValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GuestAttributesValue.Builder
Overrides

clearItems()

public GuestAttributesValue.Builder clearItems()

repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;

Returns
Type Description
GuestAttributesValue.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public GuestAttributesValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GuestAttributesValue.Builder
Overrides

clone()

public GuestAttributesValue.Builder clone()
Returns
Type Description
GuestAttributesValue.Builder
Overrides

getDefaultInstanceForType()

public GuestAttributesValue getDefaultInstanceForType()
Returns
Type Description
GuestAttributesValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getItems(int index)

public GuestAttributesEntry getItems(int index)

repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributesEntry

getItemsBuilder(int index)

public GuestAttributesEntry.Builder getItemsBuilder(int index)

repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributesEntry.Builder

getItemsBuilderList()

public List<GuestAttributesEntry.Builder> getItemsBuilderList()

repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<GuestAttributesEntry>

getItemsOrBuilder(int index)

public GuestAttributesEntryOrBuilder getItemsOrBuilder(int index)

repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributesEntryOrBuilder

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GuestAttributesValue other)

public GuestAttributesValue.Builder mergeFrom(GuestAttributesValue other)
Parameter
Name Description
other GuestAttributesValue
Returns
Type Description
GuestAttributesValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GuestAttributesValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestAttributesValue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GuestAttributesValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GuestAttributesValue.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GuestAttributesValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GuestAttributesValue.Builder
Overrides

removeItems(int index)

public GuestAttributesValue.Builder removeItems(int index)

repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributesValue.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GuestAttributesValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GuestAttributesValue.Builder
Overrides

setItems(int index, GuestAttributesEntry value)

public GuestAttributesValue.Builder setItems(int index, GuestAttributesEntry value)

repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;

Parameters
Name Description
index int
value GuestAttributesEntry
Returns
Type Description
GuestAttributesValue.Builder

setItems(int index, GuestAttributesEntry.Builder builderForValue)

public GuestAttributesValue.Builder setItems(int index, GuestAttributesEntry.Builder builderForValue)

repeated .google.cloud.compute.v1.GuestAttributesEntry items = 100526016;

Parameters
Name Description
index int
builderForValue GuestAttributesEntry.Builder
Returns
Type Description
GuestAttributesValue.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GuestAttributesValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GuestAttributesValue.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GuestAttributesValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GuestAttributesValue.Builder
Overrides