- 0.52.0 (latest)
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResponseMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
build()
public ResponseMetadata build()
Returns | |
---|---|
Type | Description |
ResponseMetadata |
buildPartial()
public ResponseMetadata buildPartial()
Returns | |
---|---|
Type | Description |
ResponseMetadata |
clear()
public ResponseMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
clearBody()
public ResponseMetadata.Builder clearBody()
The body of the response.
string body = 6;
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
This builder for chaining. |
clearDuration()
public ResponseMetadata.Builder clearDuration()
Total time elapsed for the response.
.google.protobuf.Duration duration = 5;
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
clearError()
public ResponseMetadata.Builder clearError()
Error message received when making the ad request.
string error = 1;
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ResponseMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
clearHeaders()
public ResponseMetadata.Builder clearHeaders()
Headers from the response.
.google.protobuf.Struct headers = 2;
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResponseMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
clearSizeBytes()
public ResponseMetadata.Builder clearSizeBytes()
Size in bytes of the response.
int32 size_bytes = 4;
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
This builder for chaining. |
clearStatusCode()
public ResponseMetadata.Builder clearStatusCode()
Status code for the response.
string status_code = 3;
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
This builder for chaining. |
clone()
public ResponseMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
getBody()
public String getBody()
The body of the response.
string body = 6;
Returns | |
---|---|
Type | Description |
String |
The body. |
getBodyBytes()
public ByteString getBodyBytes()
The body of the response.
string body = 6;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for body. |
getDefaultInstanceForType()
public ResponseMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ResponseMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDuration()
public Duration getDuration()
Total time elapsed for the response.
.google.protobuf.Duration duration = 5;
Returns | |
---|---|
Type | Description |
Duration |
The duration. |
getDurationBuilder()
public Duration.Builder getDurationBuilder()
Total time elapsed for the response.
.google.protobuf.Duration duration = 5;
Returns | |
---|---|
Type | Description |
Builder |
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()
Total time elapsed for the response.
.google.protobuf.Duration duration = 5;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getError()
public String getError()
Error message received when making the ad request.
string error = 1;
Returns | |
---|---|
Type | Description |
String |
The error. |
getErrorBytes()
public ByteString getErrorBytes()
Error message received when making the ad request.
string error = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for error. |
getHeaders()
public Struct getHeaders()
Headers from the response.
.google.protobuf.Struct headers = 2;
Returns | |
---|---|
Type | Description |
Struct |
The headers. |
getHeadersBuilder()
public Struct.Builder getHeadersBuilder()
Headers from the response.
.google.protobuf.Struct headers = 2;
Returns | |
---|---|
Type | Description |
Builder |
getHeadersOrBuilder()
public StructOrBuilder getHeadersOrBuilder()
Headers from the response.
.google.protobuf.Struct headers = 2;
Returns | |
---|---|
Type | Description |
StructOrBuilder |
getSizeBytes()
public int getSizeBytes()
Size in bytes of the response.
int32 size_bytes = 4;
Returns | |
---|---|
Type | Description |
int |
The sizeBytes. |
getStatusCode()
public String getStatusCode()
Status code for the response.
string status_code = 3;
Returns | |
---|---|
Type | Description |
String |
The statusCode. |
getStatusCodeBytes()
public ByteString getStatusCodeBytes()
Status code for the response.
string status_code = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for statusCode. |
hasDuration()
public boolean hasDuration()
Total time elapsed for the response.
.google.protobuf.Duration duration = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the duration field is set. |
hasHeaders()
public boolean hasHeaders()
Headers from the response.
.google.protobuf.Struct headers = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the headers field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDuration(Duration value)
public ResponseMetadata.Builder mergeDuration(Duration value)
Total time elapsed for the response.
.google.protobuf.Duration duration = 5;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
mergeFrom(ResponseMetadata other)
public ResponseMetadata.Builder mergeFrom(ResponseMetadata other)
Parameter | |
---|---|
Name | Description |
other |
ResponseMetadata |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResponseMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ResponseMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
mergeHeaders(Struct value)
public ResponseMetadata.Builder mergeHeaders(Struct value)
Headers from the response.
.google.protobuf.Struct headers = 2;
Parameter | |
---|---|
Name | Description |
value |
Struct |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
setBody(String value)
public ResponseMetadata.Builder setBody(String value)
The body of the response.
string body = 6;
Parameter | |
---|---|
Name | Description |
value |
String The body to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for body to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
setError(String value)
public ResponseMetadata.Builder setError(String value)
Error message received when making the ad request.
string error = 1;
Parameter | |
---|---|
Name | Description |
value |
String The error to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for error to set. |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResponseMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
setHeaders(Struct value)
public ResponseMetadata.Builder setHeaders(Struct value)
Headers from the response.
.google.protobuf.Struct headers = 2;
Parameter | |
---|---|
Name | Description |
value |
Struct |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
setHeaders(Struct.Builder builderForValue)
public ResponseMetadata.Builder setHeaders(Struct.Builder builderForValue)
Headers from the response.
.google.protobuf.Struct headers = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResponseMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
setSizeBytes(int value)
public ResponseMetadata.Builder setSizeBytes(int value)
Size in bytes of the response.
int32 size_bytes = 4;
Parameter | |
---|---|
Name | Description |
value |
int The sizeBytes to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The statusCode to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for statusCode to set. |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResponseMetadata.Builder |