Send feedback
  
   
 
  
    
      Class MeasurementProtocolSecretName.Builder (0.88.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   class  MeasurementProtocolSecretName . Builder  
  Builder for
 properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}.
Constructors
   
  Builder() 
  
  Methods
   
  build() 
  
    
public   MeasurementProtocolSecretName   build ()  
  
  getDataStream() 
  
    
public   String   getDataStream ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getMeasurementProtocolSecret() 
  
    
public   String   getMeasurementProtocolSecret ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getProperty() 
  
    
public   String   getProperty ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  setDataStream(String dataStream) 
  
    
public   MeasurementProtocolSecretName . Builder   setDataStream ( String   dataStream )  
  
    
      
        Parameter  
      
        Name Description  
      
        dataStreamString  
     
  
  
  setMeasurementProtocolSecret(String measurementProtocolSecret) 
  
    
public   MeasurementProtocolSecretName . Builder   setMeasurementProtocolSecret ( String   measurementProtocolSecret )  
  
    
      
        Parameter  
      
        Name Description  
      
        measurementProtocolSecretString  
     
  
  
  setProperty(String property) 
  
    
public   MeasurementProtocolSecretName . Builder   setProperty ( String   property )  
  
    
      
        Parameter  
      
        Name Description  
      
        propertyString  
     
  
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    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."],[],[]]