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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public RequestMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public RequestMetadata build()
Returns
public RequestMetadata buildPartial()
Returns
public RequestMetadata.Builder clear()
Returns
Overrides
public RequestMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public RequestMetadata.Builder clearHeaders()
The HTTP headers of the ad request.
.google.protobuf.Struct headers = 1;
Returns
public RequestMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public RequestMetadata.Builder clone()
Returns
Overrides
public RequestMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Struct getHeaders()
The HTTP headers of the ad request.
.google.protobuf.Struct headers = 1;
Returns
Type | Description |
Struct | The headers.
|
public Struct.Builder getHeadersBuilder()
The HTTP headers of the ad request.
.google.protobuf.Struct headers = 1;
Returns
public StructOrBuilder getHeadersOrBuilder()
The HTTP headers of the ad request.
.google.protobuf.Struct headers = 1;
Returns
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public RequestMetadata.Builder mergeFrom(RequestMetadata other)
Parameter
Returns
public RequestMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public RequestMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public RequestMetadata.Builder mergeHeaders(Struct value)
The HTTP headers of the ad request.
.google.protobuf.Struct headers = 1;
Parameter
Returns
public final RequestMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public RequestMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public RequestMetadata.Builder setHeaders(Struct value)
The HTTP headers of the ad request.
.google.protobuf.Struct headers = 1;
Parameter
Returns
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
public RequestMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final RequestMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides