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.46
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: opencensus/proto/trace/v1/trace.proto

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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Module( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { io.opencensus.proto.trace.v1.TruncatableString.Builder subBuilder = null; if (module_ != null) { subBuilder = module_.toBuilder(); } module_ = input.readMessage(io.opencensus.proto.trace.v1.TruncatableString.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(module_); module_ = subBuilder.buildPartial(); } break; } case 18: { io.opencensus.proto.trace.v1.TruncatableString.Builder subBuilder = null; if (buildId_ != null) { subBuilder = buildId_.toBuilder(); } buildId_ = input.readMessage(io.opencensus.proto.trace.v1.TruncatableString.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(buildId_); buildId_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } 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); } 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 module_ != null; } /** *
   * 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 getModule(); } 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 buildId_ != null; } /** *
   * 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 getBuildId(); } 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 (module_ != null) { output.writeMessage(1, getModule()); } if (buildId_ != null) { output.writeMessage(2, getBuildId()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (module_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getModule()); } if (buildId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getBuildId()); } size += unknownFields.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (moduleBuilder_ == null) { module_ = null; } else { module_ = null; moduleBuilder_ = null; } if (buildIdBuilder_ == null) { buildId_ = null; } else { buildId_ = null; 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 (moduleBuilder_ == null) { result.module_ = module_; } else { result.module_ = moduleBuilder_.build(); } if (buildIdBuilder_ == null) { result.buildId_ = buildId_; } else { result.buildId_ = buildIdBuilder_.build(); } onBuilt(); return result; } @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.unknownFields); 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 { io.opencensus.proto.trace.v1.Module parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.opencensus.proto.trace.v1.Module) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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 moduleBuilder_ != null || module_ != null; } /** *
     * 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; onChanged(); } else { moduleBuilder_.setMessage(value); } 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(); onChanged(); } else { moduleBuilder_.setMessage(builderForValue.build()); } 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 (module_ != null) { module_ = io.opencensus.proto.trace.v1.TruncatableString.newBuilder(module_).mergeFrom(value).buildPartial(); } else { module_ = value; } onChanged(); } else { moduleBuilder_.mergeFrom(value); } 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() { if (moduleBuilder_ == null) { module_ = null; onChanged(); } else { module_ = null; moduleBuilder_ = null; } 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() { 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 buildIdBuilder_ != null || buildId_ != null; } /** *
     * 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; onChanged(); } else { buildIdBuilder_.setMessage(value); } 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(); onChanged(); } else { buildIdBuilder_.setMessage(builderForValue.build()); } 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 (buildId_ != null) { buildId_ = io.opencensus.proto.trace.v1.TruncatableString.newBuilder(buildId_).mergeFrom(value).buildPartial(); } else { buildId_ = value; } onChanged(); } else { buildIdBuilder_.mergeFrom(value); } 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() { if (buildIdBuilder_ == null) { buildId_ = null; onChanged(); } else { buildId_ = null; buildIdBuilder_ = null; } 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() { 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 { return new Module(input, extensionRegistry); } }; 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 - 2024 Weber Informatics LLC | Privacy Policy