Interface MeasurementProtocolSecretOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MeasurementProtocolSecret, MeasurementProtocolSecret.Builder

@Generated public interface MeasurementProtocolSecretOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Identifier.
    com.google.protobuf.ByteString
    Identifier.
    Output only.
    com.google.protobuf.ByteString
    Output only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       Identifier. Resource name of this secret. This secret may be a child of any
       type of stream. Format:
       properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. Resource name of this secret. This secret may be a child of any
       type of stream. Format:
       properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getDisplayName

      String getDisplayName()
       Required. Human-readable display name for this secret.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Required. Human-readable display name for this secret.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for displayName.
    • getSecretValue

      String getSecretValue()
       Output only. The measurement protocol secret value. Pass this value to the
       api_secret field of the Measurement Protocol API when sending hits to this
       secret's parent property.
       
      string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The secretValue.
    • getSecretValueBytes

      com.google.protobuf.ByteString getSecretValueBytes()
       Output only. The measurement protocol secret value. Pass this value to the
       api_secret field of the Measurement Protocol API when sending hits to this
       secret's parent property.
       
      string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for secretValue.