类 Command.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
org.apache.skywalking.apm.network.common.v3.Command.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,CommandOrBuilder
- 封闭类:
- Command
public static final class Command.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
implements CommandOrBuilder
Command represents an protocol customized data when return.
When the agent communicates with the OAP side using gRPC, the OAP uses Command to return the data content to the Agent.
The available commands are,
Name: ConfigurationDiscoveryCommand
Args:
SerialNumber: String
UUID: String
properties: Key-value pairs rely on agent-side implementations
Ref, Java agent supported configurations, https://skywalking.apache.org/docs/skywalking-java/next/en/setup/service-agent/java-agent/configuration-discovery/
Name: ProfileTaskQuery
Args:
SerialNumber: String
TaskId: String
EndpointName: String
Duration: Integer
MinDurationThreshold: Integer
DumpPeriod: Integer
MaxSamplingCount: Integer
StartTime: Date Timestamp
CreateTime: Date Timestamp
Name: EBPFProfilingTaskQuery
Args:
TaskId: String
ProcessId: Integer List
TaskUpdateTime: Date timestamp
TriggerType: Enum, value = FIXED_TIME
TargetType: Enum, value = ON_CPU, OFF_CPU or NETWORK
TaskStartTime: Date Timestamp
ExtensionConfigJSON: JSON serialization of NetworkSamplings.
--- NetworkSamplings ---
NetworkSamplings: List
URIRegex: String
MinDuration: Integer
When4xx: Boolean
When5xx: Boolean
Settings: Object
RequireCompleteRequest: Boolean
MaxRequestSize: Integer
RequireCompleteResponse: Boolean
MaxResponseSize: Integer
------------------------
FixedTriggerDuration: Long
Name: ContinuousProfilingPolicyQuery
Args:
ServiceWithPolicyJSON: List JSON serialization of ServiceWithPolicy.
--- ServiceWithPolicy ---
ServiceName: String
UUID: String
Profiling: Multiple profiling configuration. Map
Key: Profiling type. Enum, value = ON_CPU, OFF_CPU, NETWORK
Value: Profiling policies. Map
Key: Monitoring type. Enum, value = PROCESS_CPU, PROCESS_THREAD_COUNT, SYSTEM_LOAD, HTTP_ERROR_RATE, HTTP_AVG_RESPONSE_TIME
Value: Policy configuration. Object.
Threshold: String
Period(s): Integer
Count: Integer
URIList: List<String>
URIRegex: String
---------------------------
Name: ContinuousProfilingReportTask
Args:
TaskId: String
Protobuf type skywalking.v3.Command-
方法概要
修饰符和类型方法说明addAllArgs(Iterable<? extends KeyStringValuePair> values) Data content in command.addArgs(int index, KeyStringValuePair value) Data content in command.addArgs(int index, KeyStringValuePair.Builder builderForValue) Data content in command.addArgs(KeyStringValuePair value) Data content in command.addArgs(KeyStringValuePair.Builder builderForValue) Data content in command.Data content in command.addArgsBuilder(int index) Data content in command.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Data content in command.Use command name to distinguish different data type.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()getArgs(int index) Data content in command.getArgsBuilder(int index) Data content in command.Data content in command.intData content in command.Data content in command.getArgsOrBuilder(int index) Data content in command.List<? extends KeyStringValuePairOrBuilder>Data content in command.Use command name to distinguish different data type.com.google.protobuf.ByteStringUse command name to distinguish different data type.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final Command.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeArgs(int index) Data content in command.setArgs(int index, KeyStringValuePair value) Data content in command.setArgs(int index, KeyStringValuePair.Builder builderForValue) Data content in command.setCommand(String value) Use command name to distinguish different data type.setCommandBytes(com.google.protobuf.ByteString value) Use command name to distinguish different data type.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Command.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 从类继承的方法 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从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException从接口继承的方法 com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom从接口继承的方法 com.google.protobuf.MessageLite.Builder
mergeFrom从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
-
clear
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
-
setField
public Command.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
-
clearField
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
-
clearOneof
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
-
setRepeatedField
public Command.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
-
addRepeatedField
public Command.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
-
mergeFrom
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<Command.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
-
mergeFrom
public Command.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<Command.Builder>- 抛出:
IOException
-
getCommand
Use command name to distinguish different data type.
string command = 1;- 指定者:
getCommand在接口中CommandOrBuilder- 返回:
- The command.
-
getCommandBytes
public com.google.protobuf.ByteString getCommandBytes()Use command name to distinguish different data type.
string command = 1;- 指定者:
getCommandBytes在接口中CommandOrBuilder- 返回:
- The bytes for command.
-
setCommand
Use command name to distinguish different data type.
string command = 1;- 参数:
value- The command to set.- 返回:
- This builder for chaining.
-
clearCommand
Use command name to distinguish different data type.
string command = 1;- 返回:
- This builder for chaining.
-
setCommandBytes
Use command name to distinguish different data type.
string command = 1;- 参数:
value- The bytes for command to set.- 返回:
- This builder for chaining.
-
getArgsList
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2;- 指定者:
getArgsList在接口中CommandOrBuilder
-
getArgsCount
public int getArgsCount()Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2;- 指定者:
getArgsCount在接口中CommandOrBuilder
-
getArgs
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2;- 指定者:
getArgs在接口中CommandOrBuilder
-
setArgs
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2; -
setArgs
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2; -
addArgs
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2; -
addArgs
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2; -
addArgs
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2; -
addArgs
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2; -
addAllArgs
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2; -
clearArgs
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2; -
removeArgs
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2; -
getArgsBuilder
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2; -
getArgsOrBuilder
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2;- 指定者:
getArgsOrBuilder在接口中CommandOrBuilder
-
getArgsOrBuilderList
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2;- 指定者:
getArgsOrBuilderList在接口中CommandOrBuilder
-
addArgsBuilder
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2; -
addArgsBuilder
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2; -
getArgsBuilderList
Data content in command. The value of content needs to be serialized as string for transmission. Basic data type: convert as string. The list of basic data: multiple data are split by ",". Complex data: serialize string through json.
repeated .skywalking.v3.KeyStringValuePair args = 2; -
setUnknownFields
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
-
mergeUnknownFields
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
-