Interface AssistantContent.ExecutableCodeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AssistantContent.ExecutableCode,AssistantContent.ExecutableCode.Builder
- Enclosing class:
- AssistantContent
public static interface AssistantContent.ExecutableCodeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCode
String getCode()Required. The code content. Currently only supports Python.
string code = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The code.
-
getCodeBytes
com.google.protobuf.ByteString getCodeBytes()Required. The code content. Currently only supports Python.
string code = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for code.
-