Interface SpecContentsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SpecContents, SpecContents.Builder

@Generated public interface SpecContentsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.

    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

    • getContents

      com.google.protobuf.ByteString getContents()
       Required. The contents of the spec.
       
      bytes contents = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The contents.
    • getMimeType

      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:
      The mimeType.
    • getMimeTypeBytes

      com.google.protobuf.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:
      The bytes for mimeType.