All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opencensus.proto.trace.v1.Module Maven / Gradle / Ivy

There is a newer version: 1.0.47
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: opencensus/proto/trace/v1/trace.proto

// Protobuf Java Version: 3.25.1
package io.opencensus.proto.trace.v1;

/**
 * 
 * A description of a binary module.
 * 
* * Protobuf type {@code opencensus.proto.trace.v1.Module} */ public final class Module extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:opencensus.proto.trace.v1.Module) ModuleOrBuilder { private static final long serialVersionUID = 0L; // Use Module.newBuilder() to construct. private Module(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Module() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Module(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.opencensus.proto.trace.v1.TraceProto.internal_static_opencensus_proto_trace_v1_Module_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.opencensus.proto.trace.v1.TraceProto.internal_static_opencensus_proto_trace_v1_Module_fieldAccessorTable .ensureFieldAccessorsInitialized( io.opencensus.proto.trace.v1.Module.class, io.opencensus.proto.trace.v1.Module.Builder.class); } private int bitField0_; public static final int MODULE_FIELD_NUMBER = 1; private io.opencensus.proto.trace.v1.TruncatableString module_; /** *
   * TODO: document the meaning of this field.
   * For example: main binary, kernel modules, and dynamic libraries
   * such as libc.so, sharedlib.so.
   * 
* * .opencensus.proto.trace.v1.TruncatableString module = 1; * @return Whether the module field is set. */ @java.lang.Override public boolean hasModule() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * TODO: document the meaning of this field.
   * For example: main binary, kernel modules, and dynamic libraries
   * such as libc.so, sharedlib.so.
   * 
* * .opencensus.proto.trace.v1.TruncatableString module = 1; * @return The module. */ @java.lang.Override public io.opencensus.proto.trace.v1.TruncatableString getModule() { return module_ == null ? io.opencensus.proto.trace.v1.TruncatableString.getDefaultInstance() : module_; } /** *
   * TODO: document the meaning of this field.
   * For example: main binary, kernel modules, and dynamic libraries
   * such as libc.so, sharedlib.so.
   * 
* * .opencensus.proto.trace.v1.TruncatableString module = 1; */ @java.lang.Override public io.opencensus.proto.trace.v1.TruncatableStringOrBuilder getModuleOrBuilder() { return module_ == null ? io.opencensus.proto.trace.v1.TruncatableString.getDefaultInstance() : module_; } public static final int BUILD_ID_FIELD_NUMBER = 2; private io.opencensus.proto.trace.v1.TruncatableString buildId_; /** *
   * A unique identifier for the module, usually a hash of its
   * contents.
   * 
* * .opencensus.proto.trace.v1.TruncatableString build_id = 2; * @return Whether the buildId field is set. */ @java.lang.Override public boolean hasBuildId() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * A unique identifier for the module, usually a hash of its
   * contents.
   * 
* * .opencensus.proto.trace.v1.TruncatableString build_id = 2; * @return The buildId. */ @java.lang.Override public io.opencensus.proto.trace.v1.TruncatableString getBuildId() { return buildId_ == null ? io.opencensus.proto.trace.v1.TruncatableString.getDefaultInstance() : buildId_; } /** *
   * A unique identifier for the module, usually a hash of its
   * contents.
   * 
* * .opencensus.proto.trace.v1.TruncatableString build_id = 2; */ @java.lang.Override public io.opencensus.proto.trace.v1.TruncatableStringOrBuilder getBuildIdOrBuilder() { return buildId_ == null ? io.opencensus.proto.trace.v1.TruncatableString.getDefaultInstance() : buildId_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getModule()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getBuildId()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getModule()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getBuildId()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.opencensus.proto.trace.v1.Module)) { return super.equals(obj); } io.opencensus.proto.trace.v1.Module other = (io.opencensus.proto.trace.v1.Module) obj; if (hasModule() != other.hasModule()) return false; if (hasModule()) { if (!getModule() .equals(other.getModule())) return false; } if (hasBuildId() != other.hasBuildId()) return false; if (hasBuildId()) { if (!getBuildId() .equals(other.getBuildId())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasModule()) { hash = (37 * hash) + MODULE_FIELD_NUMBER; hash = (53 * hash) + getModule().hashCode(); } if (hasBuildId()) { hash = (37 * hash) + BUILD_ID_FIELD_NUMBER; hash = (53 * hash) + getBuildId().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.opencensus.proto.trace.v1.Module parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.opencensus.proto.trace.v1.Module parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.opencensus.proto.trace.v1.Module parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.opencensus.proto.trace.v1.Module parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.opencensus.proto.trace.v1.Module parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.opencensus.proto.trace.v1.Module parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.opencensus.proto.trace.v1.Module parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.opencensus.proto.trace.v1.Module parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.opencensus.proto.trace.v1.Module parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.opencensus.proto.trace.v1.Module parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.opencensus.proto.trace.v1.Module parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.opencensus.proto.trace.v1.Module parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.opencensus.proto.trace.v1.Module prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * A description of a binary module.
   * 
* * Protobuf type {@code opencensus.proto.trace.v1.Module} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:opencensus.proto.trace.v1.Module) io.opencensus.proto.trace.v1.ModuleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.opencensus.proto.trace.v1.TraceProto.internal_static_opencensus_proto_trace_v1_Module_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.opencensus.proto.trace.v1.TraceProto.internal_static_opencensus_proto_trace_v1_Module_fieldAccessorTable .ensureFieldAccessorsInitialized( io.opencensus.proto.trace.v1.Module.class, io.opencensus.proto.trace.v1.Module.Builder.class); } // Construct using io.opencensus.proto.trace.v1.Module.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getModuleFieldBuilder(); getBuildIdFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; module_ = null; if (moduleBuilder_ != null) { moduleBuilder_.dispose(); moduleBuilder_ = null; } buildId_ = null; if (buildIdBuilder_ != null) { buildIdBuilder_.dispose(); buildIdBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.opencensus.proto.trace.v1.TraceProto.internal_static_opencensus_proto_trace_v1_Module_descriptor; } @java.lang.Override public io.opencensus.proto.trace.v1.Module getDefaultInstanceForType() { return io.opencensus.proto.trace.v1.Module.getDefaultInstance(); } @java.lang.Override public io.opencensus.proto.trace.v1.Module build() { io.opencensus.proto.trace.v1.Module result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.opencensus.proto.trace.v1.Module buildPartial() { io.opencensus.proto.trace.v1.Module result = new io.opencensus.proto.trace.v1.Module(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.opencensus.proto.trace.v1.Module result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.module_ = moduleBuilder_ == null ? module_ : moduleBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.buildId_ = buildIdBuilder_ == null ? buildId_ : buildIdBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.opencensus.proto.trace.v1.Module) { return mergeFrom((io.opencensus.proto.trace.v1.Module)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.opencensus.proto.trace.v1.Module other) { if (other == io.opencensus.proto.trace.v1.Module.getDefaultInstance()) return this; if (other.hasModule()) { mergeModule(other.getModule()); } if (other.hasBuildId()) { mergeBuildId(other.getBuildId()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getModuleFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getBuildIdFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.opencensus.proto.trace.v1.TruncatableString module_; private com.google.protobuf.SingleFieldBuilderV3< io.opencensus.proto.trace.v1.TruncatableString, io.opencensus.proto.trace.v1.TruncatableString.Builder, io.opencensus.proto.trace.v1.TruncatableStringOrBuilder> moduleBuilder_; /** *
     * TODO: document the meaning of this field.
     * For example: main binary, kernel modules, and dynamic libraries
     * such as libc.so, sharedlib.so.
     * 
