Package ai.promoted.proto.event
Class ErrorHistory.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ErrorHistory.Builder>
-
- ai.promoted.proto.event.ErrorHistory.Builder
-
- All Implemented Interfaces:
ErrorHistoryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ErrorHistory
public static final class ErrorHistory.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ErrorHistory.Builder> implements ErrorHistoryOrBuilder
Protobuf typeevent.ErrorHistory
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorHistory.BuilderaddAllIosErrors(Iterable<? extends IOSError> values)repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];ErrorHistory.BuilderaddIosErrors(int index, IOSError value)repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];ErrorHistory.BuilderaddIosErrors(int index, IOSError.Builder builderForValue)repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];ErrorHistory.BuilderaddIosErrors(IOSError value)repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];ErrorHistory.BuilderaddIosErrors(IOSError.Builder builderForValue)repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];IOSError.BuilderaddIosErrorsBuilder()repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];IOSError.BuilderaddIosErrorsBuilder(int index)repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];ErrorHistory.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ErrorHistorybuild()ErrorHistorybuildPartial()ErrorHistory.Builderclear()ErrorHistory.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ErrorHistory.BuilderclearIosErrors()repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];ErrorHistory.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ErrorHistory.BuilderclearTotalErrors()int32 total_errors = 2 [json_name = "totalErrors"];ErrorHistory.Builderclone()ErrorHistorygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()IOSErrorgetIosErrors(int index)repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];IOSError.BuildergetIosErrorsBuilder(int index)repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];List<IOSError.Builder>getIosErrorsBuilderList()repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];intgetIosErrorsCount()repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];List<IOSError>getIosErrorsList()repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];IOSErrorOrBuildergetIosErrorsOrBuilder(int index)repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];List<? extends IOSErrorOrBuilder>getIosErrorsOrBuilderList()repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];intgetTotalErrors()int32 total_errors = 2 [json_name = "totalErrors"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ErrorHistory.BuildermergeFrom(ErrorHistory other)ErrorHistory.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ErrorHistory.BuildermergeFrom(com.google.protobuf.Message other)ErrorHistory.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ErrorHistory.BuilderremoveIosErrors(int index)repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];ErrorHistory.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ErrorHistory.BuildersetIosErrors(int index, IOSError value)repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];ErrorHistory.BuildersetIosErrors(int index, IOSError.Builder builderForValue)repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];ErrorHistory.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ErrorHistory.BuildersetTotalErrors(int value)int32 total_errors = 2 [json_name = "totalErrors"];ErrorHistory.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorHistory.Builder>
-
clear
public ErrorHistory.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorHistory.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorHistory.Builder>
-
getDefaultInstanceForType
public ErrorHistory getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ErrorHistory build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ErrorHistory buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ErrorHistory.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorHistory.Builder>
-
setField
public ErrorHistory.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorHistory.Builder>
-
clearField
public ErrorHistory.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorHistory.Builder>
-
clearOneof
public ErrorHistory.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorHistory.Builder>
-
setRepeatedField
public ErrorHistory.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorHistory.Builder>
-
addRepeatedField
public ErrorHistory.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorHistory.Builder>
-
mergeFrom
public ErrorHistory.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ErrorHistory.Builder>
-
mergeFrom
public ErrorHistory.Builder mergeFrom(ErrorHistory other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorHistory.Builder>
-
mergeFrom
public ErrorHistory.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ErrorHistory.Builder>- Throws:
IOException
-
getIosErrorsList
public List<IOSError> getIosErrorsList()
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];- Specified by:
getIosErrorsListin interfaceErrorHistoryOrBuilder
-
getIosErrorsCount
public int getIosErrorsCount()
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];- Specified by:
getIosErrorsCountin interfaceErrorHistoryOrBuilder
-
getIosErrors
public IOSError getIosErrors(int index)
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];- Specified by:
getIosErrorsin interfaceErrorHistoryOrBuilder
-
setIosErrors
public ErrorHistory.Builder setIosErrors(int index, IOSError value)
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
-
setIosErrors
public ErrorHistory.Builder setIosErrors(int index, IOSError.Builder builderForValue)
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
-
addIosErrors
public ErrorHistory.Builder addIosErrors(IOSError value)
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
-
addIosErrors
public ErrorHistory.Builder addIosErrors(int index, IOSError value)
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
-
addIosErrors
public ErrorHistory.Builder addIosErrors(IOSError.Builder builderForValue)
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
-
addIosErrors
public ErrorHistory.Builder addIosErrors(int index, IOSError.Builder builderForValue)
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
-
addAllIosErrors
public ErrorHistory.Builder addAllIosErrors(Iterable<? extends IOSError> values)
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
-
clearIosErrors
public ErrorHistory.Builder clearIosErrors()
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
-
removeIosErrors
public ErrorHistory.Builder removeIosErrors(int index)
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
-
getIosErrorsBuilder
public IOSError.Builder getIosErrorsBuilder(int index)
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
-
getIosErrorsOrBuilder
public IOSErrorOrBuilder getIosErrorsOrBuilder(int index)
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];- Specified by:
getIosErrorsOrBuilderin interfaceErrorHistoryOrBuilder
-
getIosErrorsOrBuilderList
public List<? extends IOSErrorOrBuilder> getIosErrorsOrBuilderList()
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];- Specified by:
getIosErrorsOrBuilderListin interfaceErrorHistoryOrBuilder
-
addIosErrorsBuilder
public IOSError.Builder addIosErrorsBuilder()
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
-
addIosErrorsBuilder
public IOSError.Builder addIosErrorsBuilder(int index)
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
-
getIosErrorsBuilderList
public List<IOSError.Builder> getIosErrorsBuilderList()
repeated .event.IOSError ios_errors = 1 [json_name = "iosErrors"];
-
getTotalErrors
public int getTotalErrors()
int32 total_errors = 2 [json_name = "totalErrors"];- Specified by:
getTotalErrorsin interfaceErrorHistoryOrBuilder- Returns:
- The totalErrors.
-
setTotalErrors
public ErrorHistory.Builder setTotalErrors(int value)
int32 total_errors = 2 [json_name = "totalErrors"];- Parameters:
value- The totalErrors to set.- Returns:
- This builder for chaining.
-
clearTotalErrors
public ErrorHistory.Builder clearTotalErrors()
int32 total_errors = 2 [json_name = "totalErrors"];- Returns:
- This builder for chaining.
-
setUnknownFields
public final ErrorHistory.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorHistory.Builder>
-
mergeUnknownFields
public final ErrorHistory.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorHistory.Builder>
-
-