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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AdRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public AdRequest buildPartial()
Returns
clear()
public AdRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AdRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AdRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public AdRequest.Builder clearRequestMetadata()
The request metadata used to make the ad request.
.google.cloud.video.stitcher.v1.RequestMetadata request_metadata = 2;
Returns
public AdRequest.Builder clearResponseMetadata()
The response metadata received from the ad request.
.google.cloud.video.stitcher.v1.ResponseMetadata response_metadata = 3;
Returns
clearUri()
public AdRequest.Builder clearUri()
The ad tag URI processed with integrated macros.
string uri = 1;
Returns
clone()
public AdRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AdRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public RequestMetadata getRequestMetadata()
The request metadata used to make the ad request.
.google.cloud.video.stitcher.v1.RequestMetadata request_metadata = 2;
Returns
public RequestMetadata.Builder getRequestMetadataBuilder()
The request metadata used to make the ad request.
.google.cloud.video.stitcher.v1.RequestMetadata request_metadata = 2;
Returns
public RequestMetadataOrBuilder getRequestMetadataOrBuilder()
The request metadata used to make the ad request.
.google.cloud.video.stitcher.v1.RequestMetadata request_metadata = 2;
Returns
public ResponseMetadata getResponseMetadata()
The response metadata received from the ad request.
.google.cloud.video.stitcher.v1.ResponseMetadata response_metadata = 3;
Returns
public ResponseMetadata.Builder getResponseMetadataBuilder()
The response metadata received from the ad request.
.google.cloud.video.stitcher.v1.ResponseMetadata response_metadata = 3;
Returns
public ResponseMetadataOrBuilder getResponseMetadataOrBuilder()
The response metadata received from the ad request.
.google.cloud.video.stitcher.v1.ResponseMetadata response_metadata = 3;
Returns
getUri()
The ad tag URI processed with integrated macros.
string uri = 1;
Returns
getUriBytes()
public ByteString getUriBytes()
The ad tag URI processed with integrated macros.
string uri = 1;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AdRequest other)
public AdRequest.Builder mergeFrom(AdRequest other)
Parameter
Returns
public AdRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AdRequest.Builder mergeFrom(Message other)
Parameter
Returns
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;
Parameter
Returns
public AdRequest.Builder mergeResponseMetadata(ResponseMetadata value)
The response metadata received from the ad request.
.google.cloud.video.stitcher.v1.ResponseMetadata response_metadata = 3;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AdRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AdRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AdRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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;
Parameter
Returns
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;
Parameter
Returns
public AdRequest.Builder setResponseMetadata(ResponseMetadata value)
The response metadata received from the ad request.
.google.cloud.video.stitcher.v1.ResponseMetadata response_metadata = 3;
Parameter
Returns
public AdRequest.Builder setResponseMetadata(ResponseMetadata.Builder builderForValue)
The response metadata received from the ad request.
.google.cloud.video.stitcher.v1.ResponseMetadata response_metadata = 3;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final AdRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
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.
|
Returns