
org.yamcs.api.HttpBodyOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yamcs-api Show documentation
Show all versions of yamcs-api Show documentation
Used by external clients to communicate with Yamcs
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yamcs/api/httpbody.proto
package org.yamcs.api;
public interface HttpBodyOrBuilder extends
// @@protoc_insertion_point(interface_extends:yamcs.api.HttpBody)
com.google.protobuf.MessageOrBuilder {
/**
*
* The Content-Type header value for this body.
* If unspecified, defaults to application/octet-stream
*
*
* optional string content_type = 1;
* @return Whether the contentType field is set.
*/
boolean hasContentType();
/**
*
* The Content-Type header value for this body.
* If unspecified, defaults to application/octet-stream
*
*
* optional string content_type = 1;
* @return The contentType.
*/
java.lang.String getContentType();
/**
*
* The Content-Type header value for this body.
* If unspecified, defaults to application/octet-stream
*
*
* optional string content_type = 1;
* @return The bytes for contentType.
*/
com.google.protobuf.ByteString
getContentTypeBytes();
/**
*
* If set, a Content-Disposition header is added
* to the response. Weg agents use this to trigger
* a download.
*
*
* optional string filename = 2;
* @return Whether the filename field is set.
*/
boolean hasFilename();
/**
*
* If set, a Content-Disposition header is added
* to the response. Weg agents use this to trigger
* a download.
*
*
* optional string filename = 2;
* @return The filename.
*/
java.lang.String getFilename();
/**
*
* If set, a Content-Disposition header is added
* to the response. Weg agents use this to trigger
* a download.
*
*
* optional string filename = 2;
* @return The bytes for filename.
*/
com.google.protobuf.ByteString
getFilenameBytes();
/**
*
* The body as raw binary
*
*
* optional bytes data = 3;
* @return Whether the data field is set.
*/
boolean hasData();
/**
*
* The body as raw binary
*
*
* optional bytes data = 3;
* @return The data.
*/
com.google.protobuf.ByteString getData();
/**
*
* Any other metadata (used in multipart/form)
*
*
* map<string, string> metadata = 4;
*/
int getMetadataCount();
/**
*
* Any other metadata (used in multipart/form)
*
*
* map<string, string> metadata = 4;
*/
boolean containsMetadata(
java.lang.String key);
/**
* Use {@link #getMetadataMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getMetadata();
/**
*
* Any other metadata (used in multipart/form)
*
*
* map<string, string> metadata = 4;
*/
java.util.Map
getMetadataMap();
/**
*
* Any other metadata (used in multipart/form)
*
*
* map<string, string> metadata = 4;
*/
java.lang.String getMetadataOrDefault(
java.lang.String key,
java.lang.String defaultValue);
/**
*
* Any other metadata (used in multipart/form)
*
*
* map<string, string> metadata = 4;
*/
java.lang.String getMetadataOrThrow(
java.lang.String key);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy