Class ExportTraceServiceResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExportTraceServiceResponse.Builder>
-
- io.opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ExportTraceServiceResponseOrBuilder,java.lang.Cloneable
- Enclosing class:
- ExportTraceServiceResponse
public static final class ExportTraceServiceResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExportTraceServiceResponse.Builder> implements ExportTraceServiceResponseOrBuilder
Protobuf typeopentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportTraceServiceResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ExportTraceServiceResponsebuild()ExportTraceServiceResponsebuildPartial()ExportTraceServiceResponse.Builderclear()ExportTraceServiceResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ExportTraceServiceResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ExportTraceServiceResponse.BuilderclearPartialSuccess()The details of a partially successful export request.ExportTraceServiceResponse.Builderclone()ExportTraceServiceResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ExportTracePartialSuccessgetPartialSuccess()The details of a partially successful export request.ExportTracePartialSuccess.BuildergetPartialSuccessBuilder()The details of a partially successful export request.ExportTracePartialSuccessOrBuildergetPartialSuccessOrBuilder()The details of a partially successful export request.booleanhasPartialSuccess()The details of a partially successful export request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ExportTraceServiceResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ExportTraceServiceResponse.BuildermergeFrom(com.google.protobuf.Message other)ExportTraceServiceResponse.BuildermergeFrom(ExportTraceServiceResponse other)ExportTraceServiceResponse.BuildermergePartialSuccess(ExportTracePartialSuccess value)The details of a partially successful export request.ExportTraceServiceResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ExportTraceServiceResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ExportTraceServiceResponse.BuildersetPartialSuccess(ExportTracePartialSuccess value)The details of a partially successful export request.ExportTraceServiceResponse.BuildersetPartialSuccess(ExportTracePartialSuccess.Builder builderForValue)The details of a partially successful export request.ExportTraceServiceResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ExportTraceServiceResponse.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<ExportTraceServiceResponse.Builder>
-
clear
public ExportTraceServiceResponse.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<ExportTraceServiceResponse.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<ExportTraceServiceResponse.Builder>
-
getDefaultInstanceForType
public ExportTraceServiceResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExportTraceServiceResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExportTraceServiceResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExportTraceServiceResponse.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<ExportTraceServiceResponse.Builder>
-
setField
public ExportTraceServiceResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportTraceServiceResponse.Builder>
-
clearField
public ExportTraceServiceResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportTraceServiceResponse.Builder>
-
clearOneof
public ExportTraceServiceResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportTraceServiceResponse.Builder>
-
setRepeatedField
public ExportTraceServiceResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportTraceServiceResponse.Builder>
-
addRepeatedField
public ExportTraceServiceResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportTraceServiceResponse.Builder>
-
mergeFrom
public ExportTraceServiceResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportTraceServiceResponse.Builder>
-
mergeFrom
public ExportTraceServiceResponse.Builder mergeFrom(ExportTraceServiceResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportTraceServiceResponse.Builder>
-
mergeFrom
public ExportTraceServiceResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportTraceServiceResponse.Builder>- Throws:
java.io.IOException
-
hasPartialSuccess
public boolean hasPartialSuccess()
The details of a partially successful export request. If the request is only partially accepted (i.e. when the server accepts only parts of the data and rejects the rest) the server MUST initialize the `partial_success` field and MUST set the `rejected_<signal>` with the number of items it rejected. Servers MAY also make use of the `partial_success` field to convey warnings/suggestions to senders even when the request was fully accepted. In such cases, the `rejected_<signal>` MUST have a value of `0` and the `error_message` MUST be non-empty. A `partial_success` message with an empty value (rejected_<signal> = 0 and `error_message` = "") is equivalent to it not being set/present. Senders SHOULD interpret it the same way as in the full success case.
.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1;- Specified by:
hasPartialSuccessin interfaceExportTraceServiceResponseOrBuilder- Returns:
- Whether the partialSuccess field is set.
-
getPartialSuccess
public ExportTracePartialSuccess getPartialSuccess()
The details of a partially successful export request. If the request is only partially accepted (i.e. when the server accepts only parts of the data and rejects the rest) the server MUST initialize the `partial_success` field and MUST set the `rejected_<signal>` with the number of items it rejected. Servers MAY also make use of the `partial_success` field to convey warnings/suggestions to senders even when the request was fully accepted. In such cases, the `rejected_<signal>` MUST have a value of `0` and the `error_message` MUST be non-empty. A `partial_success` message with an empty value (rejected_<signal> = 0 and `error_message` = "") is equivalent to it not being set/present. Senders SHOULD interpret it the same way as in the full success case.
.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1;- Specified by:
getPartialSuccessin interfaceExportTraceServiceResponseOrBuilder- Returns:
- The partialSuccess.
-
setPartialSuccess
public ExportTraceServiceResponse.Builder setPartialSuccess(ExportTracePartialSuccess value)
The details of a partially successful export request. If the request is only partially accepted (i.e. when the server accepts only parts of the data and rejects the rest) the server MUST initialize the `partial_success` field and MUST set the `rejected_<signal>` with the number of items it rejected. Servers MAY also make use of the `partial_success` field to convey warnings/suggestions to senders even when the request was fully accepted. In such cases, the `rejected_<signal>` MUST have a value of `0` and the `error_message` MUST be non-empty. A `partial_success` message with an empty value (rejected_<signal> = 0 and `error_message` = "") is equivalent to it not being set/present. Senders SHOULD interpret it the same way as in the full success case.
.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1;
-
setPartialSuccess
public ExportTraceServiceResponse.Builder setPartialSuccess(ExportTracePartialSuccess.Builder builderForValue)
The details of a partially successful export request. If the request is only partially accepted (i.e. when the server accepts only parts of the data and rejects the rest) the server MUST initialize the `partial_success` field and MUST set the `rejected_<signal>` with the number of items it rejected. Servers MAY also make use of the `partial_success` field to convey warnings/suggestions to senders even when the request was fully accepted. In such cases, the `rejected_<signal>` MUST have a value of `0` and the `error_message` MUST be non-empty. A `partial_success` message with an empty value (rejected_<signal> = 0 and `error_message` = "") is equivalent to it not being set/present. Senders SHOULD interpret it the same way as in the full success case.
.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1;
-
mergePartialSuccess
public ExportTraceServiceResponse.Builder mergePartialSuccess(ExportTracePartialSuccess value)
The details of a partially successful export request. If the request is only partially accepted (i.e. when the server accepts only parts of the data and rejects the rest) the server MUST initialize the `partial_success` field and MUST set the `rejected_<signal>` with the number of items it rejected. Servers MAY also make use of the `partial_success` field to convey warnings/suggestions to senders even when the request was fully accepted. In such cases, the `rejected_<signal>` MUST have a value of `0` and the `error_message` MUST be non-empty. A `partial_success` message with an empty value (rejected_<signal> = 0 and `error_message` = "") is equivalent to it not being set/present. Senders SHOULD interpret it the same way as in the full success case.
.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1;
-
clearPartialSuccess
public ExportTraceServiceResponse.Builder clearPartialSuccess()
The details of a partially successful export request. If the request is only partially accepted (i.e. when the server accepts only parts of the data and rejects the rest) the server MUST initialize the `partial_success` field and MUST set the `rejected_<signal>` with the number of items it rejected. Servers MAY also make use of the `partial_success` field to convey warnings/suggestions to senders even when the request was fully accepted. In such cases, the `rejected_<signal>` MUST have a value of `0` and the `error_message` MUST be non-empty. A `partial_success` message with an empty value (rejected_<signal> = 0 and `error_message` = "") is equivalent to it not being set/present. Senders SHOULD interpret it the same way as in the full success case.
.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1;
-
getPartialSuccessBuilder
public ExportTracePartialSuccess.Builder getPartialSuccessBuilder()
The details of a partially successful export request. If the request is only partially accepted (i.e. when the server accepts only parts of the data and rejects the rest) the server MUST initialize the `partial_success` field and MUST set the `rejected_<signal>` with the number of items it rejected. Servers MAY also make use of the `partial_success` field to convey warnings/suggestions to senders even when the request was fully accepted. In such cases, the `rejected_<signal>` MUST have a value of `0` and the `error_message` MUST be non-empty. A `partial_success` message with an empty value (rejected_<signal> = 0 and `error_message` = "") is equivalent to it not being set/present. Senders SHOULD interpret it the same way as in the full success case.
.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1;
-
getPartialSuccessOrBuilder
public ExportTracePartialSuccessOrBuilder getPartialSuccessOrBuilder()
The details of a partially successful export request. If the request is only partially accepted (i.e. when the server accepts only parts of the data and rejects the rest) the server MUST initialize the `partial_success` field and MUST set the `rejected_<signal>` with the number of items it rejected. Servers MAY also make use of the `partial_success` field to convey warnings/suggestions to senders even when the request was fully accepted. In such cases, the `rejected_<signal>` MUST have a value of `0` and the `error_message` MUST be non-empty. A `partial_success` message with an empty value (rejected_<signal> = 0 and `error_message` = "") is equivalent to it not being set/present. Senders SHOULD interpret it the same way as in the full success case.
.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1;- Specified by:
getPartialSuccessOrBuilderin interfaceExportTraceServiceResponseOrBuilder
-
setUnknownFields
public final ExportTraceServiceResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportTraceServiceResponse.Builder>
-
mergeUnknownFields
public final ExportTraceServiceResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportTraceServiceResponse.Builder>
-
-