Package com.daml.ledger.api.v1
Class TraceContextOuterClass.TraceContext.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TraceContextOuterClass.TraceContext.Builder>
-
- com.daml.ledger.api.v1.TraceContextOuterClass.TraceContext.Builder
-
- All Implemented Interfaces:
TraceContextOuterClass.TraceContextOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- TraceContextOuterClass.TraceContext
public static final class TraceContextOuterClass.TraceContext.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TraceContextOuterClass.TraceContext.Builder> implements TraceContextOuterClass.TraceContextOrBuilder
Protobuf typecom.daml.ledger.api.v1.TraceContext
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TraceContextOuterClass.TraceContext.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TraceContextOuterClass.TraceContext
build()
TraceContextOuterClass.TraceContext
buildPartial()
TraceContextOuterClass.TraceContext.Builder
clear()
TraceContextOuterClass.TraceContext.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TraceContextOuterClass.TraceContext.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TraceContextOuterClass.TraceContext.Builder
clearTraceparent()
https://www.w3.org/TR/trace-context/TraceContextOuterClass.TraceContext.Builder
clearTracestate()
.google.protobuf.StringValue tracestate = 2 [json_name = "tracestate"];
TraceContextOuterClass.TraceContext.Builder
clone()
TraceContextOuterClass.TraceContext
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.StringValue
getTraceparent()
https://www.w3.org/TR/trace-context/com.google.protobuf.StringValue.Builder
getTraceparentBuilder()
https://www.w3.org/TR/trace-context/com.google.protobuf.StringValueOrBuilder
getTraceparentOrBuilder()
https://www.w3.org/TR/trace-context/com.google.protobuf.StringValue
getTracestate()
.google.protobuf.StringValue tracestate = 2 [json_name = "tracestate"];
com.google.protobuf.StringValue.Builder
getTracestateBuilder()
.google.protobuf.StringValue tracestate = 2 [json_name = "tracestate"];
com.google.protobuf.StringValueOrBuilder
getTracestateOrBuilder()
.google.protobuf.StringValue tracestate = 2 [json_name = "tracestate"];
boolean
hasTraceparent()
https://www.w3.org/TR/trace-context/boolean
hasTracestate()
.google.protobuf.StringValue tracestate = 2 [json_name = "tracestate"];
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TraceContextOuterClass.TraceContext.Builder
mergeFrom(TraceContextOuterClass.TraceContext other)
TraceContextOuterClass.TraceContext.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TraceContextOuterClass.TraceContext.Builder
mergeFrom(com.google.protobuf.Message other)
TraceContextOuterClass.TraceContext.Builder
mergeTraceparent(com.google.protobuf.StringValue value)
https://www.w3.org/TR/trace-context/TraceContextOuterClass.TraceContext.Builder
mergeTracestate(com.google.protobuf.StringValue value)
.google.protobuf.StringValue tracestate = 2 [json_name = "tracestate"];
TraceContextOuterClass.TraceContext.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TraceContextOuterClass.TraceContext.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TraceContextOuterClass.TraceContext.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
TraceContextOuterClass.TraceContext.Builder
setTraceparent(com.google.protobuf.StringValue value)
https://www.w3.org/TR/trace-context/TraceContextOuterClass.TraceContext.Builder
setTraceparent(com.google.protobuf.StringValue.Builder builderForValue)
https://www.w3.org/TR/trace-context/TraceContextOuterClass.TraceContext.Builder
setTracestate(com.google.protobuf.StringValue value)
.google.protobuf.StringValue tracestate = 2 [json_name = "tracestate"];
TraceContextOuterClass.TraceContext.Builder
setTracestate(com.google.protobuf.StringValue.Builder builderForValue)
.google.protobuf.StringValue tracestate = 2 [json_name = "tracestate"];
TraceContextOuterClass.TraceContext.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TraceContextOuterClass.TraceContext.Builder>
-
clear
public TraceContextOuterClass.TraceContext.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TraceContextOuterClass.TraceContext.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TraceContextOuterClass.TraceContext.Builder>
-
getDefaultInstanceForType
public TraceContextOuterClass.TraceContext getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TraceContextOuterClass.TraceContext build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TraceContextOuterClass.TraceContext buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TraceContextOuterClass.TraceContext.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TraceContextOuterClass.TraceContext.Builder>
-
setField
public TraceContextOuterClass.TraceContext.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TraceContextOuterClass.TraceContext.Builder>
-
clearField
public TraceContextOuterClass.TraceContext.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TraceContextOuterClass.TraceContext.Builder>
-
clearOneof
public TraceContextOuterClass.TraceContext.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TraceContextOuterClass.TraceContext.Builder>
-
setRepeatedField
public TraceContextOuterClass.TraceContext.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TraceContextOuterClass.TraceContext.Builder>
-
addRepeatedField
public TraceContextOuterClass.TraceContext.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TraceContextOuterClass.TraceContext.Builder>
-
mergeFrom
public TraceContextOuterClass.TraceContext.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TraceContextOuterClass.TraceContext.Builder>
-
mergeFrom
public TraceContextOuterClass.TraceContext.Builder mergeFrom(TraceContextOuterClass.TraceContext other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TraceContextOuterClass.TraceContext.Builder>
-
mergeFrom
public TraceContextOuterClass.TraceContext.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TraceContextOuterClass.TraceContext.Builder>
- Throws:
java.io.IOException
-
hasTraceparent
public boolean hasTraceparent()
https://www.w3.org/TR/trace-context/
.google.protobuf.StringValue traceparent = 1 [json_name = "traceparent"];
- Specified by:
hasTraceparent
in interfaceTraceContextOuterClass.TraceContextOrBuilder
- Returns:
- Whether the traceparent field is set.
-
getTraceparent
public com.google.protobuf.StringValue getTraceparent()
https://www.w3.org/TR/trace-context/
.google.protobuf.StringValue traceparent = 1 [json_name = "traceparent"];
- Specified by:
getTraceparent
in interfaceTraceContextOuterClass.TraceContextOrBuilder
- Returns:
- The traceparent.
-
setTraceparent
public TraceContextOuterClass.TraceContext.Builder setTraceparent(com.google.protobuf.StringValue value)
https://www.w3.org/TR/trace-context/
.google.protobuf.StringValue traceparent = 1 [json_name = "traceparent"];
-
setTraceparent
public TraceContextOuterClass.TraceContext.Builder setTraceparent(com.google.protobuf.StringValue.Builder builderForValue)
https://www.w3.org/TR/trace-context/
.google.protobuf.StringValue traceparent = 1 [json_name = "traceparent"];
-
mergeTraceparent
public TraceContextOuterClass.TraceContext.Builder mergeTraceparent(com.google.protobuf.StringValue value)
https://www.w3.org/TR/trace-context/
.google.protobuf.StringValue traceparent = 1 [json_name = "traceparent"];
-
clearTraceparent
public TraceContextOuterClass.TraceContext.Builder clearTraceparent()
https://www.w3.org/TR/trace-context/
.google.protobuf.StringValue traceparent = 1 [json_name = "traceparent"];
-
getTraceparentBuilder
public com.google.protobuf.StringValue.Builder getTraceparentBuilder()
https://www.w3.org/TR/trace-context/
.google.protobuf.StringValue traceparent = 1 [json_name = "traceparent"];
-
getTraceparentOrBuilder
public com.google.protobuf.StringValueOrBuilder getTraceparentOrBuilder()
https://www.w3.org/TR/trace-context/
.google.protobuf.StringValue traceparent = 1 [json_name = "traceparent"];
- Specified by:
getTraceparentOrBuilder
in interfaceTraceContextOuterClass.TraceContextOrBuilder
-
hasTracestate
public boolean hasTracestate()
.google.protobuf.StringValue tracestate = 2 [json_name = "tracestate"];
- Specified by:
hasTracestate
in interfaceTraceContextOuterClass.TraceContextOrBuilder
- Returns:
- Whether the tracestate field is set.
-
getTracestate
public com.google.protobuf.StringValue getTracestate()
.google.protobuf.StringValue tracestate = 2 [json_name = "tracestate"];
- Specified by:
getTracestate
in interfaceTraceContextOuterClass.TraceContextOrBuilder
- Returns:
- The tracestate.
-
setTracestate
public TraceContextOuterClass.TraceContext.Builder setTracestate(com.google.protobuf.StringValue value)
.google.protobuf.StringValue tracestate = 2 [json_name = "tracestate"];
-
setTracestate
public TraceContextOuterClass.TraceContext.Builder setTracestate(com.google.protobuf.StringValue.Builder builderForValue)
.google.protobuf.StringValue tracestate = 2 [json_name = "tracestate"];
-
mergeTracestate
public TraceContextOuterClass.TraceContext.Builder mergeTracestate(com.google.protobuf.StringValue value)
.google.protobuf.StringValue tracestate = 2 [json_name = "tracestate"];
-
clearTracestate
public TraceContextOuterClass.TraceContext.Builder clearTracestate()
.google.protobuf.StringValue tracestate = 2 [json_name = "tracestate"];
-
getTracestateBuilder
public com.google.protobuf.StringValue.Builder getTracestateBuilder()
.google.protobuf.StringValue tracestate = 2 [json_name = "tracestate"];
-
getTracestateOrBuilder
public com.google.protobuf.StringValueOrBuilder getTracestateOrBuilder()
.google.protobuf.StringValue tracestate = 2 [json_name = "tracestate"];
- Specified by:
getTracestateOrBuilder
in interfaceTraceContextOuterClass.TraceContextOrBuilder
-
setUnknownFields
public final TraceContextOuterClass.TraceContext.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TraceContextOuterClass.TraceContext.Builder>
-
mergeUnknownFields
public final TraceContextOuterClass.TraceContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TraceContextOuterClass.TraceContext.Builder>
-
-