Class HttpTarget.HeaderOverride (2.53.0)

public static final class HttpTarget.HeaderOverride extends GeneratedMessageV3 implements HttpTarget.HeaderOverrideOrBuilder

Wraps the Header object.

Protobuf type google.cloud.tasks.v2beta2.HttpTarget.HeaderOverride

Static Fields

HEADER_FIELD_NUMBER

public static final int HEADER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HttpTarget.HeaderOverride getDefaultInstance()
Returns
Type Description
HttpTarget.HeaderOverride

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static HttpTarget.HeaderOverride.Builder newBuilder()
Returns
Type Description
HttpTarget.HeaderOverride.Builder

newBuilder(HttpTarget.HeaderOverride prototype)

public static HttpTarget.HeaderOverride.Builder newBuilder(HttpTarget.HeaderOverride prototype)
Parameter
Name Description
prototype HttpTarget.HeaderOverride
Returns
Type Description
HttpTarget.HeaderOverride.Builder

parseDelimitedFrom(InputStream input)

public static HttpTarget.HeaderOverride parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HttpTarget.HeaderOverride
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpTarget.HeaderOverride parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpTarget.HeaderOverride
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HttpTarget.HeaderOverride parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HttpTarget.HeaderOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HttpTarget.HeaderOverride parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpTarget.HeaderOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HttpTarget.HeaderOverride parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HttpTarget.HeaderOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HttpTarget.HeaderOverride parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpTarget.HeaderOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HttpTarget.HeaderOverride parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HttpTarget.HeaderOverride
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpTarget.HeaderOverride parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpTarget.HeaderOverride
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HttpTarget.HeaderOverride parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HttpTarget.HeaderOverride
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpTarget.HeaderOverride parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpTarget.HeaderOverride
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HttpTarget.HeaderOverride parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HttpTarget.HeaderOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HttpTarget.HeaderOverride parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpTarget.HeaderOverride
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HttpTarget.HeaderOverride> parser()
Returns
Type Description
Parser<HeaderOverride>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public HttpTarget.HeaderOverride getDefaultInstanceForType()
Returns
Type Description
HttpTarget.HeaderOverride

getHeader()

public HttpTarget.Header getHeader()

header embodying a key and a value.

.google.cloud.tasks.v2beta2.HttpTarget.Header header = 1;

Returns
Type Description
HttpTarget.Header

The header.

getHeaderOrBuilder()

public HttpTarget.HeaderOrBuilder getHeaderOrBuilder()

header embodying a key and a value.

.google.cloud.tasks.v2beta2.HttpTarget.Header header = 1;

Returns
Type Description
HttpTarget.HeaderOrBuilder

getParserForType()

public Parser<HttpTarget.HeaderOverride> getParserForType()
Returns
Type Description
Parser<HeaderOverride>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasHeader()

public boolean hasHeader()

header embodying a key and a value.

.google.cloud.tasks.v2beta2.HttpTarget.Header header = 1;

Returns
Type Description
boolean

Whether the header field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public HttpTarget.HeaderOverride.Builder newBuilderForType()
Returns
Type Description
HttpTarget.HeaderOverride.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HttpTarget.HeaderOverride.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HttpTarget.HeaderOverride.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public HttpTarget.HeaderOverride.Builder toBuilder()
Returns
Type Description
HttpTarget.HeaderOverride.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException