Class LogConfigCounterOptions (1.7.2) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.7.2keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  LogConfigCounterOptions   extends   GeneratedMessageV3   implements   LogConfigCounterOptionsOrBuilder  
   This is deprecated and has no effect. Do not use.
 Protobuf type google.cloud.compute.v1.LogConfigCounterOptions
Static Fields
   
  CUSTOM_FIELDS_FIELD_NUMBER 
  
    
public   static   final   int   CUSTOM_FIELDS_FIELD_NUMBER  
  Field Value 
  
  FIELD_FIELD_NUMBER 
  
    
public   static   final   int   FIELD_FIELD_NUMBER  
  Field Value 
  
  METRIC_FIELD_NUMBER 
  
    
public   static   final   int   METRIC_FIELD_NUMBER  
  Field Value 
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   LogConfigCounterOptions   getDefaultInstance ()  
  Returns 
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  newBuilder() 
  
    
public   static   LogConfigCounterOptions . Builder   newBuilder ()  
  Returns 
  
  newBuilder(LogConfigCounterOptions prototype) 
  
    
public   static   LogConfigCounterOptions . Builder   newBuilder ( LogConfigCounterOptions   prototype )  
  Parameter 
  
  Returns 
  
  
    
public   static   LogConfigCounterOptions   parseDelimitedFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   LogConfigCounterOptions   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data) 
  
    
public   static   LogConfigCounterOptions   parseFrom ( byte []   data )  
  Parameter 
  
    
      
        Name Description  
      
        data byte [] 
     
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   LogConfigCounterOptions   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data) 
  
    
public   static   LogConfigCounterOptions   parseFrom ( ByteString   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   LogConfigCounterOptions   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   LogConfigCounterOptions   parseFrom ( CodedInputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   LogConfigCounterOptions   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   LogConfigCounterOptions   parseFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   LogConfigCounterOptions   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data) 
  
    
public   static   LogConfigCounterOptions   parseFrom ( ByteBuffer   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   LogConfigCounterOptions   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parser() 
  
    
public   static   Parser<LogConfigCounterOptions>   parser ()  
  Returns 
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  getCustomFields(int index) 
  
    
public   LogConfigCounterOptionsCustomField   getCustomFields ( int   index )  
   This is deprecated and has no effect. Do not use.
 
 repeated .google.cloud.compute.v1.LogConfigCounterOptionsCustomField custom_fields = 249651015;
 
Parameter 
  
    
      
        Name Description  
      
        index int  
     
  
  Returns 
  
  getCustomFieldsCount() 
  
    
public   int   getCustomFieldsCount ()  
   This is deprecated and has no effect. Do not use.
 
 repeated .google.cloud.compute.v1.LogConfigCounterOptionsCustomField custom_fields = 249651015;
 
Returns 
  
  getCustomFieldsList() 
  
    
public   List<LogConfigCounterOptionsCustomField>   getCustomFieldsList ()  
   This is deprecated and has no effect. Do not use.
 
 repeated .google.cloud.compute.v1.LogConfigCounterOptionsCustomField custom_fields = 249651015;
 
Returns 
  
  getCustomFieldsOrBuilder(int index) 
  
    
public   LogConfigCounterOptionsCustomFieldOrBuilder   getCustomFieldsOrBuilder ( int   index )  
   This is deprecated and has no effect. Do not use.
 
 repeated .google.cloud.compute.v1.LogConfigCounterOptionsCustomField custom_fields = 249651015;
 
Parameter 
  
    
      
        Name Description  
      
        index int  
     
  
  Returns 
  
  getCustomFieldsOrBuilderList() 
  
    
public   List <?   extends   LogConfigCounterOptionsCustomFieldOrBuilder >  getCustomFieldsOrBuilderList ()  
   This is deprecated and has no effect. Do not use.
 
 repeated .google.cloud.compute.v1.LogConfigCounterOptionsCustomField custom_fields = 249651015;
 
Returns 
  
    
      
        Type Description  
      
        List <? extends com.google.cloud.compute.v1.LogConfigCounterOptionsCustomFieldOrBuilder > 
     
  
  getDefaultInstanceForType() 
  
    
public   LogConfigCounterOptions   getDefaultInstanceForType ()  
  Returns 
  
  getField() 
  
   This is deprecated and has no effect. Do not use.
 optional string field = 97427706;
Returns 
  
    
      
        Type Description  
      
        String The field.
 
     
  
  getFieldBytes() 
  
    
public   ByteString   getFieldBytes ()  
   This is deprecated and has no effect. Do not use.
 optional string field = 97427706;
Returns 
  
  getMetric() 
  
    
public   String   getMetric ()  
   This is deprecated and has no effect. Do not use.
 optional string metric = 533067184;
Returns 
  
    
      
        Type Description  
      
        String The metric.
 
     
  
  getMetricBytes() 
  
    
public   ByteString   getMetricBytes ()  
   This is deprecated and has no effect. Do not use.
 optional string metric = 533067184;
Returns 
  
  getParserForType() 
  
    
public   Parser<LogConfigCounterOptions>   getParserForType ()  
  Returns 
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  Returns 
  
  Overrides 
  
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
  Returns 
  
  Overrides 
  
  hasField() 
  
    
public   boolean   hasField ()  
   This is deprecated and has no effect. Do not use.
 optional string field = 97427706;
Returns 
  
    
      
        Type Description  
      
        boolean Whether the field field is set.
 
     
  
  hasMetric() 
  
    
public   boolean   hasMetric ()  
   This is deprecated and has no effect. Do not use.
 optional string metric = 533067184;
Returns 
  
    
      
        Type Description  
      
        boolean Whether the metric field is set.
 
     
  
  hashCode() 
  
  Returns 
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  newBuilderForType() 
  
    
public   LogConfigCounterOptions . Builder   newBuilderForType ()  
  Returns 
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   LogConfigCounterOptions . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  toBuilder() 
  
    
public   LogConfigCounterOptions . Builder   toBuilder ()  
  Returns 
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-11 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-11 UTC."],[],[]]