Class LogConfigCounterOptions (1.37.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.37.0keyboard_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
    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>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  CUSTOM_FIELDS_FIELD_NUMBER 
  
    
public   static   final   int   CUSTOM_FIELDS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  FIELD_FIELD_NUMBER 
  
    
public   static   final   int   FIELD_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  METRIC_FIELD_NUMBER 
  
    
public   static   final   int   METRIC_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   LogConfigCounterOptions   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   LogConfigCounterOptions . Builder   newBuilder ()  
  
  newBuilder(LogConfigCounterOptions prototype) 
  
    
public   static   LogConfigCounterOptions . Builder   newBuilder ( LogConfigCounterOptions   prototype )  
  
  
  
    
public   static   LogConfigCounterOptions   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   LogConfigCounterOptions   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   LogConfigCounterOptions   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   LogConfigCounterOptions   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   LogConfigCounterOptions   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   LogConfigCounterOptions   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   LogConfigCounterOptions   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   LogConfigCounterOptions   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   LogConfigCounterOptions   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   LogConfigCounterOptions   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   LogConfigCounterOptions   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   LogConfigCounterOptions   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<LogConfigCounterOptions>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  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  
      
        indexint  
     
  
  
  getCustomFieldsCount() 
  
    
public   int   getCustomFieldsCount ()  
   This is deprecated and has no effect. Do not use.
 
 repeated .google.cloud.compute.v1.LogConfigCounterOptionsCustomField custom_fields = 249651015;
 
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getCustomFieldsList() 
  
    
public   List<LogConfigCounterOptionsCustomField>   getCustomFieldsList ()  
   This is deprecated and has no effect. Do not use.
 
 repeated .google.cloud.compute.v1.LogConfigCounterOptionsCustomField custom_fields = 249651015;
 
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  
      
        indexint  
     
  
  
  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 ()  
  
  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  
      
        Type Description  
      
        ByteString The bytes for field.
 
     
  
  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  
      
        Type Description  
      
        ByteString The bytes for metric.
 
     
  
  getParserForType() 
  
    
public   Parser<LogConfigCounterOptions>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  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  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   LogConfigCounterOptions . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   LogConfigCounterOptions . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   LogConfigCounterOptions . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
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-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."],[],[]]