Class Protocol.FailureMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Protocol.FailureMetadata.Builder>
com.google.protobuf.GeneratedMessage.Builder<Protocol.FailureMetadata.Builder>
dev.restate.sdk.core.generated.protocol.Protocol.FailureMetadata.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Protocol.FailureMetadataOrBuilder, Cloneable
Enclosing class:
Protocol.FailureMetadata

public static final class Protocol.FailureMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protocol.FailureMetadata.Builder> implements Protocol.FailureMetadataOrBuilder
Protobuf type dev.restate.service.protocol.FailureMetadata
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Protocol.FailureMetadata.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Protocol.FailureMetadata.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Protocol.FailureMetadata.Builder>
    • getDefaultInstanceForType

      public Protocol.FailureMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Protocol.FailureMetadata build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Protocol.FailureMetadata buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Protocol.FailureMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protocol.FailureMetadata.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Protocol.FailureMetadata.Builder>
    • mergeFrom

      public Protocol.FailureMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protocol.FailureMetadata.Builder>
      Throws:
      IOException
    • getKey

      public String getKey()
      string key = 1;
      Specified by:
      getKey in interface Protocol.FailureMetadataOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
      string key = 1;
      Specified by:
      getKeyBytes in interface Protocol.FailureMetadataOrBuilder
      Returns:
      The bytes for key.
    • setKey

      string key = 1;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      string key = 1;
      Returns:
      This builder for chaining.
    • setKeyBytes

      public Protocol.FailureMetadata.Builder setKeyBytes(com.google.protobuf.ByteString value)
      string key = 1;
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.
    • getValue

      public String getValue()
      string value = 2;
      Specified by:
      getValue in interface Protocol.FailureMetadataOrBuilder
      Returns:
      The value.
    • getValueBytes

      public com.google.protobuf.ByteString getValueBytes()
      string value = 2;
      Specified by:
      getValueBytes in interface Protocol.FailureMetadataOrBuilder
      Returns:
      The bytes for value.
    • setValue

      public Protocol.FailureMetadata.Builder setValue(String value)
      string value = 2;
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public Protocol.FailureMetadata.Builder clearValue()
      string value = 2;
      Returns:
      This builder for chaining.
    • setValueBytes

      public Protocol.FailureMetadata.Builder setValueBytes(com.google.protobuf.ByteString value)
      string value = 2;
      Parameters:
      value - The bytes for value to set.
      Returns:
      This builder for chaining.