Send feedback
  
   
 
  
    
      Class SubpropertySyncConfig (0.88.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  SubpropertySyncConfig   extends   GeneratedMessageV3   implements   SubpropertySyncConfigOrBuilder  
   Subproperty synchronization configuration controls how ordinary property
 configurations are synchronized to subproperties. This resource is
 provisioned automatically for each subproperty.
 Protobuf type google.analytics.admin.v1alpha.SubpropertySyncConfig
    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
   
  APPLY_TO_PROPERTY_FIELD_NUMBER 
  
    
public   static   final   int   APPLY_TO_PROPERTY_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  CUSTOM_DIMENSION_AND_METRIC_SYNC_MODE_FIELD_NUMBER 
  
    
public   static   final   int   CUSTOM_DIMENSION_AND_METRIC_SYNC_MODE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  NAME_FIELD_NUMBER 
  
    
public   static   final   int   NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   SubpropertySyncConfig   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   SubpropertySyncConfig . Builder   newBuilder ()  
  
  newBuilder(SubpropertySyncConfig prototype) 
  
    
public   static   SubpropertySyncConfig . Builder   newBuilder ( SubpropertySyncConfig   prototype )  
  
  
  
    
public   static   SubpropertySyncConfig   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   SubpropertySyncConfig   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   SubpropertySyncConfig   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   SubpropertySyncConfig   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   SubpropertySyncConfig   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   SubpropertySyncConfig   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   SubpropertySyncConfig   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   SubpropertySyncConfig   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   SubpropertySyncConfig   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   SubpropertySyncConfig   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   SubpropertySyncConfig   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   SubpropertySyncConfig   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<SubpropertySyncConfig>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getApplyToProperty() 
  
    
public   String   getApplyToProperty ()  
   Output only. Immutable. Resource name of the subproperty that these
 settings apply to.
 
 string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        String The applyToProperty.
 
     
  
  getApplyToPropertyBytes() 
  
    
public   ByteString   getApplyToPropertyBytes ()  
   Output only. Immutable. Resource name of the subproperty that these
 settings apply to.
 
 string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for applyToProperty.
 
     
  
  getCustomDimensionAndMetricSyncMode() 
  
    
public   SubpropertySyncConfig . SynchronizationMode   getCustomDimensionAndMetricSyncMode ()  
   Required. Specifies the Custom Dimension / Metric synchronization mode for
 the subproperty.
 If set to ALL, Custom Dimension / Metric synchronization will be
 immediately enabled.  Local configuration of Custom Dimensions / Metrics
 will not be allowed on the subproperty so long as the synchronization mode
 is set to ALL.
 If set to NONE, Custom Dimensions / Metric synchronization is disabled.
 Custom Dimensions / Metrics must be configured explicitly on the
 Subproperty.
 
 .google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationMode custom_dimension_and_metric_sync_mode = 3 [(.google.api.field_behavior) = REQUIRED];
 
getCustomDimensionAndMetricSyncModeValue() 
  
    
public   int   getCustomDimensionAndMetricSyncModeValue ()  
   Required. Specifies the Custom Dimension / Metric synchronization mode for
 the subproperty.
 If set to ALL, Custom Dimension / Metric synchronization will be
 immediately enabled.  Local configuration of Custom Dimensions / Metrics
 will not be allowed on the subproperty so long as the synchronization mode
 is set to ALL.
 If set to NONE, Custom Dimensions / Metric synchronization is disabled.
 Custom Dimensions / Metrics must be configured explicitly on the
 Subproperty.
 
 .google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationMode custom_dimension_and_metric_sync_mode = 3 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for customDimensionAndMetricSyncMode.
 
     
  
  getDefaultInstanceForType() 
  
    
public   SubpropertySyncConfig   getDefaultInstanceForType ()  
  
  getName() 
  
   Output only. Identifier. Format:
 properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id}
 Example: properties/1234/subpropertySyncConfigs/5678
 
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        String The name.
 
     
  
  getNameBytes() 
  
    
public   ByteString   getNameBytes ()  
   Output only. Identifier. Format:
 properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id}
 Example: properties/1234/subpropertySyncConfigs/5678
 
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for name.
 
     
  
  getParserForType() 
  
    
public   Parser<SubpropertySyncConfig>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   SubpropertySyncConfig . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   SubpropertySyncConfig . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   SubpropertySyncConfig . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
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-28 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-28 UTC."],[],[]]