Record Class TypeDescriptorIndex.TypeDescriptorPayload
java.lang.Object
java.lang.Record
ai.pipestream.registration.descriptors.TypeDescriptorIndex.TypeDescriptorPayload
- Record Components:
fileDescriptorSet- the serialized, self-containedDescriptorProtos.FileDescriptorSetbytesversion- the SHA-256 content-hash of the bytesmessageFullName- the fully-qualified message name this payload describesgroup- the workspace module the defining file belongs to, orexternal
- Enclosing class:
TypeDescriptorIndex
-
Constructor Summary
ConstructorsConstructorDescriptionTypeDescriptorPayload(byte[] fileDescriptorSet, String version, String messageFullName, String group) Creates an instance of aTypeDescriptorPayloadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.byte[]Returns the value of thefileDescriptorSetrecord component.group()Returns the value of thegrouprecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themessageFullNamerecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
TypeDescriptorPayload
public TypeDescriptorPayload(byte[] fileDescriptorSet, String version, String messageFullName, String group) Creates an instance of aTypeDescriptorPayloadrecord class.- Parameters:
fileDescriptorSet- the value for thefileDescriptorSetrecord componentversion- the value for theversionrecord componentmessageFullName- the value for themessageFullNamerecord componentgroup- the value for thegrouprecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
fileDescriptorSet
public byte[] fileDescriptorSet()Returns the value of thefileDescriptorSetrecord component.- Returns:
- the value of the
fileDescriptorSetrecord component
-
version
-
messageFullName
Returns the value of themessageFullNamerecord component.- Returns:
- the value of the
messageFullNamerecord component
-
group
-