Package com.google.cloud.tpu.v2alpha1
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.tpu.v2alpha1.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.tpu.v2alpha1.GuestAttributesEntry
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GuestAttributesEntry.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GuestAttributesEntry
build()
GuestAttributesEntry
buildPartial()
GuestAttributesEntry.Builder
clear()
GuestAttributesEntry.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GuestAttributesEntry.Builder
clearKey()
Key for the guest attribute entry.GuestAttributesEntry.Builder
clearNamespace()
Namespace for the guest attribute entry.GuestAttributesEntry.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GuestAttributesEntry.Builder
clearValue()
Value for the guest attribute entry.GuestAttributesEntry.Builder
clone()
GuestAttributesEntry
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getKey()
Key for the guest attribute entry.com.google.protobuf.ByteString
getKeyBytes()
Key for the guest attribute entry.String
getNamespace()
Namespace for the guest attribute entry.com.google.protobuf.ByteString
getNamespaceBytes()
Namespace for the guest attribute entry.String
getValue()
Value for the guest attribute entry.com.google.protobuf.ByteString
getValueBytes()
Value for the guest attribute entry.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GuestAttributesEntry.Builder
mergeFrom(GuestAttributesEntry other)
GuestAttributesEntry.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GuestAttributesEntry.Builder
mergeFrom(com.google.protobuf.Message other)
GuestAttributesEntry.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GuestAttributesEntry.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GuestAttributesEntry.Builder
setKey(String value)
Key for the guest attribute entry.GuestAttributesEntry.Builder
setKeyBytes(com.google.protobuf.ByteString value)
Key for the guest attribute entry.GuestAttributesEntry.Builder
setNamespace(String value)
Namespace for the guest attribute entry.GuestAttributesEntry.Builder
setNamespaceBytes(com.google.protobuf.ByteString value)
Namespace for the guest attribute entry.GuestAttributesEntry.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
GuestAttributesEntry.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GuestAttributesEntry.Builder
setValue(String value)
Value for the guest attribute entry.GuestAttributesEntry.Builder
setValueBytes(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder>
-
clear
public GuestAttributesEntry.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<GuestAttributesEntry.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<GuestAttributesEntry.Builder>
-
getDefaultInstanceForType
public GuestAttributesEntry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GuestAttributesEntry build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GuestAttributesEntry buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GuestAttributesEntry.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<GuestAttributesEntry.Builder>
-
setField
public GuestAttributesEntry.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<GuestAttributesEntry.Builder>
-
clearField
public GuestAttributesEntry.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<GuestAttributesEntry.Builder>
-
clearOneof
public GuestAttributesEntry.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<GuestAttributesEntry.Builder>
-
setRepeatedField
public GuestAttributesEntry.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<GuestAttributesEntry.Builder>
-
addRepeatedField
public GuestAttributesEntry.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<GuestAttributesEntry.Builder>
-
mergeFrom
public GuestAttributesEntry.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GuestAttributesEntry.Builder>
-
mergeFrom
public GuestAttributesEntry.Builder mergeFrom(GuestAttributesEntry other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GuestAttributesEntry.Builder>
- Throws:
IOException
-
getNamespace
public String getNamespace()
Namespace for the guest attribute entry.
string namespace = 1;
- Specified by:
getNamespace
in interfaceGuestAttributesEntryOrBuilder
- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
Namespace for the guest attribute entry.
string namespace = 1;
- Specified by:
getNamespaceBytes
in interfaceGuestAttributesEntryOrBuilder
- Returns:
- The bytes for namespace.
-
setNamespace
public GuestAttributesEntry.Builder setNamespace(String value)
Namespace for the guest attribute entry.
string namespace = 1;
- Parameters:
value
- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
public GuestAttributesEntry.Builder clearNamespace()
Namespace for the guest attribute entry.
string namespace = 1;
- Returns:
- This builder for chaining.
-
setNamespaceBytes
public GuestAttributesEntry.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
Namespace for the guest attribute entry.
string namespace = 1;
- Parameters:
value
- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getKey
public String getKey()
Key for the guest attribute entry.
string key = 2;
- Specified by:
getKey
in interfaceGuestAttributesEntryOrBuilder
- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()
Key for the guest attribute entry.
string key = 2;
- Specified by:
getKeyBytes
in interfaceGuestAttributesEntryOrBuilder
- Returns:
- The bytes for key.
-
setKey
public GuestAttributesEntry.Builder setKey(String value)
Key for the guest attribute entry.
string key = 2;
- Parameters:
value
- The key to set.- Returns:
- This builder for chaining.
-
clearKey
public GuestAttributesEntry.Builder clearKey()
Key for the guest attribute entry.
string key = 2;
- Returns:
- This builder for chaining.
-
setKeyBytes
public GuestAttributesEntry.Builder setKeyBytes(com.google.protobuf.ByteString value)
Key for the guest attribute entry.
string key = 2;
- Parameters:
value
- The bytes for key to set.- Returns:
- This builder for chaining.
-
getValue
public String getValue()
Value for the guest attribute entry.
string value = 3;
- Specified by:
getValue
in interfaceGuestAttributesEntryOrBuilder
- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()
Value for the guest attribute entry.
string value = 3;
- Specified by:
getValueBytes
in interfaceGuestAttributesEntryOrBuilder
- Returns:
- The bytes for value.
-
setValue
public GuestAttributesEntry.Builder setValue(String value)
Value for the guest attribute entry.
string value = 3;
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public GuestAttributesEntry.Builder clearValue()
Value for the guest attribute entry.
string value = 3;
- Returns:
- This builder for chaining.
-
setValueBytes
public GuestAttributesEntry.Builder setValueBytes(com.google.protobuf.ByteString value)
Value for the guest attribute entry.
string value = 3;
- 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder>
-
mergeUnknownFields
public final GuestAttributesEntry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributesEntry.Builder>
-
-