Package p4.v1

Class P4RuntimeOuterClass.StreamOtherError.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<P4RuntimeOuterClass.StreamOtherError.Builder>
com.google.protobuf.GeneratedMessage.Builder<P4RuntimeOuterClass.StreamOtherError.Builder>
p4.v1.P4RuntimeOuterClass.StreamOtherError.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, P4RuntimeOuterClass.StreamOtherErrorOrBuilder
Enclosing class:
P4RuntimeOuterClass.StreamOtherError

public static final class P4RuntimeOuterClass.StreamOtherError.Builder extends com.google.protobuf.GeneratedMessage.Builder<P4RuntimeOuterClass.StreamOtherError.Builder> implements P4RuntimeOuterClass.StreamOtherErrorOrBuilder
Protobuf type p4.v1.StreamOtherError
  • 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<P4RuntimeOuterClass.StreamOtherError.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<P4RuntimeOuterClass.StreamOtherError.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<P4RuntimeOuterClass.StreamOtherError.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public P4RuntimeOuterClass.StreamOtherError.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<P4RuntimeOuterClass.StreamOtherError.Builder>
      Throws:
      IOException
    • hasOther

      public boolean hasOther()
       Optional. The architecture-specific stream message that caused the error.
       
      .google.protobuf.Any other = 1;
      Specified by:
      hasOther in interface P4RuntimeOuterClass.StreamOtherErrorOrBuilder
      Returns:
      Whether the other field is set.
    • getOther

      public com.google.protobuf.Any getOther()
       Optional. The architecture-specific stream message that caused the error.
       
      .google.protobuf.Any other = 1;
      Specified by:
      getOther in interface P4RuntimeOuterClass.StreamOtherErrorOrBuilder
      Returns:
      The other.
    • setOther

      public P4RuntimeOuterClass.StreamOtherError.Builder setOther(com.google.protobuf.Any value)
       Optional. The architecture-specific stream message that caused the error.
       
      .google.protobuf.Any other = 1;
    • setOther

      public P4RuntimeOuterClass.StreamOtherError.Builder setOther(com.google.protobuf.Any.Builder builderForValue)
       Optional. The architecture-specific stream message that caused the error.
       
      .google.protobuf.Any other = 1;
    • mergeOther

      public P4RuntimeOuterClass.StreamOtherError.Builder mergeOther(com.google.protobuf.Any value)
       Optional. The architecture-specific stream message that caused the error.
       
      .google.protobuf.Any other = 1;
    • clearOther

       Optional. The architecture-specific stream message that caused the error.
       
      .google.protobuf.Any other = 1;
    • getOtherBuilder

      public com.google.protobuf.Any.Builder getOtherBuilder()
       Optional. The architecture-specific stream message that caused the error.
       
      .google.protobuf.Any other = 1;
    • getOtherOrBuilder

      public com.google.protobuf.AnyOrBuilder getOtherOrBuilder()
       Optional. The architecture-specific stream message that caused the error.
       
      .google.protobuf.Any other = 1;
      Specified by:
      getOtherOrBuilder in interface P4RuntimeOuterClass.StreamOtherErrorOrBuilder