public static final class HttpBody.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HttpBody.Builder> implements HttpBodyOrBuilder
yamcs.api.HttpBody| Modifier and Type | Method and Description |
|---|---|
HttpBody.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HttpBody |
build() |
HttpBody |
buildPartial() |
HttpBody.Builder |
clear() |
HttpBody.Builder |
clearContentType()
The Content-Type header value for this body.
|
HttpBody.Builder |
clearData()
The body as raw binary
optional bytes data = 3; |
HttpBody.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HttpBody.Builder |
clearFilename()
If set, a Content-Disposition header is added
to the response.
|
HttpBody.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HttpBody.Builder |
clone() |
String |
getContentType()
The Content-Type header value for this body.
|
com.google.protobuf.ByteString |
getContentTypeBytes()
The Content-Type header value for this body.
|
com.google.protobuf.ByteString |
getData()
The body as raw binary
optional bytes data = 3; |
HttpBody |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilename()
If set, a Content-Disposition header is added
to the response.
|
com.google.protobuf.ByteString |
getFilenameBytes()
If set, a Content-Disposition header is added
to the response.
|
boolean |
hasContentType()
The Content-Type header value for this body.
|
boolean |
hasData()
The body as raw binary
optional bytes data = 3; |
boolean |
hasFilename()
If set, a Content-Disposition header is added
to the response.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HttpBody.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HttpBody.Builder |
mergeFrom(HttpBody other) |
HttpBody.Builder |
mergeFrom(com.google.protobuf.Message other) |
HttpBody.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HttpBody.Builder |
setContentType(String value)
The Content-Type header value for this body.
|
HttpBody.Builder |
setContentTypeBytes(com.google.protobuf.ByteString value)
The Content-Type header value for this body.
|
HttpBody.Builder |
setData(com.google.protobuf.ByteString value)
The body as raw binary
optional bytes data = 3; |
HttpBody.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HttpBody.Builder |
setFilename(String value)
If set, a Content-Disposition header is added
to the response.
|
HttpBody.Builder |
setFilenameBytes(com.google.protobuf.ByteString value)
If set, a Content-Disposition header is added
to the response.
|
HttpBody.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HttpBody.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HttpBody.Builder>public HttpBody.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HttpBody.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HttpBody.Builder>public HttpBody getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HttpBody build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HttpBody buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HttpBody.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HttpBody.Builder>public HttpBody.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpBody.Builder>public HttpBody.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpBody.Builder>public HttpBody.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HttpBody.Builder>public HttpBody.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpBody.Builder>public HttpBody.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpBody.Builder>public HttpBody.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpBody.Builder>public HttpBody.Builder mergeFrom(HttpBody other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HttpBody.Builder>public HttpBody.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpBody.Builder>IOExceptionpublic boolean hasContentType()
The Content-Type header value for this body. If unspecified, defaults to application/octet-stream
optional string content_type = 1;hasContentType in interface HttpBodyOrBuilderpublic String getContentType()
The Content-Type header value for this body. If unspecified, defaults to application/octet-stream
optional string content_type = 1;getContentType in interface HttpBodyOrBuilderpublic com.google.protobuf.ByteString getContentTypeBytes()
The Content-Type header value for this body. If unspecified, defaults to application/octet-stream
optional string content_type = 1;getContentTypeBytes in interface HttpBodyOrBuilderpublic HttpBody.Builder setContentType(String value)
The Content-Type header value for this body. If unspecified, defaults to application/octet-stream
optional string content_type = 1;public HttpBody.Builder clearContentType()
The Content-Type header value for this body. If unspecified, defaults to application/octet-stream
optional string content_type = 1;public HttpBody.Builder setContentTypeBytes(com.google.protobuf.ByteString value)
The Content-Type header value for this body. If unspecified, defaults to application/octet-stream
optional string content_type = 1;public 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;hasFilename in interface HttpBodyOrBuilderpublic 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;getFilename in interface HttpBodyOrBuilderpublic com.google.protobuf.ByteString getFilenameBytes()
If set, a Content-Disposition header is added to the response. Weg agents use this to trigger a download.
optional string filename = 2;getFilenameBytes in interface HttpBodyOrBuilderpublic HttpBody.Builder setFilename(String value)
If set, a Content-Disposition header is added to the response. Weg agents use this to trigger a download.
optional string filename = 2;public HttpBody.Builder clearFilename()
If set, a Content-Disposition header is added to the response. Weg agents use this to trigger a download.
optional string filename = 2;public HttpBody.Builder setFilenameBytes(com.google.protobuf.ByteString value)
If set, a Content-Disposition header is added to the response. Weg agents use this to trigger a download.
optional string filename = 2;public boolean hasData()
The body as raw binary
optional bytes data = 3;hasData in interface HttpBodyOrBuilderpublic com.google.protobuf.ByteString getData()
The body as raw binary
optional bytes data = 3;getData in interface HttpBodyOrBuilderpublic HttpBody.Builder setData(com.google.protobuf.ByteString value)
The body as raw binary
optional bytes data = 3;public HttpBody.Builder clearData()
The body as raw binary
optional bytes data = 3;public final HttpBody.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpBody.Builder>public final HttpBody.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpBody.Builder>Copyright © 2019 Space Applications Services. All rights reserved.