public interface SpecContentsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContents()
public abstract ByteString getContents()Required. The contents of the spec.
bytes contents = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The contents. |
getMimeType()
public abstract String getMimeType()Required. The mime type of the content for example application/json, application/yaml, application/wsdl etc.
string mime_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The mimeType. |
getMimeTypeBytes()
public abstract ByteString getMimeTypeBytes()Required. The mime type of the content for example application/json, application/yaml, application/wsdl etc.
string mime_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mimeType. |