public static final class Proto.Event.Builder extends com.google.protobuf.GeneratedMessage.Builder<Proto.Event.Builder> implements Proto.EventOrBuilder
Event| Modifier and Type | Method and Description |
|---|---|
Proto.Event.Builder |
addAllAttributes(Iterable<? extends Proto.Attribute> values)
repeated .Attribute attributes = 9; |
Proto.Event.Builder |
addAllTags(Iterable<String> values)
repeated string tags = 7; |
Proto.Event.Builder |
addAttributes(int index,
Proto.Attribute.Builder builderForValue)
repeated .Attribute attributes = 9; |
Proto.Event.Builder |
addAttributes(int index,
Proto.Attribute value)
repeated .Attribute attributes = 9; |
Proto.Event.Builder |
addAttributes(Proto.Attribute.Builder builderForValue)
repeated .Attribute attributes = 9; |
Proto.Event.Builder |
addAttributes(Proto.Attribute value)
repeated .Attribute attributes = 9; |
Proto.Attribute.Builder |
addAttributesBuilder()
repeated .Attribute attributes = 9; |
Proto.Attribute.Builder |
addAttributesBuilder(int index)
repeated .Attribute attributes = 9; |
Proto.Event.Builder |
addTags(String value)
repeated string tags = 7; |
Proto.Event.Builder |
addTagsBytes(com.google.protobuf.ByteString value)
repeated string tags = 7; |
Proto.Event |
build() |
Proto.Event |
buildPartial() |
Proto.Event.Builder |
clear() |
Proto.Event.Builder |
clearAttributes()
repeated .Attribute attributes = 9; |
Proto.Event.Builder |
clearDescription()
optional string description = 5; |
Proto.Event.Builder |
clearHost()
optional string host = 4; |
Proto.Event.Builder |
clearMetricD()
optional double metric_d = 14; |
Proto.Event.Builder |
clearMetricF()
optional float metric_f = 15; |
Proto.Event.Builder |
clearMetricSint64()
optional sint64 metric_sint64 = 13; |
Proto.Event.Builder |
clearService()
optional string service = 3; |
Proto.Event.Builder |
clearState()
optional string state = 2; |
Proto.Event.Builder |
clearTags()
repeated string tags = 7; |
Proto.Event.Builder |
clearTime()
optional int64 time = 1; |
Proto.Event.Builder |
clearTtl()
optional float ttl = 8; |
Proto.Event.Builder |
clone() |
Proto.Attribute |
getAttributes(int index)
repeated .Attribute attributes = 9; |
Proto.Attribute.Builder |
getAttributesBuilder(int index)
repeated .Attribute attributes = 9; |
List<Proto.Attribute.Builder> |
getAttributesBuilderList()
repeated .Attribute attributes = 9; |
int |
getAttributesCount()
repeated .Attribute attributes = 9; |
List<Proto.Attribute> |
getAttributesList()
repeated .Attribute attributes = 9; |
Proto.AttributeOrBuilder |
getAttributesOrBuilder(int index)
repeated .Attribute attributes = 9; |
List<? extends Proto.AttributeOrBuilder> |
getAttributesOrBuilderList()
repeated .Attribute attributes = 9; |
Proto.Event |
getDefaultInstanceForType() |
String |
getDescription()
optional string description = 5; |
com.google.protobuf.ByteString |
getDescriptionBytes()
optional string description = 5; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHost()
optional string host = 4; |
com.google.protobuf.ByteString |
getHostBytes()
optional string host = 4; |
double |
getMetricD()
optional double metric_d = 14; |
float |
getMetricF()
optional float metric_f = 15; |
long |
getMetricSint64()
optional sint64 metric_sint64 = 13; |
String |
getService()
optional string service = 3; |
com.google.protobuf.ByteString |
getServiceBytes()
optional string service = 3; |
String |
getState()
optional string state = 2; |
com.google.protobuf.ByteString |
getStateBytes()
optional string state = 2; |
String |
getTags(int index)
repeated string tags = 7; |
com.google.protobuf.ByteString |
getTagsBytes(int index)
repeated string tags = 7; |
int |
getTagsCount()
repeated string tags = 7; |
com.google.protobuf.ProtocolStringList |
getTagsList()
repeated string tags = 7; |
long |
getTime()
optional int64 time = 1; |
float |
getTtl()
optional float ttl = 8; |
boolean |
hasDescription()
optional string description = 5; |
boolean |
hasHost()
optional string host = 4; |
boolean |
hasMetricD()
optional double metric_d = 14; |
boolean |
hasMetricF()
optional float metric_f = 15; |
boolean |
hasMetricSint64()
optional sint64 metric_sint64 = 13; |
boolean |
hasService()
optional string service = 3; |
boolean |
hasState()
optional string state = 2; |
boolean |
hasTime()
optional int64 time = 1; |
boolean |
hasTtl()
optional float ttl = 8; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Proto.Event.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Proto.Event.Builder |
mergeFrom(com.google.protobuf.Message other) |
Proto.Event.Builder |
mergeFrom(Proto.Event other) |
Proto.Event.Builder |
removeAttributes(int index)
repeated .Attribute attributes = 9; |
Proto.Event.Builder |
setAttributes(int index,
Proto.Attribute.Builder builderForValue)
repeated .Attribute attributes = 9; |
Proto.Event.Builder |
setAttributes(int index,
Proto.Attribute value)
repeated .Attribute attributes = 9; |
Proto.Event.Builder |
setDescription(String value)
optional string description = 5; |
Proto.Event.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 5; |
Proto.Event.Builder |
setHost(String value)
optional string host = 4; |
Proto.Event.Builder |
setHostBytes(com.google.protobuf.ByteString value)
optional string host = 4; |
Proto.Event.Builder |
setMetricD(double value)
optional double metric_d = 14; |
Proto.Event.Builder |
setMetricF(float value)
optional float metric_f = 15; |
Proto.Event.Builder |
setMetricSint64(long value)
optional sint64 metric_sint64 = 13; |
Proto.Event.Builder |
setService(String value)
optional string service = 3; |
Proto.Event.Builder |
setServiceBytes(com.google.protobuf.ByteString value)
optional string service = 3; |
Proto.Event.Builder |
setState(String value)
optional string state = 2; |
Proto.Event.Builder |
setStateBytes(com.google.protobuf.ByteString value)
optional string state = 2; |
Proto.Event.Builder |
setTags(int index,
String value)
repeated string tags = 7; |
Proto.Event.Builder |
setTime(long value)
optional int64 time = 1; |
Proto.Event.Builder |
setTtl(float value)
optional float ttl = 8; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Proto.Event.Builder>public Proto.Event.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Proto.Event.Builder>public Proto.Event.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<Proto.Event.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Proto.Event.Builder>public Proto.Event getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Proto.Event build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Proto.Event buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Proto.Event.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Proto.Event.Builder>public Proto.Event.Builder mergeFrom(Proto.Event other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Proto.Event.Builder>public Proto.Event.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Proto.Event.Builder>IOExceptionpublic boolean hasTime()
optional int64 time = 1;hasTime in interface Proto.EventOrBuilderpublic long getTime()
optional int64 time = 1;getTime in interface Proto.EventOrBuilderpublic Proto.Event.Builder setTime(long value)
optional int64 time = 1;public Proto.Event.Builder clearTime()
optional int64 time = 1;public boolean hasState()
optional string state = 2;hasState in interface Proto.EventOrBuilderpublic String getState()
optional string state = 2;getState in interface Proto.EventOrBuilderpublic com.google.protobuf.ByteString getStateBytes()
optional string state = 2;getStateBytes in interface Proto.EventOrBuilderpublic Proto.Event.Builder setState(String value)
optional string state = 2;public Proto.Event.Builder clearState()
optional string state = 2;public Proto.Event.Builder setStateBytes(com.google.protobuf.ByteString value)
optional string state = 2;public boolean hasService()
optional string service = 3;hasService in interface Proto.EventOrBuilderpublic String getService()
optional string service = 3;getService in interface Proto.EventOrBuilderpublic com.google.protobuf.ByteString getServiceBytes()
optional string service = 3;getServiceBytes in interface Proto.EventOrBuilderpublic Proto.Event.Builder setService(String value)
optional string service = 3;public Proto.Event.Builder clearService()
optional string service = 3;public Proto.Event.Builder setServiceBytes(com.google.protobuf.ByteString value)
optional string service = 3;public boolean hasHost()
optional string host = 4;hasHost in interface Proto.EventOrBuilderpublic String getHost()
optional string host = 4;getHost in interface Proto.EventOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
optional string host = 4;getHostBytes in interface Proto.EventOrBuilderpublic Proto.Event.Builder setHost(String value)
optional string host = 4;public Proto.Event.Builder clearHost()
optional string host = 4;public Proto.Event.Builder setHostBytes(com.google.protobuf.ByteString value)
optional string host = 4;public boolean hasDescription()
optional string description = 5;hasDescription in interface Proto.EventOrBuilderpublic String getDescription()
optional string description = 5;getDescription in interface Proto.EventOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
optional string description = 5;getDescriptionBytes in interface Proto.EventOrBuilderpublic Proto.Event.Builder setDescription(String value)
optional string description = 5;public Proto.Event.Builder clearDescription()
optional string description = 5;public Proto.Event.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 5;public com.google.protobuf.ProtocolStringList getTagsList()
repeated string tags = 7;getTagsList in interface Proto.EventOrBuilderpublic int getTagsCount()
repeated string tags = 7;getTagsCount in interface Proto.EventOrBuilderpublic String getTags(int index)
repeated string tags = 7;getTags in interface Proto.EventOrBuilderpublic com.google.protobuf.ByteString getTagsBytes(int index)
repeated string tags = 7;getTagsBytes in interface Proto.EventOrBuilderpublic Proto.Event.Builder setTags(int index, String value)
repeated string tags = 7;public Proto.Event.Builder addTags(String value)
repeated string tags = 7;public Proto.Event.Builder addAllTags(Iterable<String> values)
repeated string tags = 7;public Proto.Event.Builder clearTags()
repeated string tags = 7;public Proto.Event.Builder addTagsBytes(com.google.protobuf.ByteString value)
repeated string tags = 7;public boolean hasTtl()
optional float ttl = 8;hasTtl in interface Proto.EventOrBuilderpublic float getTtl()
optional float ttl = 8;getTtl in interface Proto.EventOrBuilderpublic Proto.Event.Builder setTtl(float value)
optional float ttl = 8;public Proto.Event.Builder clearTtl()
optional float ttl = 8;public List<Proto.Attribute> getAttributesList()
repeated .Attribute attributes = 9;getAttributesList in interface Proto.EventOrBuilderpublic int getAttributesCount()
repeated .Attribute attributes = 9;getAttributesCount in interface Proto.EventOrBuilderpublic Proto.Attribute getAttributes(int index)
repeated .Attribute attributes = 9;getAttributes in interface Proto.EventOrBuilderpublic Proto.Event.Builder setAttributes(int index, Proto.Attribute value)
repeated .Attribute attributes = 9;public Proto.Event.Builder setAttributes(int index, Proto.Attribute.Builder builderForValue)
repeated .Attribute attributes = 9;public Proto.Event.Builder addAttributes(Proto.Attribute value)
repeated .Attribute attributes = 9;public Proto.Event.Builder addAttributes(int index, Proto.Attribute value)
repeated .Attribute attributes = 9;public Proto.Event.Builder addAttributes(Proto.Attribute.Builder builderForValue)
repeated .Attribute attributes = 9;public Proto.Event.Builder addAttributes(int index, Proto.Attribute.Builder builderForValue)
repeated .Attribute attributes = 9;public Proto.Event.Builder addAllAttributes(Iterable<? extends Proto.Attribute> values)
repeated .Attribute attributes = 9;public Proto.Event.Builder clearAttributes()
repeated .Attribute attributes = 9;public Proto.Event.Builder removeAttributes(int index)
repeated .Attribute attributes = 9;public Proto.Attribute.Builder getAttributesBuilder(int index)
repeated .Attribute attributes = 9;public Proto.AttributeOrBuilder getAttributesOrBuilder(int index)
repeated .Attribute attributes = 9;getAttributesOrBuilder in interface Proto.EventOrBuilderpublic List<? extends Proto.AttributeOrBuilder> getAttributesOrBuilderList()
repeated .Attribute attributes = 9;getAttributesOrBuilderList in interface Proto.EventOrBuilderpublic Proto.Attribute.Builder addAttributesBuilder()
repeated .Attribute attributes = 9;public Proto.Attribute.Builder addAttributesBuilder(int index)
repeated .Attribute attributes = 9;public List<Proto.Attribute.Builder> getAttributesBuilderList()
repeated .Attribute attributes = 9;public boolean hasMetricSint64()
optional sint64 metric_sint64 = 13;hasMetricSint64 in interface Proto.EventOrBuilderpublic long getMetricSint64()
optional sint64 metric_sint64 = 13;getMetricSint64 in interface Proto.EventOrBuilderpublic Proto.Event.Builder setMetricSint64(long value)
optional sint64 metric_sint64 = 13;public Proto.Event.Builder clearMetricSint64()
optional sint64 metric_sint64 = 13;public boolean hasMetricD()
optional double metric_d = 14;hasMetricD in interface Proto.EventOrBuilderpublic double getMetricD()
optional double metric_d = 14;getMetricD in interface Proto.EventOrBuilderpublic Proto.Event.Builder setMetricD(double value)
optional double metric_d = 14;public Proto.Event.Builder clearMetricD()
optional double metric_d = 14;public boolean hasMetricF()
optional float metric_f = 15;hasMetricF in interface Proto.EventOrBuilderpublic float getMetricF()
optional float metric_f = 15;getMetricF in interface Proto.EventOrBuilderpublic Proto.Event.Builder setMetricF(float value)
optional float metric_f = 15;public Proto.Event.Builder clearMetricF()
optional float metric_f = 15;Copyright © 2015. All rights reserved.