public final class HttpOptions extends GeneratedMessageV3 implements HttpOptionsOrBuilder
Options for sending requests to add-on HTTP endpoints
Protobuf type google.apps.script.type.HttpOptions
Static Fields
public static final int AUTHORIZATION_HEADER_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static HttpOptions getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static HttpOptions.Builder newBuilder()
Returns
newBuilder(HttpOptions prototype)
public static HttpOptions.Builder newBuilder(HttpOptions prototype)
Parameter
Returns
public static HttpOptions parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static HttpOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static HttpOptions parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HttpOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static HttpOptions parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HttpOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HttpOptions parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static HttpOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HttpOptions parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static HttpOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static HttpOptions parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HttpOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<HttpOptions> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
public HttpAuthorizationHeader getAuthorizationHeader()
Configuration for the token sent in the HTTP Authorization header
.google.apps.script.type.HttpAuthorizationHeader authorization_header = 1;
Returns
public int getAuthorizationHeaderValue()
Configuration for the token sent in the HTTP Authorization header
.google.apps.script.type.HttpAuthorizationHeader authorization_header = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for authorizationHeader.
|
getDefaultInstanceForType()
public HttpOptions getDefaultInstanceForType()
Returns
getParserForType()
public Parser<HttpOptions> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public HttpOptions.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HttpOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public HttpOptions.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions