Class RequestMetadata.Builder (0.48.0)

public static final class RequestMetadata.Builder extends GeneratedMessageV3.Builder<RequestMetadata.Builder> implements RequestMetadataOrBuilder

Metadata for an ad request.

Protobuf type google.cloud.video.stitcher.v1.RequestMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RequestMetadata build()
Returns
Type Description
RequestMetadata

buildPartial()

public RequestMetadata buildPartial()
Returns
Type Description
RequestMetadata

clear()

public RequestMetadata.Builder clear()
Returns
Type Description
RequestMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearHeaders()

public RequestMetadata.Builder clearHeaders()

The HTTP headers of the ad request.

.google.protobuf.Struct headers = 1;

Returns
Type Description
RequestMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public RequestMetadata.Builder clone()
Returns
Type Description
RequestMetadata.Builder
Overrides

getDefaultInstanceForType()

public RequestMetadata getDefaultInstanceForType()
Returns
Type Description
RequestMetadata

getDescriptorForType()

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

getHeaders()

public Struct getHeaders()

The HTTP headers of the ad request.

.google.protobuf.Struct headers = 1;

Returns
Type Description
Struct

The headers.

getHeadersBuilder()

public Struct.Builder getHeadersBuilder()

The HTTP headers of the ad request.

.google.protobuf.Struct headers = 1;

Returns
Type Description
Builder

getHeadersOrBuilder()

public StructOrBuilder getHeadersOrBuilder()

The HTTP headers of the ad request.

.google.protobuf.Struct headers = 1;

Returns
Type Description
StructOrBuilder

hasHeaders()

public boolean hasHeaders()

The HTTP headers of the ad request.

.google.protobuf.Struct headers = 1;

Returns
Type Description
boolean

Whether the headers field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RequestMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeHeaders(Struct value)

public RequestMetadata.Builder mergeHeaders(Struct value)

The HTTP headers of the ad request.

.google.protobuf.Struct headers = 1;

Parameter
Name Description
value Struct
Returns
Type Description
RequestMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setHeaders(Struct value)

public RequestMetadata.Builder setHeaders(Struct value)

The HTTP headers of the ad request.

.google.protobuf.Struct headers = 1;

Parameter
Name Description
value Struct
Returns
Type Description
RequestMetadata.Builder

setHeaders(Struct.Builder builderForValue)

public RequestMetadata.Builder setHeaders(Struct.Builder builderForValue)

The HTTP headers of the ad request.

.google.protobuf.Struct headers = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RequestMetadata.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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