public static final class AdRequest.Builder extends GeneratedMessageV3.Builder<AdRequest.Builder> implements AdRequestOrBuilder
Details of an ad request to an ad server.
Protobuf type google.cloud.video.stitcher.v1.AdRequest
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AdRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public AdRequest buildPartial()
clear()
public AdRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AdRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AdRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AdRequest.Builder clearRequestMetadata()
The request metadata used to make the ad request.
.google.cloud.video.stitcher.v1.RequestMetadata request_metadata = 2;
public AdRequest.Builder clearResponseMetadata()
The response metadata received from the ad request.
.google.cloud.video.stitcher.v1.ResponseMetadata response_metadata = 3;
clearUri()
public AdRequest.Builder clearUri()
The ad tag URI processed with integrated macros.
string uri = 1;
clone()
public AdRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public AdRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public RequestMetadata getRequestMetadata()
The request metadata used to make the ad request.
.google.cloud.video.stitcher.v1.RequestMetadata request_metadata = 2;
public RequestMetadata.Builder getRequestMetadataBuilder()
The request metadata used to make the ad request.
.google.cloud.video.stitcher.v1.RequestMetadata request_metadata = 2;
public RequestMetadataOrBuilder getRequestMetadataOrBuilder()
The request metadata used to make the ad request.
.google.cloud.video.stitcher.v1.RequestMetadata request_metadata = 2;
public ResponseMetadata getResponseMetadata()
The response metadata received from the ad request.
.google.cloud.video.stitcher.v1.ResponseMetadata response_metadata = 3;
public ResponseMetadata.Builder getResponseMetadataBuilder()
The response metadata received from the ad request.
.google.cloud.video.stitcher.v1.ResponseMetadata response_metadata = 3;
public ResponseMetadataOrBuilder getResponseMetadataOrBuilder()
The response metadata received from the ad request.
.google.cloud.video.stitcher.v1.ResponseMetadata response_metadata = 3;
getUri()
The ad tag URI processed with integrated macros.
string uri = 1;
Returns |
---|
Type | Description |
String | The uri.
|
getUriBytes()
public ByteString getUriBytes()
The ad tag URI processed with integrated macros.
string uri = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for uri.
|
public boolean hasRequestMetadata()
The request metadata used to make the ad request.
.google.cloud.video.stitcher.v1.RequestMetadata request_metadata = 2;
Returns |
---|
Type | Description |
boolean | Whether the requestMetadata field is set.
|
public boolean hasResponseMetadata()
The response metadata received from the ad request.
.google.cloud.video.stitcher.v1.ResponseMetadata response_metadata = 3;
Returns |
---|
Type | Description |
boolean | Whether the responseMetadata field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AdRequest other)
public AdRequest.Builder mergeFrom(AdRequest other)
public AdRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AdRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public AdRequest.Builder mergeRequestMetadata(RequestMetadata value)
The request metadata used to make the ad request.
.google.cloud.video.stitcher.v1.RequestMetadata request_metadata = 2;
public AdRequest.Builder mergeResponseMetadata(ResponseMetadata value)
The response metadata received from the ad request.
.google.cloud.video.stitcher.v1.ResponseMetadata response_metadata = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AdRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AdRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AdRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public AdRequest.Builder setRequestMetadata(RequestMetadata value)
The request metadata used to make the ad request.
.google.cloud.video.stitcher.v1.RequestMetadata request_metadata = 2;
public AdRequest.Builder setRequestMetadata(RequestMetadata.Builder builderForValue)
The request metadata used to make the ad request.
.google.cloud.video.stitcher.v1.RequestMetadata request_metadata = 2;
public AdRequest.Builder setResponseMetadata(ResponseMetadata value)
The response metadata received from the ad request.
.google.cloud.video.stitcher.v1.ResponseMetadata response_metadata = 3;
public AdRequest.Builder setResponseMetadata(ResponseMetadata.Builder builderForValue)
The response metadata received from the ad request.
.google.cloud.video.stitcher.v1.ResponseMetadata response_metadata = 3;
setUnknownFields(UnknownFieldSet unknownFields)
public final AdRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUri(String value)
public AdRequest.Builder setUri(String value)
The ad tag URI processed with integrated macros.
string uri = 1;
Parameter |
---|
Name | Description |
value | String
The uri to set.
|
setUriBytes(ByteString value)
public AdRequest.Builder setUriBytes(ByteString value)
The ad tag URI processed with integrated macros.
string uri = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for uri to set.
|