Class SearchProtocol.TensorProperty.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SearchProtocol.TensorProperty.Builder>
-
- ai.vespa.searchlib.searchprotocol.protobuf.SearchProtocol.TensorProperty.Builder
-
- All Implemented Interfaces:
SearchProtocol.TensorPropertyOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- SearchProtocol.TensorProperty
public static final class SearchProtocol.TensorProperty.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SearchProtocol.TensorProperty.Builder> implements SearchProtocol.TensorPropertyOrBuilder
Protobuf typesearchlib.searchprotocol.protobuf.TensorProperty
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchProtocol.TensorProperty.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
SearchProtocol.TensorProperty
build()
SearchProtocol.TensorProperty
buildPartial()
SearchProtocol.TensorProperty.Builder
clear()
SearchProtocol.TensorProperty.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
SearchProtocol.TensorProperty.Builder
clearName()
string name = 1;
SearchProtocol.TensorProperty.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SearchProtocol.TensorProperty.Builder
clearValue()
bytes value = 2;
SearchProtocol.TensorProperty.Builder
clone()
SearchProtocol.TensorProperty
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getName()
string name = 1;
com.google.protobuf.ByteString
getNameBytes()
string name = 1;
com.google.protobuf.ByteString
getValue()
bytes value = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
SearchProtocol.TensorProperty.Builder
mergeFrom(SearchProtocol.TensorProperty other)
SearchProtocol.TensorProperty.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SearchProtocol.TensorProperty.Builder
mergeFrom(com.google.protobuf.Message other)
SearchProtocol.TensorProperty.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SearchProtocol.TensorProperty.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
SearchProtocol.TensorProperty.Builder
setName(java.lang.String value)
string name = 1;
SearchProtocol.TensorProperty.Builder
setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
SearchProtocol.TensorProperty.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
SearchProtocol.TensorProperty.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SearchProtocol.TensorProperty.Builder
setValue(com.google.protobuf.ByteString value)
bytes value = 2;
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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<SearchProtocol.TensorProperty.Builder>
-
clear
public SearchProtocol.TensorProperty.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<SearchProtocol.TensorProperty.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<SearchProtocol.TensorProperty.Builder>
-
getDefaultInstanceForType
public SearchProtocol.TensorProperty getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SearchProtocol.TensorProperty build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SearchProtocol.TensorProperty buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SearchProtocol.TensorProperty.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<SearchProtocol.TensorProperty.Builder>
-
setField
public SearchProtocol.TensorProperty.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchProtocol.TensorProperty.Builder>
-
clearField
public SearchProtocol.TensorProperty.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<SearchProtocol.TensorProperty.Builder>
-
clearOneof
public SearchProtocol.TensorProperty.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<SearchProtocol.TensorProperty.Builder>
-
setRepeatedField
public SearchProtocol.TensorProperty.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchProtocol.TensorProperty.Builder>
-
addRepeatedField
public SearchProtocol.TensorProperty.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchProtocol.TensorProperty.Builder>
-
mergeFrom
public SearchProtocol.TensorProperty.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SearchProtocol.TensorProperty.Builder>
-
mergeFrom
public SearchProtocol.TensorProperty.Builder mergeFrom(SearchProtocol.TensorProperty other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchProtocol.TensorProperty.Builder>
-
mergeFrom
public SearchProtocol.TensorProperty.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<SearchProtocol.TensorProperty.Builder>
- Throws:
java.io.IOException
-
getName
public java.lang.String getName()
string name = 1;
- Specified by:
getName
in interfaceSearchProtocol.TensorPropertyOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 1;
- Specified by:
getNameBytes
in interfaceSearchProtocol.TensorPropertyOrBuilder
- Returns:
- The bytes for name.
-
setName
public SearchProtocol.TensorProperty.Builder setName(java.lang.String value)
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public SearchProtocol.TensorProperty.Builder clearName()
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public SearchProtocol.TensorProperty.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getValue
public com.google.protobuf.ByteString getValue()
bytes value = 2;
- Specified by:
getValue
in interfaceSearchProtocol.TensorPropertyOrBuilder
- Returns:
- The value.
-
setValue
public SearchProtocol.TensorProperty.Builder setValue(com.google.protobuf.ByteString value)
bytes value = 2;
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public SearchProtocol.TensorProperty.Builder clearValue()
bytes value = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final SearchProtocol.TensorProperty.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchProtocol.TensorProperty.Builder>
-
mergeUnknownFields
public final SearchProtocol.TensorProperty.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchProtocol.TensorProperty.Builder>
-
-