Class RequestMetadata.Builder (0.1.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RequestMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RequestMetadata.Builder
Overrides

build()

public RequestMetadata build()
Returns
TypeDescription
RequestMetadata

buildPartial()

public RequestMetadata buildPartial()
Returns
TypeDescription
RequestMetadata

clear()

public RequestMetadata.Builder clear()
Returns
TypeDescription
RequestMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RequestMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RequestMetadata.Builder
Overrides

clearHeaders()

public RequestMetadata.Builder clearHeaders()

The HTTP headers of the ad request.

.google.protobuf.Struct headers = 1;

Returns
TypeDescription
RequestMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RequestMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RequestMetadata.Builder
Overrides

clone()

public RequestMetadata.Builder clone()
Returns
TypeDescription
RequestMetadata.Builder
Overrides

getDefaultInstanceForType()

public RequestMetadata getDefaultInstanceForType()
Returns
TypeDescription
RequestMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHeaders()

public Struct getHeaders()

The HTTP headers of the ad request.

.google.protobuf.Struct headers = 1;

Returns
TypeDescription
Struct

The headers.

getHeadersBuilder()

public Struct.Builder getHeadersBuilder()

The HTTP headers of the ad request.

.google.protobuf.Struct headers = 1;

Returns
TypeDescription
Builder

getHeadersOrBuilder()

public StructOrBuilder getHeadersOrBuilder()

The HTTP headers of the ad request.

.google.protobuf.Struct headers = 1;

Returns
TypeDescription
StructOrBuilder

hasHeaders()

public boolean hasHeaders()

The HTTP headers of the ad request.

.google.protobuf.Struct headers = 1;

Returns
TypeDescription
boolean

Whether the headers field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RequestMetadata other)

public RequestMetadata.Builder mergeFrom(RequestMetadata other)
Parameter
NameDescription
otherRequestMetadata
Returns
TypeDescription
RequestMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RequestMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestMetadata.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RequestMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueStruct
Returns
TypeDescription
RequestMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RequestMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RequestMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RequestMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueStruct
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
RequestMetadata.Builder

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

public RequestMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RequestMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RequestMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RequestMetadata.Builder
Overrides