Package com.google.protobuf.compiler
Interface PluginProtos.CodeGeneratorResponse.FileOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
PluginProtos.CodeGeneratorResponse.File
,PluginProtos.CodeGeneratorResponse.File.Builder
- Enclosing class:
PluginProtos.CodeGeneratorResponse
-
Method Summary
Modifier and TypeMethodDescriptionoptional string content = 15 [json_name = "content"];
com.google.protobuf.ByteString
optional string content = 15 [json_name = "content"];
optional .google.protobuf.GeneratedCodeInfo generated_code_info = 16 [json_name = "generatedCodeInfo"];
optional .google.protobuf.GeneratedCodeInfo generated_code_info = 16 [json_name = "generatedCodeInfo"];
optional string insertion_point = 2 [json_name = "insertionPoint"];
com.google.protobuf.ByteString
optional string insertion_point = 2 [json_name = "insertionPoint"];
getName()
optional string name = 1 [json_name = "name"];
com.google.protobuf.ByteString
optional string name = 1 [json_name = "name"];
boolean
optional string content = 15 [json_name = "content"];
boolean
optional .google.protobuf.GeneratedCodeInfo generated_code_info = 16 [json_name = "generatedCodeInfo"];
boolean
optional string insertion_point = 2 [json_name = "insertionPoint"];
boolean
hasName()
optional string name = 1 [json_name = "name"];
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()optional string name = 1 [json_name = "name"];
- Returns:
- Whether the name field is set.
-
getName
String getName()optional string name = 1 [json_name = "name"];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()optional string name = 1 [json_name = "name"];
- Returns:
- The bytes for name.
-
hasInsertionPoint
boolean hasInsertionPoint()optional string insertion_point = 2 [json_name = "insertionPoint"];
- Returns:
- Whether the insertionPoint field is set.
-
getInsertionPoint
String getInsertionPoint()optional string insertion_point = 2 [json_name = "insertionPoint"];
- Returns:
- The insertionPoint.
-
getInsertionPointBytes
com.google.protobuf.ByteString getInsertionPointBytes()optional string insertion_point = 2 [json_name = "insertionPoint"];
- Returns:
- The bytes for insertionPoint.
-
hasContent
boolean hasContent()optional string content = 15 [json_name = "content"];
- Returns:
- Whether the content field is set.
-
getContent
String getContent()optional string content = 15 [json_name = "content"];
- Returns:
- The content.
-
getContentBytes
com.google.protobuf.ByteString getContentBytes()optional string content = 15 [json_name = "content"];
- Returns:
- The bytes for content.
-
hasGeneratedCodeInfo
boolean hasGeneratedCodeInfo()optional .google.protobuf.GeneratedCodeInfo generated_code_info = 16 [json_name = "generatedCodeInfo"];
- Returns:
- Whether the generatedCodeInfo field is set.
-
getGeneratedCodeInfo
DescriptorProtos.GeneratedCodeInfo getGeneratedCodeInfo()optional .google.protobuf.GeneratedCodeInfo generated_code_info = 16 [json_name = "generatedCodeInfo"];
- Returns:
- The generatedCodeInfo.
-
getGeneratedCodeInfoOrBuilder
DescriptorProtos.GeneratedCodeInfoOrBuilder getGeneratedCodeInfoOrBuilder()optional .google.protobuf.GeneratedCodeInfo generated_code_info = 16 [json_name = "generatedCodeInfo"];
-