Class ResponseMetadata (0.20.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.20.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   final   class  ResponseMetadata   extends   GeneratedMessageV3   implements   ResponseMetadataOrBuilder  
   Metadata for the response of an ad request.
 Protobuf type google.cloud.video.stitcher.v1.ResponseMetadata
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  BODY_FIELD_NUMBER 
  
    
public   static   final   int   BODY_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   DURATION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   ERROR_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   HEADERS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   SIZE_BYTES_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   STATUS_CODE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   ResponseMetadata   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   ResponseMetadata . Builder   newBuilder ()  
  
  
    
public   static   ResponseMetadata . Builder   newBuilder ( ResponseMetadata   prototype )  
  
  
  
    
public   static   ResponseMetadata   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   ResponseMetadata   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ResponseMetadata   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   ResponseMetadata   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ResponseMetadata   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   ResponseMetadata   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ResponseMetadata   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   ResponseMetadata   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ResponseMetadata   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   ResponseMetadata   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ResponseMetadata   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   ResponseMetadata   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<ResponseMetadata>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  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.
 
     
  
  
    
public   ResponseMetadata   getDefaultInstanceForType ()  
  
  
    
public   Duration   getDuration ()  
   Total time elapsed for the response.
 .google.protobuf.Duration duration = 5;
    
      
        Returns  
      
        Type Description  
      
        Duration The duration.
 
     
  
  
    
public   DurationOrBuilder   getDurationOrBuilder ()  
   Total time elapsed for the response.
 .google.protobuf.Duration duration = 5;
 Error message received when making the ad request.
 string error = 1;
    
      
        Returns  
      
        Type Description  
      
        String The error.
 
     
  
  
    
public   ByteString   getErrorBytes ()  
   Error message received when making the ad request.
 string error = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for error.
 
     
  
  
  
  
    
public   Struct   getHeaders ()  
   Headers from the response.
 .google.protobuf.Struct headers = 2;
    
      
        Returns  
      
        Type Description  
      
        Struct The headers.
 
     
  
  
  
  
    
public   StructOrBuilder   getHeadersOrBuilder ()  
   Headers from the response.
 .google.protobuf.Struct headers = 2;
    
public   Parser<ResponseMetadata>   getParserForType ()  
  
  Overrides 
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
public   int   getSizeBytes ()  
   Size in bytes of the response.
 int32 size_bytes = 4;
    
      
        Returns  
      
        Type Description  
      
        int The sizeBytes.
 
     
  
  
    
public   String   getStatusCode ()  
   Status code for the response.
 string status_code = 3;
    
      
        Returns  
      
        Type Description  
      
        String The statusCode.
 
     
  
  
    
public   ByteString   getStatusCodeBytes ()  
   Status code for the response.
 string status_code = 3;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for statusCode.
 
     
  
  
    
public   boolean   hasDuration ()  
   Total time elapsed for the response.
 .google.protobuf.Duration duration = 5;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the duration field is set.
 
     
  
  
  
  
    
public   boolean   hasHeaders ()  
   Headers from the response.
 .google.protobuf.Struct headers = 2;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the headers field is set.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   ResponseMetadata . Builder   newBuilderForType ()  
  
  
    
protected   ResponseMetadata . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   ResponseMetadata . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]