public static final class ProcessIdentifier.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ProcessIdentifier.Builder> implements ProcessIdentifierOrBuilder
Identifier that uniquely identifies a process within a VM/container.Protobuf type
opencensus.proto.agent.common.v1.ProcessIdentifier| Modifier and Type | Method and Description |
|---|---|
ProcessIdentifier.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ProcessIdentifier |
build() |
ProcessIdentifier |
buildPartial() |
ProcessIdentifier.Builder |
clear() |
ProcessIdentifier.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ProcessIdentifier.Builder |
clearHostName()
The host name.
|
ProcessIdentifier.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ProcessIdentifier.Builder |
clearPid()
Process id.
|
ProcessIdentifier.Builder |
clearStartTimestamp()
Start time of this ProcessIdentifier.
|
ProcessIdentifier.Builder |
clone() |
ProcessIdentifier |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHostName()
The host name.
|
com.google.protobuf.ByteString |
getHostNameBytes()
The host name.
|
int |
getPid()
Process id.
|
com.google.protobuf.Timestamp |
getStartTimestamp()
Start time of this ProcessIdentifier.
|
com.google.protobuf.Timestamp.Builder |
getStartTimestampBuilder()
Start time of this ProcessIdentifier.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimestampOrBuilder()
Start time of this ProcessIdentifier.
|
boolean |
hasStartTimestamp()
Start time of this ProcessIdentifier.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ProcessIdentifier.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ProcessIdentifier.Builder |
mergeFrom(com.google.protobuf.Message other) |
ProcessIdentifier.Builder |
mergeFrom(ProcessIdentifier other) |
ProcessIdentifier.Builder |
mergeStartTimestamp(com.google.protobuf.Timestamp value)
Start time of this ProcessIdentifier.
|
ProcessIdentifier.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ProcessIdentifier.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ProcessIdentifier.Builder |
setHostName(String value)
The host name.
|
ProcessIdentifier.Builder |
setHostNameBytes(com.google.protobuf.ByteString value)
The host name.
|
ProcessIdentifier.Builder |
setPid(int value)
Process id.
|
ProcessIdentifier.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ProcessIdentifier.Builder |
setStartTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
Start time of this ProcessIdentifier.
|
ProcessIdentifier.Builder |
setStartTimestamp(com.google.protobuf.Timestamp value)
Start time of this ProcessIdentifier.
|
ProcessIdentifier.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessIdentifier.Builder>public ProcessIdentifier.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessIdentifier.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessIdentifier.Builder>public ProcessIdentifier getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ProcessIdentifier build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ProcessIdentifier buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ProcessIdentifier.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessIdentifier.Builder>public ProcessIdentifier.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessIdentifier.Builder>public ProcessIdentifier.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessIdentifier.Builder>public ProcessIdentifier.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessIdentifier.Builder>public ProcessIdentifier.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessIdentifier.Builder>public ProcessIdentifier.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessIdentifier.Builder>public ProcessIdentifier.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProcessIdentifier.Builder>public ProcessIdentifier.Builder mergeFrom(ProcessIdentifier other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessIdentifier.Builder>public ProcessIdentifier.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProcessIdentifier.Builder>IOExceptionpublic String getHostName()
The host name. Usually refers to the machine/container name. For example: os.Hostname() in Go, socket.gethostname() in Python.
string host_name = 1;getHostName in interface ProcessIdentifierOrBuilderpublic com.google.protobuf.ByteString getHostNameBytes()
The host name. Usually refers to the machine/container name. For example: os.Hostname() in Go, socket.gethostname() in Python.
string host_name = 1;getHostNameBytes in interface ProcessIdentifierOrBuilderpublic ProcessIdentifier.Builder setHostName(String value)
The host name. Usually refers to the machine/container name. For example: os.Hostname() in Go, socket.gethostname() in Python.
string host_name = 1;public ProcessIdentifier.Builder clearHostName()
The host name. Usually refers to the machine/container name. For example: os.Hostname() in Go, socket.gethostname() in Python.
string host_name = 1;public ProcessIdentifier.Builder setHostNameBytes(com.google.protobuf.ByteString value)
The host name. Usually refers to the machine/container name. For example: os.Hostname() in Go, socket.gethostname() in Python.
string host_name = 1;public int getPid()
Process id.
uint32 pid = 2;getPid in interface ProcessIdentifierOrBuilderpublic ProcessIdentifier.Builder setPid(int value)
Process id.
uint32 pid = 2;public ProcessIdentifier.Builder clearPid()
Process id.
uint32 pid = 2;public boolean hasStartTimestamp()
Start time of this ProcessIdentifier. Represented in epoch time.
.google.protobuf.Timestamp start_timestamp = 3;hasStartTimestamp in interface ProcessIdentifierOrBuilderpublic com.google.protobuf.Timestamp getStartTimestamp()
Start time of this ProcessIdentifier. Represented in epoch time.
.google.protobuf.Timestamp start_timestamp = 3;getStartTimestamp in interface ProcessIdentifierOrBuilderpublic ProcessIdentifier.Builder setStartTimestamp(com.google.protobuf.Timestamp value)
Start time of this ProcessIdentifier. Represented in epoch time.
.google.protobuf.Timestamp start_timestamp = 3;public ProcessIdentifier.Builder setStartTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
Start time of this ProcessIdentifier. Represented in epoch time.
.google.protobuf.Timestamp start_timestamp = 3;public ProcessIdentifier.Builder mergeStartTimestamp(com.google.protobuf.Timestamp value)
Start time of this ProcessIdentifier. Represented in epoch time.
.google.protobuf.Timestamp start_timestamp = 3;public ProcessIdentifier.Builder clearStartTimestamp()
Start time of this ProcessIdentifier. Represented in epoch time.
.google.protobuf.Timestamp start_timestamp = 3;public com.google.protobuf.Timestamp.Builder getStartTimestampBuilder()
Start time of this ProcessIdentifier. Represented in epoch time.
.google.protobuf.Timestamp start_timestamp = 3;public com.google.protobuf.TimestampOrBuilder getStartTimestampOrBuilder()
Start time of this ProcessIdentifier. Represented in epoch time.
.google.protobuf.Timestamp start_timestamp = 3;getStartTimestampOrBuilder in interface ProcessIdentifierOrBuilderpublic final ProcessIdentifier.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessIdentifier.Builder>public final ProcessIdentifier.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessIdentifier.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.