Package com.google.cloud.tpu.v2
Class GuestAttributesValue.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesValue.Builder>
-
- com.google.cloud.tpu.v2.GuestAttributesValue.Builder
-
- All Implemented Interfaces:
GuestAttributesValueOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- GuestAttributesValue
public static final class GuestAttributesValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesValue.Builder> implements GuestAttributesValueOrBuilder
Array of guest attribute namespace/key/value tuples.
Protobuf typegoogle.cloud.tpu.v2.GuestAttributesValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GuestAttributesValue.Builder
addAllItems(Iterable<? extends GuestAttributesEntry> values)
The list of guest attributes entries.GuestAttributesValue.Builder
addItems(int index, GuestAttributesEntry value)
The list of guest attributes entries.GuestAttributesValue.Builder
addItems(int index, GuestAttributesEntry.Builder builderForValue)
The list of guest attributes entries.GuestAttributesValue.Builder
addItems(GuestAttributesEntry value)
The list of guest attributes entries.GuestAttributesValue.Builder
addItems(GuestAttributesEntry.Builder builderForValue)
The list of guest attributes entries.GuestAttributesEntry.Builder
addItemsBuilder()
The list of guest attributes entries.GuestAttributesEntry.Builder
addItemsBuilder(int index)
The list of guest attributes entries.GuestAttributesValue.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GuestAttributesValue
build()
GuestAttributesValue
buildPartial()
GuestAttributesValue.Builder
clear()
GuestAttributesValue.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GuestAttributesValue.Builder
clearItems()
The list of guest attributes entries.GuestAttributesValue.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GuestAttributesValue.Builder
clone()
GuestAttributesValue
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
GuestAttributesEntry
getItems(int index)
The list of guest attributes entries.GuestAttributesEntry.Builder
getItemsBuilder(int index)
The list of guest attributes entries.List<GuestAttributesEntry.Builder>
getItemsBuilderList()
The list of guest attributes entries.int
getItemsCount()
The list of guest attributes entries.List<GuestAttributesEntry>
getItemsList()
The list of guest attributes entries.GuestAttributesEntryOrBuilder
getItemsOrBuilder(int index)
The list of guest attributes entries.List<? extends GuestAttributesEntryOrBuilder>
getItemsOrBuilderList()
The list of guest attributes entries.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GuestAttributesValue.Builder
mergeFrom(GuestAttributesValue other)
GuestAttributesValue.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GuestAttributesValue.Builder
mergeFrom(com.google.protobuf.Message other)
GuestAttributesValue.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GuestAttributesValue.Builder
removeItems(int index)
The list of guest attributes entries.GuestAttributesValue.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GuestAttributesValue.Builder
setItems(int index, GuestAttributesEntry value)
The list of guest attributes entries.GuestAttributesValue.Builder
setItems(int index, GuestAttributesEntry.Builder builderForValue)
The list of guest attributes entries.GuestAttributesValue.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
GuestAttributesValue.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
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<GuestAttributesValue.Builder>
-
clear
public GuestAttributesValue.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<GuestAttributesValue.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<GuestAttributesValue.Builder>
-
getDefaultInstanceForType
public GuestAttributesValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GuestAttributesValue build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GuestAttributesValue buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GuestAttributesValue.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<GuestAttributesValue.Builder>
-
setField
public GuestAttributesValue.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<GuestAttributesValue.Builder>
-
clearField
public GuestAttributesValue.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<GuestAttributesValue.Builder>
-
clearOneof
public GuestAttributesValue.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<GuestAttributesValue.Builder>
-
setRepeatedField
public GuestAttributesValue.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<GuestAttributesValue.Builder>
-
addRepeatedField
public GuestAttributesValue.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<GuestAttributesValue.Builder>
-
mergeFrom
public GuestAttributesValue.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GuestAttributesValue.Builder>
-
mergeFrom
public GuestAttributesValue.Builder mergeFrom(GuestAttributesValue other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesValue.Builder>
-
mergeFrom
public GuestAttributesValue.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<GuestAttributesValue.Builder>
- Throws:
IOException
-
getItemsList
public List<GuestAttributesEntry> getItemsList()
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
- Specified by:
getItemsList
in interfaceGuestAttributesValueOrBuilder
-
getItemsCount
public int getItemsCount()
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
- Specified by:
getItemsCount
in interfaceGuestAttributesValueOrBuilder
-
getItems
public GuestAttributesEntry getItems(int index)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
- Specified by:
getItems
in interfaceGuestAttributesValueOrBuilder
-
setItems
public GuestAttributesValue.Builder setItems(int index, GuestAttributesEntry value)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
-
setItems
public GuestAttributesValue.Builder setItems(int index, GuestAttributesEntry.Builder builderForValue)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
-
addItems
public GuestAttributesValue.Builder addItems(GuestAttributesEntry value)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
-
addItems
public GuestAttributesValue.Builder addItems(int index, GuestAttributesEntry value)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
-
addItems
public GuestAttributesValue.Builder addItems(GuestAttributesEntry.Builder builderForValue)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
-
addItems
public GuestAttributesValue.Builder addItems(int index, GuestAttributesEntry.Builder builderForValue)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
-
addAllItems
public GuestAttributesValue.Builder addAllItems(Iterable<? extends GuestAttributesEntry> values)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
-
clearItems
public GuestAttributesValue.Builder clearItems()
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
-
removeItems
public GuestAttributesValue.Builder removeItems(int index)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
-
getItemsBuilder
public GuestAttributesEntry.Builder getItemsBuilder(int index)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
-
getItemsOrBuilder
public GuestAttributesEntryOrBuilder getItemsOrBuilder(int index)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
- Specified by:
getItemsOrBuilder
in interfaceGuestAttributesValueOrBuilder
-
getItemsOrBuilderList
public List<? extends GuestAttributesEntryOrBuilder> getItemsOrBuilderList()
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
- Specified by:
getItemsOrBuilderList
in interfaceGuestAttributesValueOrBuilder
-
addItemsBuilder
public GuestAttributesEntry.Builder addItemsBuilder()
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
-
addItemsBuilder
public GuestAttributesEntry.Builder addItemsBuilder(int index)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
-
getItemsBuilderList
public List<GuestAttributesEntry.Builder> getItemsBuilderList()
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
-
setUnknownFields
public final GuestAttributesValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesValue.Builder>
-
mergeUnknownFields
public final GuestAttributesValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesValue.Builder>
-
-