Package p4.config.v1

Class P4Types.Expression.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<P4Types.Expression.Builder>
com.google.protobuf.GeneratedMessage.Builder<P4Types.Expression.Builder>
p4.config.v1.P4Types.Expression.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, P4Types.ExpressionOrBuilder
Enclosing class:
P4Types.Expression

public static final class P4Types.Expression.Builder extends com.google.protobuf.GeneratedMessage.Builder<P4Types.Expression.Builder> implements P4Types.ExpressionOrBuilder
Protobuf type p4.config.v1.Expression
  • 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<P4Types.Expression.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<P4Types.Expression.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<P4Types.Expression.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public P4Types.Expression.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<P4Types.Expression.Builder>
      Throws:
      IOException
    • getValueCase

      public P4Types.Expression.ValueCase getValueCase()
      Specified by:
      getValueCase in interface P4Types.ExpressionOrBuilder
    • clearValue

      public P4Types.Expression.Builder clearValue()
    • hasStringValue

      public boolean hasStringValue()
      string string_value = 1;
      Specified by:
      hasStringValue in interface P4Types.ExpressionOrBuilder
      Returns:
      Whether the stringValue field is set.
    • getStringValue

      public String getStringValue()
      string string_value = 1;
      Specified by:
      getStringValue in interface P4Types.ExpressionOrBuilder
      Returns:
      The stringValue.
    • getStringValueBytes

      public com.google.protobuf.ByteString getStringValueBytes()
      string string_value = 1;
      Specified by:
      getStringValueBytes in interface P4Types.ExpressionOrBuilder
      Returns:
      The bytes for stringValue.
    • setStringValue

      public P4Types.Expression.Builder setStringValue(String value)
      string string_value = 1;
      Parameters:
      value - The stringValue to set.
      Returns:
      This builder for chaining.
    • clearStringValue

      public P4Types.Expression.Builder clearStringValue()
      string string_value = 1;
      Returns:
      This builder for chaining.
    • setStringValueBytes

      public P4Types.Expression.Builder setStringValueBytes(com.google.protobuf.ByteString value)
      string string_value = 1;
      Parameters:
      value - The bytes for stringValue to set.
      Returns:
      This builder for chaining.
    • hasInt64Value

      public boolean hasInt64Value()
      int64 int64_value = 2;
      Specified by:
      hasInt64Value in interface P4Types.ExpressionOrBuilder
      Returns:
      Whether the int64Value field is set.
    • getInt64Value

      public long getInt64Value()
      int64 int64_value = 2;
      Specified by:
      getInt64Value in interface P4Types.ExpressionOrBuilder
      Returns:
      The int64Value.
    • setInt64Value

      public P4Types.Expression.Builder setInt64Value(long value)
      int64 int64_value = 2;
      Parameters:
      value - The int64Value to set.
      Returns:
      This builder for chaining.
    • clearInt64Value

      public P4Types.Expression.Builder clearInt64Value()
      int64 int64_value = 2;
      Returns:
      This builder for chaining.
    • hasBoolValue

      public boolean hasBoolValue()
      bool bool_value = 3;
      Specified by:
      hasBoolValue in interface P4Types.ExpressionOrBuilder
      Returns:
      Whether the boolValue field is set.
    • getBoolValue

      public boolean getBoolValue()
      bool bool_value = 3;
      Specified by:
      getBoolValue in interface P4Types.ExpressionOrBuilder
      Returns:
      The boolValue.
    • setBoolValue

      public P4Types.Expression.Builder setBoolValue(boolean value)
      bool bool_value = 3;
      Parameters:
      value - The boolValue to set.
      Returns:
      This builder for chaining.
    • clearBoolValue

      public P4Types.Expression.Builder clearBoolValue()
      bool bool_value = 3;
      Returns:
      This builder for chaining.