* * .opencensus.proto.trace.v1.TruncatableString module = 1; * @return Whether the module field is set. */ public boolean hasModule() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * TODO: document the meaning of this field.
     * For example: main binary, kernel modules, and dynamic libraries
     * such as libc.so, sharedlib.so.
     * 
* * .opencensus.proto.trace.v1.TruncatableString module = 1; * @return The module. */ public io.opencensus.proto.trace.v1.TruncatableString getModule() { if (moduleBuilder_ == null) { return module_ == null ? io.opencensus.proto.trace.v1.TruncatableString.getDefaultInstance() : module_; } else { return moduleBuilder_.getMessage(); } } /** *
     * TODO: document the meaning of this field.
     * For example: main binary, kernel modules, and dynamic libraries
     * such as libc.so, sharedlib.so.
     * 
* * .opencensus.proto.trace.v1.TruncatableString module = 1; */ public Builder setModule(io.opencensus.proto.trace.v1.TruncatableString value) { if (moduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } module_ = value; } else { moduleBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * TODO: document the meaning of this field.
     * For example: main binary, kernel modules, and dynamic libraries
     * such as libc.so, sharedlib.so.
     * 
* * .opencensus.proto.trace.v1.TruncatableString module = 1; */ public Builder setModule( io.opencensus.proto.trace.v1.TruncatableString.Builder builderForValue) { if (moduleBuilder_ == null) { module_ = builderForValue.build(); } else { moduleBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * TODO: document the meaning of this field.
     * For example: main binary, kernel modules, and dynamic libraries
     * such as libc.so, sharedlib.so.
     * 
* * .opencensus.proto.trace.v1.TruncatableString module = 1; */ public Builder mergeModule(io.opencensus.proto.trace.v1.TruncatableString value) { if (moduleBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && module_ != null && module_ != io.opencensus.proto.trace.v1.TruncatableString.getDefaultInstance()) { getModuleBuilder().mergeFrom(value); } else { module_ = value; } } else { moduleBuilder_.mergeFrom(value); } if (module_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     * TODO: document the meaning of this field.
     * For example: main binary, kernel modules, and dynamic libraries
     * such as libc.so, sharedlib.so.
     * 
* * .opencensus.proto.trace.v1.TruncatableString module = 1; */ public Builder clearModule() { bitField0_ = (bitField0_ & ~0x00000001); module_ = null; if (moduleBuilder_ != null) { moduleBuilder_.dispose(); moduleBuilder_ = null; } onChanged(); return this; } /** *
     * TODO: document the meaning of this field.
     * For example: main binary, kernel modules, and dynamic libraries
     * such as libc.so, sharedlib.so.
     * 
* * .opencensus.proto.trace.v1.TruncatableString module = 1; */ public io.opencensus.proto.trace.v1.TruncatableString.Builder getModuleBuilder() { bitField0_ |= 0x00000001; onChanged(); return getModuleFieldBuilder().getBuilder(); } /** *
     * TODO: document the meaning of this field.
     * For example: main binary, kernel modules, and dynamic libraries
     * such as libc.so, sharedlib.so.
     * 
* * .opencensus.proto.trace.v1.TruncatableString module = 1; */ public io.opencensus.proto.trace.v1.TruncatableStringOrBuilder getModuleOrBuilder() { if (moduleBuilder_ != null) { return moduleBuilder_.getMessageOrBuilder(); } else { return module_ == null ? io.opencensus.proto.trace.v1.TruncatableString.getDefaultInstance() : module_; } } /** *
     * TODO: document the meaning of this field.
     * For example: main binary, kernel modules, and dynamic libraries
     * such as libc.so, sharedlib.so.
     * 
* * .opencensus.proto.trace.v1.TruncatableString module = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.opencensus.proto.trace.v1.TruncatableString, io.opencensus.proto.trace.v1.TruncatableString.Builder, io.opencensus.proto.trace.v1.TruncatableStringOrBuilder> getModuleFieldBuilder() { if (moduleBuilder_ == null) { moduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.opencensus.proto.trace.v1.TruncatableString, io.opencensus.proto.trace.v1.TruncatableString.Builder, io.opencensus.proto.trace.v1.TruncatableStringOrBuilder>( getModule(), getParentForChildren(), isClean()); module_ = null; } return moduleBuilder_; } private io.opencensus.proto.trace.v1.TruncatableString buildId_; private com.google.protobuf.SingleFieldBuilderV3< io.opencensus.proto.trace.v1.TruncatableString, io.opencensus.proto.trace.v1.TruncatableString.Builder, io.opencensus.proto.trace.v1.TruncatableStringOrBuilder> buildIdBuilder_; /** *
     * A unique identifier for the module, usually a hash of its
     * contents.
     * 
* * .opencensus.proto.trace.v1.TruncatableString build_id = 2; * @return Whether the buildId field is set. */ public boolean hasBuildId() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * A unique identifier for the module, usually a hash of its
     * contents.
     * 
* * .opencensus.proto.trace.v1.TruncatableString build_id = 2; * @return The buildId. */ public io.opencensus.proto.trace.v1.TruncatableString getBuildId() { if (buildIdBuilder_ == null) { return buildId_ == null ? io.opencensus.proto.trace.v1.TruncatableString.getDefaultInstance() : buildId_; } else { return buildIdBuilder_.getMessage(); } } /** *
     * A unique identifier for the module, usually a hash of its
     * contents.
     * 
* * .opencensus.proto.trace.v1.TruncatableString build_id = 2; */ public Builder setBuildId(io.opencensus.proto.trace.v1.TruncatableString value) { if (buildIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } buildId_ = value; } else { buildIdBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * A unique identifier for the module, usually a hash of its
     * contents.
     * 
* * .opencensus.proto.trace.v1.TruncatableString build_id = 2; */ public Builder setBuildId( io.opencensus.proto.trace.v1.TruncatableString.Builder builderForValue) { if (buildIdBuilder_ == null) { buildId_ = builderForValue.build(); } else { buildIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * A unique identifier for the module, usually a hash of its
     * contents.
     * 
* * .opencensus.proto.trace.v1.TruncatableString build_id = 2; */ public Builder mergeBuildId(io.opencensus.proto.trace.v1.TruncatableString value) { if (buildIdBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && buildId_ != null && buildId_ != io.opencensus.proto.trace.v1.TruncatableString.getDefaultInstance()) { getBuildIdBuilder().mergeFrom(value); } else { buildId_ = value; } } else { buildIdBuilder_.mergeFrom(value); } if (buildId_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
     * A unique identifier for the module, usually a hash of its
     * contents.
     * 
* * .opencensus.proto.trace.v1.TruncatableString build_id = 2; */ public Builder clearBuildId() { bitField0_ = (bitField0_ & ~0x00000002); buildId_ = null; if (buildIdBuilder_ != null) { buildIdBuilder_.dispose(); buildIdBuilder_ = null; } onChanged(); return this; } /** *
     * A unique identifier for the module, usually a hash of its
     * contents.
     * 
* * .opencensus.proto.trace.v1.TruncatableString build_id = 2; */ public io.opencensus.proto.trace.v1.TruncatableString.Builder getBuildIdBuilder() { bitField0_ |= 0x00000002; onChanged(); return getBuildIdFieldBuilder().getBuilder(); } /** *
     * A unique identifier for the module, usually a hash of its
     * contents.
     * 
* * .opencensus.proto.trace.v1.TruncatableString build_id = 2; */ public io.opencensus.proto.trace.v1.TruncatableStringOrBuilder getBuildIdOrBuilder() { if (buildIdBuilder_ != null) { return buildIdBuilder_.getMessageOrBuilder(); } else { return buildId_ == null ? io.opencensus.proto.trace.v1.TruncatableString.getDefaultInstance() : buildId_; } } /** *
     * A unique identifier for the module, usually a hash of its
     * contents.
     * 
* * .opencensus.proto.trace.v1.TruncatableString build_id = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.opencensus.proto.trace.v1.TruncatableString, io.opencensus.proto.trace.v1.TruncatableString.Builder, io.opencensus.proto.trace.v1.TruncatableStringOrBuilder> getBuildIdFieldBuilder() { if (buildIdBuilder_ == null) { buildIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.opencensus.proto.trace.v1.TruncatableString, io.opencensus.proto.trace.v1.TruncatableString.Builder, io.opencensus.proto.trace.v1.TruncatableStringOrBuilder>( getBuildId(), getParentForChildren(), isClean()); buildId_ = null; } return buildIdBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:opencensus.proto.trace.v1.Module) } // @@protoc_insertion_point(class_scope:opencensus.proto.trace.v1.Module) private static final io.opencensus.proto.trace.v1.Module DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.opencensus.proto.trace.v1.Module(); } public static io.opencensus.proto.trace.v1.Module getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Module parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.opencensus.proto.trace.v1.Module getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy