Class Request.ServiceRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.pulsar.functions.proto.Request.ServiceRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Request.ServiceRequestOrBuilder
Enclosing class:
Request

public static final class Request.ServiceRequest extends com.google.protobuf.GeneratedMessageV3 implements Request.ServiceRequestOrBuilder
Protobuf type proto.ServiceRequest
See Also:
  • Field Details

    • SERVICEREQUESTTYPE_FIELD_NUMBER

      public static final int SERVICEREQUESTTYPE_FIELD_NUMBER
      See Also:
    • REQUESTID_FIELD_NUMBER

      public static final int REQUESTID_FIELD_NUMBER
      See Also:
    • FUNCTIONMETADATA_FIELD_NUMBER

      public static final int FUNCTIONMETADATA_FIELD_NUMBER
      See Also:
    • WORKERID_FIELD_NUMBER

      public static final int WORKERID_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getServiceRequestTypeValue

      public int getServiceRequestTypeValue()
      .proto.ServiceRequest.ServiceRequestType serviceRequestType = 1;
      Specified by:
      getServiceRequestTypeValue in interface Request.ServiceRequestOrBuilder
      Returns:
      The enum numeric value on the wire for serviceRequestType.
    • getServiceRequestType

      public Request.ServiceRequest.ServiceRequestType getServiceRequestType()
      .proto.ServiceRequest.ServiceRequestType serviceRequestType = 1;
      Specified by:
      getServiceRequestType in interface Request.ServiceRequestOrBuilder
      Returns:
      The serviceRequestType.
    • getRequestId

      public String getRequestId()
      string requestId = 2;
      Specified by:
      getRequestId in interface Request.ServiceRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
      string requestId = 2;
      Specified by:
      getRequestIdBytes in interface Request.ServiceRequestOrBuilder
      Returns:
      The bytes for requestId.
    • hasFunctionMetaData

      public boolean hasFunctionMetaData()
      .proto.FunctionMetaData functionMetaData = 3;
      Specified by:
      hasFunctionMetaData in interface Request.ServiceRequestOrBuilder
      Returns:
      Whether the functionMetaData field is set.
    • getFunctionMetaData

      public Function.FunctionMetaData getFunctionMetaData()
      .proto.FunctionMetaData functionMetaData = 3;
      Specified by:
      getFunctionMetaData in interface Request.ServiceRequestOrBuilder
      Returns:
      The functionMetaData.
    • getFunctionMetaDataOrBuilder

      public Function.FunctionMetaDataOrBuilder getFunctionMetaDataOrBuilder()
      .proto.FunctionMetaData functionMetaData = 3;
      Specified by:
      getFunctionMetaDataOrBuilder in interface Request.ServiceRequestOrBuilder
    • getWorkerId

      public String getWorkerId()
      string workerId = 4;
      Specified by:
      getWorkerId in interface Request.ServiceRequestOrBuilder
      Returns:
      The workerId.
    • getWorkerIdBytes

      public com.google.protobuf.ByteString getWorkerIdBytes()
      string workerId = 4;
      Specified by:
      getWorkerIdBytes in interface Request.ServiceRequestOrBuilder
      Returns:
      The bytes for workerId.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Request.ServiceRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Request.ServiceRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Request.ServiceRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Request.ServiceRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Request.ServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Request.ServiceRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Request.ServiceRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Request.ServiceRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Request.ServiceRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Request.ServiceRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Request.ServiceRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Request.ServiceRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Request.ServiceRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Request.ServiceRequest.Builder newBuilder()
    • newBuilder

      public static Request.ServiceRequest.Builder newBuilder(Request.ServiceRequest prototype)
    • toBuilder

      public Request.ServiceRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Request.ServiceRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Request.ServiceRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Request.ServiceRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<Request.ServiceRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Request.ServiceRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder