Package mdg.engine.proto
Class Reports.Trace.Details.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Details.Builder>
mdg.engine.proto.Reports.Trace.Details.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Reports.Trace.DetailsOrBuilder
- Enclosing class:
- Reports.Trace.Details
public static final class Reports.Trace.Details.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Details.Builder>
implements Reports.Trace.DetailsOrBuilder
Protobuf type
mdg.engine.proto.Trace.Details-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Don't include this in traces inside a FullTracesReport; the operation name for these traces comes from the key of the traces_per_query map.Optional: this is the original full query before the signature algorithm is applied.booleancontainsVariables(String key) Deprecated.booleanThe variables associated with this query (unless the reporting agent is configured to keep them all private).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.Deprecated.Don't include this in traces inside a FullTracesReport; the operation name for these traces comes from the key of the traces_per_query map.com.google.protobuf.ByteStringDon't include this in traces inside a FullTracesReport; the operation name for these traces comes from the key of the traces_per_query map.Optional: this is the original full query before the signature algorithm is applied.com.google.protobuf.ByteStringOptional: this is the original full query before the signature algorithm is applied.Deprecated.intDeprecated.Deprecated.intThe variables associated with this query (unless the reporting agent is configured to keep them all private).The variables associated with this query (unless the reporting agent is configured to keep them all private).getVariablesJsonOrDefault(String key, String defaultValue) The variables associated with this query (unless the reporting agent is configured to keep them all private).The variables associated with this query (unless the reporting agent is configured to keep them all private).Deprecated.com.google.protobuf.ByteStringgetVariablesOrDefault(String key, com.google.protobuf.ByteString defaultValue) Deprecated.com.google.protobuf.ByteStringDeprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Reports.Trace.Details other) putAllVariables(Map<String, com.google.protobuf.ByteString> values) Deprecated.putAllVariablesJson(Map<String, String> values) The variables associated with this query (unless the reporting agent is configured to keep them all private).putVariables(String key, com.google.protobuf.ByteString value) Deprecated.putVariablesJson(String key, String value) The variables associated with this query (unless the reporting agent is configured to keep them all private).removeVariables(String key) Deprecated.The variables associated with this query (unless the reporting agent is configured to keep them all private).setOperationName(String value) Don't include this in traces inside a FullTracesReport; the operation name for these traces comes from the key of the traces_per_query map.setOperationNameBytes(com.google.protobuf.ByteString value) Don't include this in traces inside a FullTracesReport; the operation name for these traces comes from the key of the traces_per_query map.setRawQuery(String value) Optional: this is the original full query before the signature algorithm is applied.setRawQueryBytes(com.google.protobuf.ByteString value) Optional: this is the original full query before the signature algorithm is applied.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Details.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Details.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Details.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Details.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.GeneratedMessage.Builder<Reports.Trace.Details.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Reports.Trace.Details.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Details.Builder>
-
mergeFrom
public Reports.Trace.Details.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<Reports.Trace.Details.Builder>- Throws:
IOException
-
getVariablesJsonCount
public int getVariablesJsonCount()Description copied from interface:Reports.Trace.DetailsOrBuilderThe variables associated with this query (unless the reporting agent is configured to keep them all private). Values are JSON: ie, strings are enclosed in double quotes, etc. The value of a private variable is the empty string.
map<string, string> variables_json = 4;- Specified by:
getVariablesJsonCountin interfaceReports.Trace.DetailsOrBuilder
-
containsVariablesJson
The variables associated with this query (unless the reporting agent is configured to keep them all private). Values are JSON: ie, strings are enclosed in double quotes, etc. The value of a private variable is the empty string.
map<string, string> variables_json = 4;- Specified by:
containsVariablesJsonin interfaceReports.Trace.DetailsOrBuilder
-
getVariablesJson
Deprecated.UsegetVariablesJsonMap()instead.- Specified by:
getVariablesJsonin interfaceReports.Trace.DetailsOrBuilder
-
getVariablesJsonMap
The variables associated with this query (unless the reporting agent is configured to keep them all private). Values are JSON: ie, strings are enclosed in double quotes, etc. The value of a private variable is the empty string.
map<string, string> variables_json = 4;- Specified by:
getVariablesJsonMapin interfaceReports.Trace.DetailsOrBuilder
-
getVariablesJsonOrDefault
The variables associated with this query (unless the reporting agent is configured to keep them all private). Values are JSON: ie, strings are enclosed in double quotes, etc. The value of a private variable is the empty string.
map<string, string> variables_json = 4;- Specified by:
getVariablesJsonOrDefaultin interfaceReports.Trace.DetailsOrBuilder
-
getVariablesJsonOrThrow
The variables associated with this query (unless the reporting agent is configured to keep them all private). Values are JSON: ie, strings are enclosed in double quotes, etc. The value of a private variable is the empty string.
map<string, string> variables_json = 4;- Specified by:
getVariablesJsonOrThrowin interfaceReports.Trace.DetailsOrBuilder
-
clearVariablesJson
-
removeVariablesJson
The variables associated with this query (unless the reporting agent is configured to keep them all private). Values are JSON: ie, strings are enclosed in double quotes, etc. The value of a private variable is the empty string.
map<string, string> variables_json = 4; -
getMutableVariablesJson
Deprecated.Use alternate mutation accessors instead. -
putVariablesJson
The variables associated with this query (unless the reporting agent is configured to keep them all private). Values are JSON: ie, strings are enclosed in double quotes, etc. The value of a private variable is the empty string.
map<string, string> variables_json = 4; -
putAllVariablesJson
The variables associated with this query (unless the reporting agent is configured to keep them all private). Values are JSON: ie, strings are enclosed in double quotes, etc. The value of a private variable is the empty string.
map<string, string> variables_json = 4; -
getVariablesCount
public int getVariablesCount()Description copied from interface:Reports.Trace.DetailsOrBuilderDeprecated. Engineproxy did not encode variable values as JSON, so you couldn't tell numbers from numeric strings. Send variables_json instead.
map<string, bytes> variables = 1;- Specified by:
getVariablesCountin interfaceReports.Trace.DetailsOrBuilder
-
containsVariables
Deprecated. Engineproxy did not encode variable values as JSON, so you couldn't tell numbers from numeric strings. Send variables_json instead.
map<string, bytes> variables = 1;- Specified by:
containsVariablesin interfaceReports.Trace.DetailsOrBuilder
-
getVariables
Deprecated.UsegetVariablesMap()instead.- Specified by:
getVariablesin interfaceReports.Trace.DetailsOrBuilder
-
getVariablesMap
Deprecated. Engineproxy did not encode variable values as JSON, so you couldn't tell numbers from numeric strings. Send variables_json instead.
map<string, bytes> variables = 1;- Specified by:
getVariablesMapin interfaceReports.Trace.DetailsOrBuilder
-
getVariablesOrDefault
public com.google.protobuf.ByteString getVariablesOrDefault(String key, com.google.protobuf.ByteString defaultValue) Deprecated. Engineproxy did not encode variable values as JSON, so you couldn't tell numbers from numeric strings. Send variables_json instead.
map<string, bytes> variables = 1;- Specified by:
getVariablesOrDefaultin interfaceReports.Trace.DetailsOrBuilder
-
getVariablesOrThrow
Deprecated. Engineproxy did not encode variable values as JSON, so you couldn't tell numbers from numeric strings. Send variables_json instead.
map<string, bytes> variables = 1;- Specified by:
getVariablesOrThrowin interfaceReports.Trace.DetailsOrBuilder
-
clearVariables
-
removeVariables
Deprecated. Engineproxy did not encode variable values as JSON, so you couldn't tell numbers from numeric strings. Send variables_json instead.
map<string, bytes> variables = 1; -
getMutableVariables
Deprecated.Use alternate mutation accessors instead. -
putVariables
Deprecated. Engineproxy did not encode variable values as JSON, so you couldn't tell numbers from numeric strings. Send variables_json instead.
map<string, bytes> variables = 1; -
putAllVariables
public Reports.Trace.Details.Builder putAllVariables(Map<String, com.google.protobuf.ByteString> values) Deprecated. Engineproxy did not encode variable values as JSON, so you couldn't tell numbers from numeric strings. Send variables_json instead.
map<string, bytes> variables = 1; -
getRawQuery
Optional: this is the original full query before the signature algorithm is applied. Engineproxy always sent this in all traces, which meant that literal-masking done by the signature algorithm didn't fully hide sensitive data from Engine servers. apollo-engine-reporting does not include this by default. (The Engine frontend does not currently show this field.)
string raw_query = 2;- Specified by:
getRawQueryin interfaceReports.Trace.DetailsOrBuilder- Returns:
- The rawQuery.
-
getRawQueryBytes
public com.google.protobuf.ByteString getRawQueryBytes()Optional: this is the original full query before the signature algorithm is applied. Engineproxy always sent this in all traces, which meant that literal-masking done by the signature algorithm didn't fully hide sensitive data from Engine servers. apollo-engine-reporting does not include this by default. (The Engine frontend does not currently show this field.)
string raw_query = 2;- Specified by:
getRawQueryBytesin interfaceReports.Trace.DetailsOrBuilder- Returns:
- The bytes for rawQuery.
-
setRawQuery
Optional: this is the original full query before the signature algorithm is applied. Engineproxy always sent this in all traces, which meant that literal-masking done by the signature algorithm didn't fully hide sensitive data from Engine servers. apollo-engine-reporting does not include this by default. (The Engine frontend does not currently show this field.)
string raw_query = 2;- Parameters:
value- The rawQuery to set.- Returns:
- This builder for chaining.
-
clearRawQuery
Optional: this is the original full query before the signature algorithm is applied. Engineproxy always sent this in all traces, which meant that literal-masking done by the signature algorithm didn't fully hide sensitive data from Engine servers. apollo-engine-reporting does not include this by default. (The Engine frontend does not currently show this field.)
string raw_query = 2;- Returns:
- This builder for chaining.
-
setRawQueryBytes
Optional: this is the original full query before the signature algorithm is applied. Engineproxy always sent this in all traces, which meant that literal-masking done by the signature algorithm didn't fully hide sensitive data from Engine servers. apollo-engine-reporting does not include this by default. (The Engine frontend does not currently show this field.)
string raw_query = 2;- Parameters:
value- The bytes for rawQuery to set.- Returns:
- This builder for chaining.
-
getOperationName
Don't include this in traces inside a FullTracesReport; the operation name for these traces comes from the key of the traces_per_query map.
string operation_name = 3;- Specified by:
getOperationNamein interfaceReports.Trace.DetailsOrBuilder- Returns:
- The operationName.
-
getOperationNameBytes
public com.google.protobuf.ByteString getOperationNameBytes()Don't include this in traces inside a FullTracesReport; the operation name for these traces comes from the key of the traces_per_query map.
string operation_name = 3;- Specified by:
getOperationNameBytesin interfaceReports.Trace.DetailsOrBuilder- Returns:
- The bytes for operationName.
-
setOperationName
Don't include this in traces inside a FullTracesReport; the operation name for these traces comes from the key of the traces_per_query map.
string operation_name = 3;- Parameters:
value- The operationName to set.- Returns:
- This builder for chaining.
-
clearOperationName
Don't include this in traces inside a FullTracesReport; the operation name for these traces comes from the key of the traces_per_query map.
string operation_name = 3;- Returns:
- This builder for chaining.
-
setOperationNameBytes
Don't include this in traces inside a FullTracesReport; the operation name for these traces comes from the key of the traces_per_query map.
string operation_name = 3;- Parameters:
value- The bytes for operationName to set.- Returns:
- This builder for chaining.
-