Package com.google.cloud.compute.v1
Class GuestAttributesEntry.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder>
-
- com.google.cloud.compute.v1.GuestAttributesEntry.Builder
-
- All Implemented Interfaces:
GuestAttributesEntryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GuestAttributesEntry
public static final class GuestAttributesEntry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder> implements GuestAttributesEntryOrBuilder
A guest attributes namespace/key/value entry.
Protobuf typegoogle.cloud.compute.v1.GuestAttributesEntry
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GuestAttributesEntry.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GuestAttributesEntrybuild()GuestAttributesEntrybuildPartial()GuestAttributesEntry.Builderclear()GuestAttributesEntry.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GuestAttributesEntry.BuilderclearKey()Key for the guest attribute entry.GuestAttributesEntry.BuilderclearNamespace()Namespace for the guest attribute entry.GuestAttributesEntry.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GuestAttributesEntry.BuilderclearValue()Value for the guest attribute entry.GuestAttributesEntry.Builderclone()GuestAttributesEntrygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetKey()Key for the guest attribute entry.com.google.protobuf.ByteStringgetKeyBytes()Key for the guest attribute entry.StringgetNamespace()Namespace for the guest attribute entry.com.google.protobuf.ByteStringgetNamespaceBytes()Namespace for the guest attribute entry.StringgetValue()Value for the guest attribute entry.com.google.protobuf.ByteStringgetValueBytes()Value for the guest attribute entry.booleanhasKey()Key for the guest attribute entry.booleanhasNamespace()Namespace for the guest attribute entry.booleanhasValue()Value for the guest attribute entry.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GuestAttributesEntry.BuildermergeFrom(GuestAttributesEntry other)GuestAttributesEntry.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GuestAttributesEntry.BuildermergeFrom(com.google.protobuf.Message other)GuestAttributesEntry.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GuestAttributesEntry.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GuestAttributesEntry.BuildersetKey(String value)Key for the guest attribute entry.GuestAttributesEntry.BuildersetKeyBytes(com.google.protobuf.ByteString value)Key for the guest attribute entry.GuestAttributesEntry.BuildersetNamespace(String value)Namespace for the guest attribute entry.GuestAttributesEntry.BuildersetNamespaceBytes(com.google.protobuf.ByteString value)Namespace for the guest attribute entry.GuestAttributesEntry.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)GuestAttributesEntry.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GuestAttributesEntry.BuildersetValue(String value)Value for the guest attribute entry.GuestAttributesEntry.BuildersetValueBytes(com.google.protobuf.ByteString value)Value for the guest attribute entry.-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder>
-
clear
public GuestAttributesEntry.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder>
-
getDefaultInstanceForType
public GuestAttributesEntry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GuestAttributesEntry build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GuestAttributesEntry buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GuestAttributesEntry.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder>
-
setField
public GuestAttributesEntry.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder>
-
clearField
public GuestAttributesEntry.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder>
-
clearOneof
public GuestAttributesEntry.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder>
-
setRepeatedField
public GuestAttributesEntry.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder>
-
addRepeatedField
public GuestAttributesEntry.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder>
-
mergeFrom
public GuestAttributesEntry.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GuestAttributesEntry.Builder>
-
mergeFrom
public GuestAttributesEntry.Builder mergeFrom(GuestAttributesEntry other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder>
-
mergeFrom
public GuestAttributesEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GuestAttributesEntry.Builder>- Throws:
IOException
-
hasKey
public boolean hasKey()
Key for the guest attribute entry.
optional string key = 106079;- Specified by:
hasKeyin interfaceGuestAttributesEntryOrBuilder- Returns:
- Whether the key field is set.
-
getKey
public String getKey()
Key for the guest attribute entry.
optional string key = 106079;- Specified by:
getKeyin interfaceGuestAttributesEntryOrBuilder- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()
Key for the guest attribute entry.
optional string key = 106079;- Specified by:
getKeyBytesin interfaceGuestAttributesEntryOrBuilder- Returns:
- The bytes for key.
-
setKey
public GuestAttributesEntry.Builder setKey(String value)
Key for the guest attribute entry.
optional string key = 106079;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
clearKey
public GuestAttributesEntry.Builder clearKey()
Key for the guest attribute entry.
optional string key = 106079;- Returns:
- This builder for chaining.
-
setKeyBytes
public GuestAttributesEntry.Builder setKeyBytes(com.google.protobuf.ByteString value)
Key for the guest attribute entry.
optional string key = 106079;- Parameters:
value- The bytes for key to set.- Returns:
- This builder for chaining.
-
hasNamespace
public boolean hasNamespace()
Namespace for the guest attribute entry.
optional string namespace = 178476379;- Specified by:
hasNamespacein interfaceGuestAttributesEntryOrBuilder- Returns:
- Whether the namespace field is set.
-
getNamespace
public String getNamespace()
Namespace for the guest attribute entry.
optional string namespace = 178476379;- Specified by:
getNamespacein interfaceGuestAttributesEntryOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
Namespace for the guest attribute entry.
optional string namespace = 178476379;- Specified by:
getNamespaceBytesin interfaceGuestAttributesEntryOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
public GuestAttributesEntry.Builder setNamespace(String value)
Namespace for the guest attribute entry.
optional string namespace = 178476379;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
public GuestAttributesEntry.Builder clearNamespace()
Namespace for the guest attribute entry.
optional string namespace = 178476379;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public GuestAttributesEntry.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
Namespace for the guest attribute entry.
optional string namespace = 178476379;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
hasValue
public boolean hasValue()
Value for the guest attribute entry.
optional string value = 111972721;- Specified by:
hasValuein interfaceGuestAttributesEntryOrBuilder- Returns:
- Whether the value field is set.
-
getValue
public String getValue()
Value for the guest attribute entry.
optional string value = 111972721;- Specified by:
getValuein interfaceGuestAttributesEntryOrBuilder- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()
Value for the guest attribute entry.
optional string value = 111972721;- Specified by:
getValueBytesin interfaceGuestAttributesEntryOrBuilder- Returns:
- The bytes for value.
-
setValue
public GuestAttributesEntry.Builder setValue(String value)
Value for the guest attribute entry.
optional string value = 111972721;- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public GuestAttributesEntry.Builder clearValue()
Value for the guest attribute entry.
optional string value = 111972721;- Returns:
- This builder for chaining.
-
setValueBytes
public GuestAttributesEntry.Builder setValueBytes(com.google.protobuf.ByteString value)
Value for the guest attribute entry.
optional string value = 111972721;- Parameters:
value- The bytes for value to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GuestAttributesEntry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder>
-
mergeUnknownFields
public final GuestAttributesEntry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder>
-
-