Class HttpTarget.HeaderOverride.Builder (2.42.0)

public static final class HttpTarget.HeaderOverride.Builder extends GeneratedMessageV3.Builder<HttpTarget.HeaderOverride.Builder> implements HttpTarget.HeaderOverrideOrBuilder

Wraps the Header object.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HttpTarget.HeaderOverride.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HttpTarget.HeaderOverride.Builder
Overrides

build()

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

buildPartial()

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

clear()

public HttpTarget.HeaderOverride.Builder clear()
Returns
Type Description
HttpTarget.HeaderOverride.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HttpTarget.HeaderOverride.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HttpTarget.HeaderOverride.Builder
Overrides

clearHeader()

public HttpTarget.HeaderOverride.Builder clearHeader()

header embodying a key and a value.

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

Returns
Type Description
HttpTarget.HeaderOverride.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public HttpTarget.HeaderOverride.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HttpTarget.HeaderOverride.Builder
Overrides

clone()

public HttpTarget.HeaderOverride.Builder clone()
Returns
Type Description
HttpTarget.HeaderOverride.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHeader()

public HttpTarget.Header getHeader()

header embodying a key and a value.

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

Returns
Type Description
HttpTarget.Header

The header.

getHeaderBuilder()

public HttpTarget.Header.Builder getHeaderBuilder()

header embodying a key and a value.

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

Returns
Type Description
HttpTarget.Header.Builder

getHeaderOrBuilder()

public HttpTarget.HeaderOrBuilder getHeaderOrBuilder()

header embodying a key and a value.

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

Returns
Type Description
HttpTarget.HeaderOrBuilder

hasHeader()

public boolean hasHeader()

header embodying a key and a value.

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

Returns
Type Description
boolean

Whether the header field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HttpTarget.HeaderOverride other)

public HttpTarget.HeaderOverride.Builder mergeFrom(HttpTarget.HeaderOverride other)
Parameter
Name Description
other HttpTarget.HeaderOverride
Returns
Type Description
HttpTarget.HeaderOverride.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HttpTarget.HeaderOverride.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpTarget.HeaderOverride.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public HttpTarget.HeaderOverride.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HttpTarget.HeaderOverride.Builder
Overrides

mergeHeader(HttpTarget.Header value)

public HttpTarget.HeaderOverride.Builder mergeHeader(HttpTarget.Header value)

header embodying a key and a value.

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

Parameter
Name Description
value HttpTarget.Header
Returns
Type Description
HttpTarget.HeaderOverride.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HttpTarget.HeaderOverride.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HttpTarget.HeaderOverride.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public HttpTarget.HeaderOverride.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HttpTarget.HeaderOverride.Builder
Overrides

setHeader(HttpTarget.Header value)

public HttpTarget.HeaderOverride.Builder setHeader(HttpTarget.Header value)

header embodying a key and a value.

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

Parameter
Name Description
value HttpTarget.Header
Returns
Type Description
HttpTarget.HeaderOverride.Builder

setHeader(HttpTarget.Header.Builder builderForValue)

public HttpTarget.HeaderOverride.Builder setHeader(HttpTarget.Header.Builder builderForValue)

header embodying a key and a value.

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

Parameter
Name Description
builderForValue HttpTarget.Header.Builder
Returns
Type Description
HttpTarget.HeaderOverride.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HttpTarget.HeaderOverride.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HttpTarget.HeaderOverride.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HttpTarget.HeaderOverride.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HttpTarget.HeaderOverride.Builder
Overrides