hash = (53 * hash) + getGoPackage().hashCode();
result = result && getGoPackage() .equals(other.getGoPackage());
output.writeString(11, getGoPackage());
.computeStringSize(11, getGoPackage());
/** * <code>optional string go_package = 11;</code> * * <pre> * Sets the Go package where structs generated from this .proto will be * placed. There is no default. * </pre> */ public Builder clearGoPackage() { bitField0_ = (bitField0_ & ~0x00000040); goPackage_ = getDefaultInstance().getGoPackage(); onChanged(); return this; } /**
/** * <pre> * Sets the Go package where structs generated from this .proto will be * placed. If omitted, the Go package will be derived from the following: * - The basename of the package import path, if provided. * - Otherwise, the package statement in the .proto file, if present. * - Otherwise, the basename of the .proto file, without extension. * </pre> * * <code>optional string go_package = 11;</code> */ private void clearGoPackage() { bitField0_ = (bitField0_ & ~0x00000040); goPackage_ = getDefaultInstance().getGoPackage(); } /**
/** * <code>optional string go_package = 11;</code> * * <pre> * Sets the Go package where structs generated from this .proto will be * placed. There is no default. * </pre> */ public Builder clearGoPackage() { bitField0_ = (bitField0_ & ~0x00000020); goPackage_ = getDefaultInstance().getGoPackage(); onChanged(); return this; } /**
/** * <code>optional string go_package = 11;</code> * * <pre> * Sets the Go package where structs generated from this .proto will be * placed. There is no default. * </pre> */ public Builder clearGoPackage() { bitField0_ = (bitField0_ & ~0x00000020); goPackage_ = getDefaultInstance().getGoPackage(); onChanged(); return this; } /**
/** * <pre> * Sets the Go package where structs generated from this .proto will be * placed. If omitted, the Go package will be derived from the following: * - The basename of the package import path, if provided. * - Otherwise, the package statement in the .proto file, if present. * - Otherwise, the basename of the .proto file, without extension. * </pre> * * <code>optional string go_package = 11;</code> */ public java.lang.String getGoPackage() { return instance.getGoPackage(); } /**
/** * <code>optional string go_package = 11;</code> * * <pre> * Sets the Go package where structs generated from this .proto will be * placed. There is no default. * </pre> */ public Builder clearGoPackage() { bitField0_ = (bitField0_ & ~0x00000040); goPackage_ = getDefaultInstance().getGoPackage(); onChanged(); return this; } /**
TypeName getTypeName(ProtoElement elem, boolean isPointer) { String importPath = elem.getFile().getProto().getOptions().getGoPackage(); String elemName = getElemName(elem); return getTypeName(importPath, elemName, isPointer); }
/** * <pre> * Sets the Go package where structs generated from this .proto will be * placed. If omitted, the Go package will be derived from the following: * - The basename of the package import path, if provided. * - Otherwise, the package statement in the .proto file, if present. * - Otherwise, the basename of the .proto file, without extension. * </pre> * * <code>optional string go_package = 11;</code> */ public Builder clearGoPackage() { bitField0_ = (bitField0_ & ~0x00000040); goPackage_ = getDefaultInstance().getGoPackage(); onChanged(); return this; } /**
/** * <code>optional string go_package = 11;</code> * * <pre> * Sets the Go package where structs generated from this .proto will be * placed. There is no default. * </pre> */ public Builder clearGoPackage() { bitField0_ = (bitField0_ & ~0x00000020); goPackage_ = getDefaultInstance().getGoPackage(); onChanged(); return this; } /**