Class ServerHeader.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ServerHeader.Builder>
com.google.protobuf.GeneratedMessage.Builder<ServerHeader.Builder>
io.grpc.binarylog.v1.ServerHeader.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ServerHeaderOrBuilder, Cloneable
Enclosing class:
ServerHeader

public static final class ServerHeader.Builder extends com.google.protobuf.GeneratedMessage.Builder<ServerHeader.Builder> implements ServerHeaderOrBuilder
Protobuf type grpc.binarylog.v1.ServerHeader
  • Field Details

  • Constructor Details

    • Builder

      private Builder()
    • Builder

      private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
  • 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<ServerHeader.Builder>
    • maybeForceBuilderInitialization

      private void maybeForceBuilderInitialization()
    • clear

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

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

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

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

      private void buildPartial0(ServerHeader result)
    • mergeFrom

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

      public ServerHeader.Builder mergeFrom(ServerHeader other)
    • isInitialized

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

      public ServerHeader.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<ServerHeader.Builder>
      Throws:
      IOException
    • hasMetadata

      public boolean hasMetadata()
       This contains only the metadata from the application.
       
      .grpc.binarylog.v1.Metadata metadata = 1;
      Specified by:
      hasMetadata in interface ServerHeaderOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public Metadata getMetadata()
       This contains only the metadata from the application.
       
      .grpc.binarylog.v1.Metadata metadata = 1;
      Specified by:
      getMetadata in interface ServerHeaderOrBuilder
      Returns:
      The metadata.
    • setMetadata

      public ServerHeader.Builder setMetadata(Metadata value)
       This contains only the metadata from the application.
       
      .grpc.binarylog.v1.Metadata metadata = 1;
    • setMetadata

      public ServerHeader.Builder setMetadata(Metadata.Builder builderForValue)
       This contains only the metadata from the application.
       
      .grpc.binarylog.v1.Metadata metadata = 1;
    • mergeMetadata

      public ServerHeader.Builder mergeMetadata(Metadata value)
       This contains only the metadata from the application.
       
      .grpc.binarylog.v1.Metadata metadata = 1;
    • clearMetadata

      public ServerHeader.Builder clearMetadata()
       This contains only the metadata from the application.
       
      .grpc.binarylog.v1.Metadata metadata = 1;
    • getMetadataBuilder

      public Metadata.Builder getMetadataBuilder()
       This contains only the metadata from the application.
       
      .grpc.binarylog.v1.Metadata metadata = 1;
    • getMetadataOrBuilder

      public MetadataOrBuilder getMetadataOrBuilder()
       This contains only the metadata from the application.
       
      .grpc.binarylog.v1.Metadata metadata = 1;
      Specified by:
      getMetadataOrBuilder in interface ServerHeaderOrBuilder
    • internalGetMetadataFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder> internalGetMetadataFieldBuilder()
       This contains only the metadata from the application.
       
      .grpc.binarylog.v1.Metadata metadata = 1;