/** * * * <pre> * For example: main binary, kernel modules, and dynamic libraries * such as libc.so, sharedlib.so (up to 256 bytes). * </pre> * * <code>.google.devtools.cloudtrace.v2.TruncatableString module = 1;</code> */ public com.google.devtools.cloudtrace.v2.TruncatableStringOrBuilder getModuleOrBuilder() { return getModule(); }
@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 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; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.devtools.cloudtrace.v2.Module)) { return super.equals(obj); } com.google.devtools.cloudtrace.v2.Module other = (com.google.devtools.cloudtrace.v2.Module) obj; boolean result = true; result = result && (hasModule() == other.hasModule()); if (hasModule()) { result = result && getModule().equals(other.getModule()); } result = result && (hasBuildId() == other.hasBuildId()); if (hasBuildId()) { result = result && getBuildId().equals(other.getBuildId()); } result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(com.google.devtools.cloudtrace.v2.Module other) { if (other == com.google.devtools.cloudtrace.v2.Module.getDefaultInstance()) return this; if (other.hasModule()) { mergeModule(other.getModule()); } if (other.hasBuildId()) { mergeBuildId(other.getBuildId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * For example: main binary, kernel modules, and dynamic libraries * such as libc.so, sharedlib.so (up to 256 bytes). * </pre> * * <code>.google.devtools.cloudtrace.v2.TruncatableString module = 1;</code> */ public com.google.devtools.cloudtrace.v2.TruncatableStringOrBuilder getModuleOrBuilder() { return getModule(); }
@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 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; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.devtools.cloudtrace.v2.Module)) { return super.equals(obj); } com.google.devtools.cloudtrace.v2.Module other = (com.google.devtools.cloudtrace.v2.Module) obj; boolean result = true; result = result && (hasModule() == other.hasModule()); if (hasModule()) { result = result && getModule().equals(other.getModule()); } result = result && (hasBuildId() == other.hasBuildId()); if (hasBuildId()) { result = result && getBuildId().equals(other.getBuildId()); } result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(com.google.devtools.cloudtrace.v2.Module other) { if (other == com.google.devtools.cloudtrace.v2.Module.getDefaultInstance()) return this; if (other.hasModule()) { mergeModule(other.getModule()); } if (other.hasBuildId()) { mergeBuildId(other.getBuildId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }