Send feedback
  
   
 
  
    
      Class FormatMessage (1.37.0)
    
    
      
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
  
   
  
    
  
  
    
    
    
    
  Version 1.37.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  FormatMessage   extends   GeneratedMessageV3   implements   FormatMessageOrBuilder  
   Represents a message with parameters.
 Protobuf type google.devtools.clouddebugger.v2.FormatMessage
    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   FORMAT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   PARAMETERS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   FormatMessage   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   FormatMessage . Builder   newBuilder ()  
  
  
    
public   static   FormatMessage . Builder   newBuilder ( FormatMessage   prototype )  
  
  
  
    
public   static   FormatMessage   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   FormatMessage   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   FormatMessage   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   FormatMessage   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   FormatMessage   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   FormatMessage   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   FormatMessage   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   FormatMessage   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   FormatMessage   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   FormatMessage   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   FormatMessage   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   FormatMessage   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<FormatMessage>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   FormatMessage   getDefaultInstanceForType ()  
  
  
    
public   String   getFormat ()  
   Format template for the message. The format uses placeholders $0,
 $1, etc. to reference parameters. $$ can be used to denote the $
 character.
 Examples:
Failed to load '$0' which helps debug $1 the first time it
is loaded.  Again, $0 is very important.Please pay $$10 to use $0 instead of $1. 
 string format = 1;
    
      
        Returns  
      
        Type Description  
      
        String The format.
 
     
  
  
    
public   ByteString   getFormatBytes ()  
   Format template for the message. The format uses placeholders $0,
 $1, etc. to reference parameters. $$ can be used to denote the $
 character.
 Examples:
Failed to load '$0' which helps debug $1 the first time it
is loaded.  Again, $0 is very important.Please pay $$10 to use $0 instead of $1. 
 string format = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for format.
 
     
  
  
    
public   String   getParameters ( int   index )  
   Optional parameters to be embedded into the message.
 repeated string parameters = 2;
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String The parameters at the given index.
 
     
  
  
    
public   ByteString   getParametersBytes ( int   index )  
   Optional parameters to be embedded into the message.
 repeated string parameters = 2;
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes of the parameters at the given index.
 
     
  
  
    
public   int   getParametersCount ()  
   Optional parameters to be embedded into the message.
 repeated string parameters = 2;
    
      
        Returns  
      
        Type Description  
      
        int The count of parameters.
 
     
  
  
    
public   ProtocolStringList   getParametersList ()  
   Optional parameters to be embedded into the message.
 repeated string parameters = 2;
    
public   Parser<FormatMessage>   getParserForType ()  
  
  Overrides 
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   FormatMessage . Builder   newBuilderForType ()  
  
  
    
protected   FormatMessage . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   FormatMessage . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
    
     
  
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  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-10 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]