Class RequestMetadata (0.24.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 0.24.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  RequestMetadata   extends   GeneratedMessageV3   implements   RequestMetadataOrBuilder  
   
   RequestMetadata is the metadata message for the request.
 Protobuf type google.cloud.visionai.v1.RequestMetadata
 
  
  
  
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  
  
    
public   static   final   int   EVENT_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  
  
    
public   static   final   int   LEASE_ID_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  
  
    
public   static   final   int   LEASE_TERM_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  
  
    
public   static   final   int   OWNER_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  
  
    
public   static   final   int   SERIES_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  
  
    
public   static   final   int   STREAM_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  
  
    
public   static   RequestMetadata   getDefaultInstance ()  
   
  
   
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  
  
    
public   static   RequestMetadata . Builder   newBuilder ()  
   
  
   
  
  
    
public   static   RequestMetadata . Builder   newBuilder ( RequestMetadata   prototype )  
   
  
  
   
  
  
    
public   static   RequestMetadata   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   RequestMetadata   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   RequestMetadata   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  
  
    
public   static   RequestMetadata   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   RequestMetadata   parseFrom ( ByteString   data )  
   
  
  
  
   
  
  
    
public   static   RequestMetadata   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   RequestMetadata   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   RequestMetadata   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   RequestMetadata   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   RequestMetadata   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   RequestMetadata   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  
  
    
public   static   RequestMetadata   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   Parser<RequestMetadata>   parser ()  
   
  
  Methods
   
   
  
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  Overrides 
  
   
  
  
    
public   RequestMetadata   getDefaultInstanceForType ()  
   
  
   
  
  
   Evevt name.
 string event = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The event.
 
       
     
  
   
  
  
    
public   ByteString   getEventBytes ()  
   
   Evevt name.
 string event = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for event.
 
       
     
  
   
  
  
    
public   String   getLeaseId ()  
   
   Lease id.
 string lease_id = 4;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The leaseId.
 
       
     
  
   
  
  
    
public   ByteString   getLeaseIdBytes ()  
   
   Lease id.
 string lease_id = 4;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for leaseId.
 
       
     
  
   
  
  
    
public   Duration   getLeaseTerm ()  
   
   Lease term specifies how long the client wants the session to be maintained
 by the server after the client leaves. If the lease term is not set, the
 server will release the session immediately and the client cannot reconnect
 to the same session later.
 .google.protobuf.Duration lease_term = 6;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Duration  
        The leaseTerm.
 
       
     
  
   
  
  
    
public   DurationOrBuilder   getLeaseTermOrBuilder ()  
   
   Lease term specifies how long the client wants the session to be maintained
 by the server after the client leaves. If the lease term is not set, the
 server will release the session immediately and the client cannot reconnect
 to the same session later.
 .google.protobuf.Duration lease_term = 6;
 
  
   
  
  
   Owner name.
 string owner = 5;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The owner.
 
       
     
  
   
  
  
    
public   ByteString   getOwnerBytes ()  
   
   Owner name.
 string owner = 5;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for owner.
 
       
     
  
   
  
  
    
public   Parser<RequestMetadata>   getParserForType ()  
   
  
  Overrides 
  
   
  
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  
  
    
public   String   getSeries ()  
   
   Series name.
 string series = 3;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The series.
 
       
     
  
   
  
  
    
public   ByteString   getSeriesBytes ()  
   
   Series name.
 string series = 3;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for series.
 
       
     
  
   
  
  
    
public   String   getStream ()  
   
   Stream name.
 string stream = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The stream.
 
       
     
  
   
  
  
    
public   ByteString   getStreamBytes ()  
   
   Stream name.
 string stream = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for stream.
 
       
     
  
   
  
  
    
public   boolean   hasLeaseTerm ()  
   
   Lease term specifies how long the client wants the session to be maintained
 by the server after the client leaves. If the lease term is not set, the
 server will release the session immediately and the client cannot reconnect
 to the same session later.
 .google.protobuf.Duration lease_term = 6;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the leaseTerm field is set.
 
       
     
  
   
  
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  
  
    
public   RequestMetadata . Builder   newBuilderForType ()  
   
  
   
  
  
    
protected   RequestMetadata . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  
  
    
public   RequestMetadata . 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-30 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-30 UTC."],[],[]]