Class UpstreamMeta.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpstreamMeta.Builder>
io.agentscope.aistio.proto.UpstreamMeta.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpstreamMetaOrBuilder, Cloneable
Enclosing class:
UpstreamMeta

public static final class UpstreamMeta.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpstreamMeta.Builder> implements UpstreamMetaOrBuilder
Protobuf type agentscope.protocol.v1.UpstreamMeta
  • 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<UpstreamMeta.Builder>
    • clear

      public UpstreamMeta.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<UpstreamMeta.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<UpstreamMeta.Builder>
    • getDefaultInstanceForType

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

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

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

      public UpstreamMeta.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<UpstreamMeta.Builder>
    • mergeFrom

      public UpstreamMeta.Builder mergeFrom(UpstreamMeta other)
    • isInitialized

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

      public UpstreamMeta.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<UpstreamMeta.Builder>
      Throws:
      IOException
    • getAgentKey

      public String getAgentKey()
      string agent_key = 1;
      Specified by:
      getAgentKey in interface UpstreamMetaOrBuilder
      Returns:
      The agentKey.
    • getAgentKeyBytes

      public com.google.protobuf.ByteString getAgentKeyBytes()
      string agent_key = 1;
      Specified by:
      getAgentKeyBytes in interface UpstreamMetaOrBuilder
      Returns:
      The bytes for agentKey.
    • setAgentKey

      public UpstreamMeta.Builder setAgentKey(String value)
      string agent_key = 1;
      Parameters:
      value - The agentKey to set.
      Returns:
      This builder for chaining.
    • clearAgentKey

      public UpstreamMeta.Builder clearAgentKey()
      string agent_key = 1;
      Returns:
      This builder for chaining.
    • setAgentKeyBytes

      public UpstreamMeta.Builder setAgentKeyBytes(com.google.protobuf.ByteString value)
      string agent_key = 1;
      Parameters:
      value - The bytes for agentKey to set.
      Returns:
      This builder for chaining.
    • getInstanceKey

      public String getInstanceKey()
      string instance_key = 2;
      Specified by:
      getInstanceKey in interface UpstreamMetaOrBuilder
      Returns:
      The instanceKey.
    • getInstanceKeyBytes

      public com.google.protobuf.ByteString getInstanceKeyBytes()
      string instance_key = 2;
      Specified by:
      getInstanceKeyBytes in interface UpstreamMetaOrBuilder
      Returns:
      The bytes for instanceKey.
    • setInstanceKey

      public UpstreamMeta.Builder setInstanceKey(String value)
      string instance_key = 2;
      Parameters:
      value - The instanceKey to set.
      Returns:
      This builder for chaining.
    • clearInstanceKey

      public UpstreamMeta.Builder clearInstanceKey()
      string instance_key = 2;
      Returns:
      This builder for chaining.
    • setInstanceKeyBytes

      public UpstreamMeta.Builder setInstanceKeyBytes(com.google.protobuf.ByteString value)
      string instance_key = 2;
      Parameters:
      value - The bytes for instanceKey to set.
      Returns:
      This builder for chaining.
    • getNamespace

      public String getNamespace()
      string namespace = 3;
      Specified by:
      getNamespace in interface UpstreamMetaOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 3;
      Specified by:
      getNamespaceBytes in interface UpstreamMetaOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public UpstreamMeta.Builder setNamespace(String value)
      string namespace = 3;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      public UpstreamMeta.Builder clearNamespace()
      string namespace = 3;
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public UpstreamMeta.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
      string namespace = 3;
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • getTimestamp

      public long getTimestamp()
      int64 timestamp = 4;
      Specified by:
      getTimestamp in interface UpstreamMetaOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public UpstreamMeta.Builder setTimestamp(long value)
      int64 timestamp = 4;
      Parameters:
      value - The timestamp to set.
      Returns:
      This builder for chaining.
    • clearTimestamp

      public UpstreamMeta.Builder clearTimestamp()
      int64 timestamp = 4;
      Returns:
      This builder for chaining.
    • getTenant

      public String getTenant()
      string tenant = 5;
      Specified by:
      getTenant in interface UpstreamMetaOrBuilder
      Returns:
      The tenant.
    • getTenantBytes

      public com.google.protobuf.ByteString getTenantBytes()
      string tenant = 5;
      Specified by:
      getTenantBytes in interface UpstreamMetaOrBuilder
      Returns:
      The bytes for tenant.
    • setTenant

      public UpstreamMeta.Builder setTenant(String value)
      string tenant = 5;
      Parameters:
      value - The tenant to set.
      Returns:
      This builder for chaining.
    • clearTenant

      public UpstreamMeta.Builder clearTenant()
      string tenant = 5;
      Returns:
      This builder for chaining.
    • setTenantBytes

      public UpstreamMeta.Builder setTenantBytes(com.google.protobuf.ByteString value)
      string tenant = 5;
      Parameters:
      value - The bytes for tenant to set.
      Returns:
      This builder for chaining.
    • getAgentId

      public String getAgentId()
      string agent_id = 6;
      Specified by:
      getAgentId in interface UpstreamMetaOrBuilder
      Returns:
      The agentId.
    • getAgentIdBytes

      public com.google.protobuf.ByteString getAgentIdBytes()
      string agent_id = 6;
      Specified by:
      getAgentIdBytes in interface UpstreamMetaOrBuilder
      Returns:
      The bytes for agentId.
    • setAgentId

      public UpstreamMeta.Builder setAgentId(String value)
      string agent_id = 6;
      Parameters:
      value - The agentId to set.
      Returns:
      This builder for chaining.
    • clearAgentId

      public UpstreamMeta.Builder clearAgentId()
      string agent_id = 6;
      Returns:
      This builder for chaining.
    • setAgentIdBytes

      public UpstreamMeta.Builder setAgentIdBytes(com.google.protobuf.ByteString value)
      string agent_id = 6;
      Parameters:
      value - The bytes for agentId to set.
      Returns:
      This builder for chaining.
    • getBindingId

      public String getBindingId()
      string binding_id = 7;
      Specified by:
      getBindingId in interface UpstreamMetaOrBuilder
      Returns:
      The bindingId.
    • getBindingIdBytes

      public com.google.protobuf.ByteString getBindingIdBytes()
      string binding_id = 7;
      Specified by:
      getBindingIdBytes in interface UpstreamMetaOrBuilder
      Returns:
      The bytes for bindingId.
    • setBindingId

      public UpstreamMeta.Builder setBindingId(String value)
      string binding_id = 7;
      Parameters:
      value - The bindingId to set.
      Returns:
      This builder for chaining.
    • clearBindingId

      public UpstreamMeta.Builder clearBindingId()
      string binding_id = 7;
      Returns:
      This builder for chaining.
    • setBindingIdBytes

      public UpstreamMeta.Builder setBindingIdBytes(com.google.protobuf.ByteString value)
      string binding_id = 7;
      Parameters:
      value - The bytes for bindingId to set.
      Returns:
      This builder for chaining.
    • getGeneration

      public long getGeneration()
      int64 generation = 8;
      Specified by:
      getGeneration in interface UpstreamMetaOrBuilder
      Returns:
      The generation.
    • setGeneration

      public UpstreamMeta.Builder setGeneration(long value)
      int64 generation = 8;
      Parameters:
      value - The generation to set.
      Returns:
      This builder for chaining.
    • clearGeneration

      public UpstreamMeta.Builder clearGeneration()
      int64 generation = 8;
      Returns:
      This builder for chaining.