- 0.54.0 (latest)
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.6
- 0.1.2
public static final class ResponseMetadata.Builder extends GeneratedMessageV3.Builder<ResponseMetadata.Builder> implements ResponseMetadataOrBuilder
Metadata for the response of an ad request.
Protobuf type google.cloud.video.stitcher.v1.ResponseMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResponseMetadata.BuilderImplements
ResponseMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResponseMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ResponseMetadata.Builder |
build()
public ResponseMetadata build()
Type | Description |
ResponseMetadata |
buildPartial()
public ResponseMetadata buildPartial()
Type | Description |
ResponseMetadata |
clear()
public ResponseMetadata.Builder clear()
Type | Description |
ResponseMetadata.Builder |
clearBody()
public ResponseMetadata.Builder clearBody()
The body of the response.
string body = 6;
Type | Description |
ResponseMetadata.Builder | This builder for chaining. |
clearDuration()
public ResponseMetadata.Builder clearDuration()
Total time elapsed for the response.
.google.protobuf.Duration duration = 5;
Type | Description |
ResponseMetadata.Builder |
clearError()
public ResponseMetadata.Builder clearError()
Error message received when making the ad request.
string error = 1;
Type | Description |
ResponseMetadata.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ResponseMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ResponseMetadata.Builder |
clearHeaders()
public ResponseMetadata.Builder clearHeaders()
Headers from the response.
.google.protobuf.Struct headers = 2;
Type | Description |
ResponseMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResponseMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ResponseMetadata.Builder |
clearSizeBytes()
public ResponseMetadata.Builder clearSizeBytes()
Size in bytes of the response.
int32 size_bytes = 4;
Type | Description |
ResponseMetadata.Builder | This builder for chaining. |
clearStatusCode()
public ResponseMetadata.Builder clearStatusCode()
Status code for the response.
string status_code = 3;
Type | Description |
ResponseMetadata.Builder | This builder for chaining. |
clone()
public ResponseMetadata.Builder clone()
Type | Description |
ResponseMetadata.Builder |
getBody()
public String getBody()
The body of the response.
string body = 6;
Type | Description |
String | The body. |
getBodyBytes()
public ByteString getBodyBytes()
The body of the response.
string body = 6;
Type | Description |
ByteString | The bytes for body. |
getDefaultInstanceForType()
public ResponseMetadata getDefaultInstanceForType()
Type | Description |
ResponseMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDuration()
public Duration getDuration()
Total time elapsed for the response.
.google.protobuf.Duration duration = 5;
Type | Description |
Duration | The duration. |
getDurationBuilder()
public Duration.Builder getDurationBuilder()
Total time elapsed for the response.
.google.protobuf.Duration duration = 5;
Type | Description |
Builder |
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()
Total time elapsed for the response.
.google.protobuf.Duration duration = 5;
Type | Description |
DurationOrBuilder |
getError()
public String getError()
Error message received when making the ad request.
string error = 1;
Type | Description |
String | The error. |
getErrorBytes()
public ByteString getErrorBytes()
Error message received when making the ad request.
string error = 1;
Type | Description |
ByteString | The bytes for error. |
getHeaders()
public Struct getHeaders()
Headers from the response.
.google.protobuf.Struct headers = 2;
Type | Description |
Struct | The headers. |
getHeadersBuilder()
public Struct.Builder getHeadersBuilder()
Headers from the response.
.google.protobuf.Struct headers = 2;
Type | Description |
Builder |
getHeadersOrBuilder()
public StructOrBuilder getHeadersOrBuilder()
Headers from the response.
.google.protobuf.Struct headers = 2;
Type | Description |
StructOrBuilder |
getSizeBytes()
public int getSizeBytes()
Size in bytes of the response.
int32 size_bytes = 4;
Type | Description |
int | The sizeBytes. |
getStatusCode()
public String getStatusCode()
Status code for the response.
string status_code = 3;
Type | Description |
String | The statusCode. |
getStatusCodeBytes()
public ByteString getStatusCodeBytes()
Status code for the response.
string status_code = 3;
Type | Description |
ByteString | The bytes for statusCode. |
hasDuration()
public boolean hasDuration()
Total time elapsed for the response.
.google.protobuf.Duration duration = 5;
Type | Description |
boolean | Whether the duration field is set. |
hasHeaders()
public boolean hasHeaders()
Headers from the response.
.google.protobuf.Struct headers = 2;
Type | Description |
boolean | Whether the headers field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeDuration(Duration value)
public ResponseMetadata.Builder mergeDuration(Duration value)
Total time elapsed for the response.
.google.protobuf.Duration duration = 5;
Name | Description |
value | Duration |
Type | Description |
ResponseMetadata.Builder |
mergeFrom(ResponseMetadata other)
public ResponseMetadata.Builder mergeFrom(ResponseMetadata other)
Name | Description |
other | ResponseMetadata |
Type | Description |
ResponseMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResponseMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResponseMetadata.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ResponseMetadata.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ResponseMetadata.Builder |
mergeHeaders(Struct value)
public ResponseMetadata.Builder mergeHeaders(Struct value)
Headers from the response.
.google.protobuf.Struct headers = 2;
Name | Description |
value | Struct |
Type | Description |
ResponseMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ResponseMetadata.Builder |
setBody(String value)
public ResponseMetadata.Builder setBody(String value)
The body of the response.
string body = 6;
Name | Description |
value | String The body to set. |
Type | Description |
ResponseMetadata.Builder | This builder for chaining. |
setBodyBytes(ByteString value)
public ResponseMetadata.Builder setBodyBytes(ByteString value)
The body of the response.
string body = 6;
Name | Description |
value | ByteString The bytes for body to set. |
Type | Description |
ResponseMetadata.Builder | This builder for chaining. |
setDuration(Duration value)
public ResponseMetadata.Builder setDuration(Duration value)
Total time elapsed for the response.
.google.protobuf.Duration duration = 5;
Name | Description |
value | Duration |
Type | Description |
ResponseMetadata.Builder |
setDuration(Duration.Builder builderForValue)
public ResponseMetadata.Builder setDuration(Duration.Builder builderForValue)
Total time elapsed for the response.
.google.protobuf.Duration duration = 5;
Name | Description |
builderForValue | Builder |
Type | Description |
ResponseMetadata.Builder |
setError(String value)
public ResponseMetadata.Builder setError(String value)
Error message received when making the ad request.
string error = 1;
Name | Description |
value | String The error to set. |
Type | Description |
ResponseMetadata.Builder | This builder for chaining. |
setErrorBytes(ByteString value)
public ResponseMetadata.Builder setErrorBytes(ByteString value)
Error message received when making the ad request.
string error = 1;
Name | Description |
value | ByteString The bytes for error to set. |
Type | Description |
ResponseMetadata.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResponseMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ResponseMetadata.Builder |
setHeaders(Struct value)
public ResponseMetadata.Builder setHeaders(Struct value)
Headers from the response.
.google.protobuf.Struct headers = 2;
Name | Description |
value | Struct |
Type | Description |
ResponseMetadata.Builder |
setHeaders(Struct.Builder builderForValue)
public ResponseMetadata.Builder setHeaders(Struct.Builder builderForValue)
Headers from the response.
.google.protobuf.Struct headers = 2;
Name | Description |
builderForValue | Builder |
Type | Description |
ResponseMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResponseMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ResponseMetadata.Builder |
setSizeBytes(int value)
public ResponseMetadata.Builder setSizeBytes(int value)
Size in bytes of the response.
int32 size_bytes = 4;
Name | Description |
value | int The sizeBytes to set. |
Type | Description |
ResponseMetadata.Builder | This builder for chaining. |
setStatusCode(String value)
public ResponseMetadata.Builder setStatusCode(String value)
Status code for the response.
string status_code = 3;
Name | Description |
value | String The statusCode to set. |
Type | Description |
ResponseMetadata.Builder | This builder for chaining. |
setStatusCodeBytes(ByteString value)
public ResponseMetadata.Builder setStatusCodeBytes(ByteString value)
Status code for the response.
string status_code = 3;
Name | Description |
value | ByteString The bytes for statusCode to set. |
Type | Description |
ResponseMetadata.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ResponseMetadata.Builder |