Class HttpTarget.HeaderOverride (2.35.0)

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

Wraps the Header object.

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

Static Fields

HEADER_FIELD_NUMBER

public static final int HEADER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static HttpTarget.HeaderOverride getDefaultInstance()
Returns
TypeDescription
HttpTarget.HeaderOverride

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static HttpTarget.HeaderOverride.Builder newBuilder()
Returns
TypeDescription
HttpTarget.HeaderOverride.Builder

newBuilder(HttpTarget.HeaderOverride prototype)

public static HttpTarget.HeaderOverride.Builder newBuilder(HttpTarget.HeaderOverride prototype)
Parameter
NameDescription
prototypeHttpTarget.HeaderOverride
Returns
TypeDescription
HttpTarget.HeaderOverride.Builder

parseDelimitedFrom(InputStream input)

public static HttpTarget.HeaderOverride parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HttpTarget.HeaderOverride
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpTarget.HeaderOverride parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpTarget.HeaderOverride
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static HttpTarget.HeaderOverride parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
HttpTarget.HeaderOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HttpTarget.HeaderOverride parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpTarget.HeaderOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HttpTarget.HeaderOverride parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HttpTarget.HeaderOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HttpTarget.HeaderOverride parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpTarget.HeaderOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HttpTarget.HeaderOverride parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HttpTarget.HeaderOverride
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpTarget.HeaderOverride parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpTarget.HeaderOverride
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static HttpTarget.HeaderOverride parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HttpTarget.HeaderOverride
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpTarget.HeaderOverride parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpTarget.HeaderOverride
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static HttpTarget.HeaderOverride parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HttpTarget.HeaderOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HttpTarget.HeaderOverride parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpTarget.HeaderOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public HttpTarget.HeaderOverride getDefaultInstanceForType()
Returns
TypeDescription
HttpTarget.HeaderOverride

getHeader()

public HttpTarget.Header getHeader()

header embodying a key and a value.

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

Returns
TypeDescription
HttpTarget.Header

The header.

getHeaderOrBuilder()

public HttpTarget.HeaderOrBuilder getHeaderOrBuilder()

header embodying a key and a value.

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

Returns
TypeDescription
HttpTarget.HeaderOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasHeader()

public boolean hasHeader()

header embodying a key and a value.

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

Returns
TypeDescription
boolean

Whether the header field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public HttpTarget.HeaderOverride.Builder newBuilderForType()
Returns
TypeDescription
HttpTarget.HeaderOverride.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HttpTarget.HeaderOverride.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
HttpTarget.HeaderOverride.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public HttpTarget.HeaderOverride.Builder toBuilder()
Returns
TypeDescription
HttpTarget.HeaderOverride.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException