Class Proto.Event.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Proto.Event.Builder>
io.riemann.riemann.Proto.Event.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Proto.EventOrBuilder, Cloneable
Enclosing class:
Proto.Event

public static final class Proto.Event.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Proto.Event.Builder> implements Proto.EventOrBuilder
Protobuf type Event
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Proto.Event.Builder>
    • clear

      public Proto.Event.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.GeneratedMessageV3.Builder<Proto.Event.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.GeneratedMessageV3.Builder<Proto.Event.Builder>
    • getDefaultInstanceForType

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

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

      public Proto.Event buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Proto.Event.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Proto.Event.Builder>
    • setField

      public Proto.Event.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Proto.Event.Builder>
    • clearField

      public Proto.Event.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Proto.Event.Builder>
    • clearOneof

      public Proto.Event.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Proto.Event.Builder>
    • setRepeatedField

      public Proto.Event.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Proto.Event.Builder>
    • addRepeatedField

      public Proto.Event.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Proto.Event.Builder>
    • mergeFrom

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

      public Proto.Event.Builder mergeFrom(Proto.Event other)
    • isInitialized

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

      public Proto.Event.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<Proto.Event.Builder>
      Throws:
      IOException
    • hasTime

      public boolean hasTime()
      optional int64 time = 1;
      Specified by:
      hasTime in interface Proto.EventOrBuilder
    • getTime

      public long getTime()
      optional int64 time = 1;
      Specified by:
      getTime in interface Proto.EventOrBuilder
    • setTime

      public Proto.Event.Builder setTime(long value)
      optional int64 time = 1;
    • clearTime

      public Proto.Event.Builder clearTime()
      optional int64 time = 1;
    • hasState

      public boolean hasState()
      optional string state = 2;
      Specified by:
      hasState in interface Proto.EventOrBuilder
    • getState

      public String getState()
      optional string state = 2;
      Specified by:
      getState in interface Proto.EventOrBuilder
    • getStateBytes

      public com.google.protobuf.ByteString getStateBytes()
      optional string state = 2;
      Specified by:
      getStateBytes in interface Proto.EventOrBuilder
    • setState

      public Proto.Event.Builder setState(String value)
      optional string state = 2;
    • clearState

      public Proto.Event.Builder clearState()
      optional string state = 2;
    • setStateBytes

      public Proto.Event.Builder setStateBytes(com.google.protobuf.ByteString value)
      optional string state = 2;
    • hasService

      public boolean hasService()
      optional string service = 3;
      Specified by:
      hasService in interface Proto.EventOrBuilder
    • getService

      public String getService()
      optional string service = 3;
      Specified by:
      getService in interface Proto.EventOrBuilder
    • getServiceBytes

      public com.google.protobuf.ByteString getServiceBytes()
      optional string service = 3;
      Specified by:
      getServiceBytes in interface Proto.EventOrBuilder
    • setService

      public Proto.Event.Builder setService(String value)
      optional string service = 3;
    • clearService

      public Proto.Event.Builder clearService()
      optional string service = 3;
    • setServiceBytes

      public Proto.Event.Builder setServiceBytes(com.google.protobuf.ByteString value)
      optional string service = 3;
    • hasHost

      public boolean hasHost()
      optional string host = 4;
      Specified by:
      hasHost in interface Proto.EventOrBuilder
    • getHost

      public String getHost()
      optional string host = 4;
      Specified by:
      getHost in interface Proto.EventOrBuilder
    • getHostBytes

      public com.google.protobuf.ByteString getHostBytes()
      optional string host = 4;
      Specified by:
      getHostBytes in interface Proto.EventOrBuilder
    • setHost

      public Proto.Event.Builder setHost(String value)
      optional string host = 4;
    • clearHost

      public Proto.Event.Builder clearHost()
      optional string host = 4;
    • setHostBytes

      public Proto.Event.Builder setHostBytes(com.google.protobuf.ByteString value)
      optional string host = 4;
    • hasDescription

      public boolean hasDescription()
      optional string description = 5;
      Specified by:
      hasDescription in interface Proto.EventOrBuilder
    • getDescription

      public String getDescription()
      optional string description = 5;
      Specified by:
      getDescription in interface Proto.EventOrBuilder
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      optional string description = 5;
      Specified by:
      getDescriptionBytes in interface Proto.EventOrBuilder
    • setDescription

      public Proto.Event.Builder setDescription(String value)
      optional string description = 5;
    • clearDescription

      public Proto.Event.Builder clearDescription()
      optional string description = 5;
    • setDescriptionBytes

      public Proto.Event.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
      optional string description = 5;
    • getTagsList

      public com.google.protobuf.ProtocolStringList getTagsList()
      repeated string tags = 7;
      Specified by:
      getTagsList in interface Proto.EventOrBuilder
    • getTagsCount

      public int getTagsCount()
      repeated string tags = 7;
      Specified by:
      getTagsCount in interface Proto.EventOrBuilder
    • getTags

      public String getTags(int index)
      repeated string tags = 7;
      Specified by:
      getTags in interface Proto.EventOrBuilder
    • getTagsBytes

      public com.google.protobuf.ByteString getTagsBytes(int index)
      repeated string tags = 7;
      Specified by:
      getTagsBytes in interface Proto.EventOrBuilder
    • setTags

      public Proto.Event.Builder setTags(int index, String value)
      repeated string tags = 7;
    • addTags

      public Proto.Event.Builder addTags(String value)
      repeated string tags = 7;
    • addAllTags

      public Proto.Event.Builder addAllTags(Iterable<String> values)
      repeated string tags = 7;
    • clearTags

      public Proto.Event.Builder clearTags()
      repeated string tags = 7;
    • addTagsBytes

      public Proto.Event.Builder addTagsBytes(com.google.protobuf.ByteString value)
      repeated string tags = 7;
    • hasTtl

      public boolean hasTtl()
      optional float ttl = 8;
      Specified by:
      hasTtl in interface Proto.EventOrBuilder
    • getTtl

      public float getTtl()
      optional float ttl = 8;
      Specified by:
      getTtl in interface Proto.EventOrBuilder
    • setTtl

      public Proto.Event.Builder setTtl(float value)
      optional float ttl = 8;
    • clearTtl

      public Proto.Event.Builder clearTtl()
      optional float ttl = 8;
    • getAttributesList

      public List<Proto.Attribute> getAttributesList()
      repeated .Attribute attributes = 9;
      Specified by:
      getAttributesList in interface Proto.EventOrBuilder
    • getAttributesCount

      public int getAttributesCount()
      repeated .Attribute attributes = 9;
      Specified by:
      getAttributesCount in interface Proto.EventOrBuilder
    • getAttributes

      public Proto.Attribute getAttributes(int index)
      repeated .Attribute attributes = 9;
      Specified by:
      getAttributes in interface Proto.EventOrBuilder
    • setAttributes

      public Proto.Event.Builder setAttributes(int index, Proto.Attribute value)
      repeated .Attribute attributes = 9;
    • setAttributes

      public Proto.Event.Builder setAttributes(int index, Proto.Attribute.Builder builderForValue)
      repeated .Attribute attributes = 9;
    • addAttributes

      public Proto.Event.Builder addAttributes(Proto.Attribute value)
      repeated .Attribute attributes = 9;
    • addAttributes

      public Proto.Event.Builder addAttributes(int index, Proto.Attribute value)
      repeated .Attribute attributes = 9;
    • addAttributes

      public Proto.Event.Builder addAttributes(Proto.Attribute.Builder builderForValue)
      repeated .Attribute attributes = 9;
    • addAttributes

      public Proto.Event.Builder addAttributes(int index, Proto.Attribute.Builder builderForValue)
      repeated .Attribute attributes = 9;
    • addAllAttributes

      public Proto.Event.Builder addAllAttributes(Iterable<? extends Proto.Attribute> values)
      repeated .Attribute attributes = 9;
    • clearAttributes

      public Proto.Event.Builder clearAttributes()
      repeated .Attribute attributes = 9;
    • removeAttributes

      public Proto.Event.Builder removeAttributes(int index)
      repeated .Attribute attributes = 9;
    • getAttributesBuilder

      public Proto.Attribute.Builder getAttributesBuilder(int index)
      repeated .Attribute attributes = 9;
    • getAttributesOrBuilder

      public Proto.AttributeOrBuilder getAttributesOrBuilder(int index)
      repeated .Attribute attributes = 9;
      Specified by:
      getAttributesOrBuilder in interface Proto.EventOrBuilder
    • getAttributesOrBuilderList

      public List<? extends Proto.AttributeOrBuilder> getAttributesOrBuilderList()
      repeated .Attribute attributes = 9;
      Specified by:
      getAttributesOrBuilderList in interface Proto.EventOrBuilder
    • addAttributesBuilder

      public Proto.Attribute.Builder addAttributesBuilder()
      repeated .Attribute attributes = 9;
    • addAttributesBuilder

      public Proto.Attribute.Builder addAttributesBuilder(int index)
      repeated .Attribute attributes = 9;
    • getAttributesBuilderList

      public List<Proto.Attribute.Builder> getAttributesBuilderList()
      repeated .Attribute attributes = 9;
    • hasTimeMicros

      public boolean hasTimeMicros()
      optional int64 time_micros = 10;
      Specified by:
      hasTimeMicros in interface Proto.EventOrBuilder
    • getTimeMicros

      public long getTimeMicros()
      optional int64 time_micros = 10;
      Specified by:
      getTimeMicros in interface Proto.EventOrBuilder
    • setTimeMicros

      public Proto.Event.Builder setTimeMicros(long value)
      optional int64 time_micros = 10;
    • clearTimeMicros

      public Proto.Event.Builder clearTimeMicros()
      optional int64 time_micros = 10;
    • hasMetricSint64

      public boolean hasMetricSint64()
      optional sint64 metric_sint64 = 13;
      Specified by:
      hasMetricSint64 in interface Proto.EventOrBuilder
    • getMetricSint64

      public long getMetricSint64()
      optional sint64 metric_sint64 = 13;
      Specified by:
      getMetricSint64 in interface Proto.EventOrBuilder
    • setMetricSint64

      public Proto.Event.Builder setMetricSint64(long value)
      optional sint64 metric_sint64 = 13;
    • clearMetricSint64

      public Proto.Event.Builder clearMetricSint64()
      optional sint64 metric_sint64 = 13;
    • hasMetricD

      public boolean hasMetricD()
      optional double metric_d = 14;
      Specified by:
      hasMetricD in interface Proto.EventOrBuilder
    • getMetricD

      public double getMetricD()
      optional double metric_d = 14;
      Specified by:
      getMetricD in interface Proto.EventOrBuilder
    • setMetricD

      public Proto.Event.Builder setMetricD(double value)
      optional double metric_d = 14;
    • clearMetricD

      public Proto.Event.Builder clearMetricD()
      optional double metric_d = 14;
    • hasMetricF

      public boolean hasMetricF()
      optional float metric_f = 15;
      Specified by:
      hasMetricF in interface Proto.EventOrBuilder
    • getMetricF

      public float getMetricF()
      optional float metric_f = 15;
      Specified by:
      getMetricF in interface Proto.EventOrBuilder
    • setMetricF

      public Proto.Event.Builder setMetricF(float value)
      optional float metric_f = 15;
    • clearMetricF

      public Proto.Event.Builder clearMetricF()
      optional float metric_f = 15;
    • setUnknownFields

      public final Proto.Event.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Proto.Event.Builder>
    • mergeUnknownFields

      public final Proto.Event.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Proto.Event.Builder>