public final class Neighbor extends GeneratedMessageV3 implements NeighborOrBuilder
Vicini per dare spiegazioni basate su esempi.
Tipo di protobuf google.cloud.vertexai.v1.Neighbor
Membri ereditati
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Campi statici
NEIGHBOR_DISTANCE_FIELD_NUMBER
public static final int NEIGHBOR_DISTANCE_FIELD_NUMBER
Valore campo |
Tipo |
Description |
int |
|
NEIGHBOR_ID_FIELD_NUMBER
public static final int NEIGHBOR_ID_FIELD_NUMBER
Valore campo |
Tipo |
Description |
int |
|
Metodi statici
getDefaultInstance()
public static Neighbor getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Neighbor.Builder newBuilder()
newBuilder(Neighbor prototype)
public static Neighbor.Builder newBuilder(Neighbor prototype)
Parametro |
Nome |
Description |
prototype |
Neighbor
|
public static Neighbor parseDelimitedFrom(InputStream input)
public static Neighbor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Neighbor parseFrom(byte[] data)
Parametro |
Nome |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Neighbor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Neighbor parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Neighbor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Neighbor parseFrom(CodedInputStream input)
public static Neighbor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Neighbor parseFrom(InputStream input)
public static Neighbor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Neighbor parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Neighbor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Neighbor> parser()
Metodi
è uguale a(obj oggetto)
public boolean equals(Object obj)
Parametro |
Nome |
Description |
obj |
Object
|
Restituisce |
Tipo |
Description |
boolean |
|
Sostituzioni
getDefaultInstanceForType()
public Neighbor getDefaultInstanceForType()
getNeighborDistance()
public double getNeighborDistance()
Solo output. La distanza dal vicino.
double neighbor_distance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Restituisce |
Tipo |
Description |
double |
Il neighborDistance.
|
getNeiId()
public String getNeighborId()
Solo output. L'ID del vicino.
string neighbor_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Restituisce |
Tipo |
Description |
String |
Il neighborId.
|
getNeighborIdBytes()
public ByteString getNeighborIdBytes()
Solo output. L'ID del vicino.
string neighbor_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Restituisce |
Tipo |
Description |
ByteString |
I byte per neighborId.
|
getParserForType()
public Parser<Neighbor> getParserForType()
Sostituzioni
getSerializedSize()
public int getSerializedSize()
Restituisce |
Tipo |
Description |
int |
|
Sostituzioni
hashCode()
Restituisce |
Tipo |
Description |
int |
|
Sostituzioni
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Sostituzioni
isInitialized()
public final boolean isInitialized()
Restituisce |
Tipo |
Description |
boolean |
|
Sostituzioni
newBuilderForType()
public Neighbor.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Neighbor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Sostituzioni
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Restituisce |
Tipo |
Description |
Object |
|
Sostituzioni
toBuilder()
public Neighbor.Builder toBuilder()
writeTo(output di CodedOutputStream)
public void writeTo(CodedOutputStream output)
Sostituzioni