Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commented java options in helloworld.proto #329

Merged
merged 3 commits into from
Jan 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion examples/protos/helloworld.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,19 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// This line is required, as it specifies the version of the .proto file format
syntax = "proto3";

// These are language-specific directives, optional but common in grpc .proto files.
// Specifically for java code generation in this case - LabVIEW doesn't care about them.
// For LabVIEW-only projects, they can be removed, but may be useful when interoperating with other languages.
// As of now, grpc-labview has no such langaguage directives defined for LabVIEW.
option java_multiple_files = true;
option java_package = "io.grpc.examples.helloworld";
option java_outer_classname = "HelloWorldProto";
option objc_class_prefix = "HLW";

// This option provides namespace scoping for the items in this file
package helloworld;

// The greeting service definition.
Expand All @@ -35,4 +41,4 @@ message HelloRequest {
// The response message containing the greetings
message HelloReply {
string message = 1;
}
}
Loading