Class Property

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.admin.v1beta.Property
All Implemented Interfaces:
PropertyOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Property extends com.google.protobuf.GeneratedMessage implements PropertyOrBuilder
 A resource message representing a Google Analytics property.
 
Protobuf type google.analytics.admin.v1beta.Property
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • PROPERTY_TYPE_FIELD_NUMBER

      public static final int PROPERTY_TYPE_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • PARENT_FIELD_NUMBER

      public static final int PARENT_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • INDUSTRY_CATEGORY_FIELD_NUMBER

      public static final int INDUSTRY_CATEGORY_FIELD_NUMBER
      See Also:
    • TIME_ZONE_FIELD_NUMBER

      public static final int TIME_ZONE_FIELD_NUMBER
      See Also:
    • CURRENCY_CODE_FIELD_NUMBER

      public static final int CURRENCY_CODE_FIELD_NUMBER
      See Also:
    • SERVICE_LEVEL_FIELD_NUMBER

      public static final int SERVICE_LEVEL_FIELD_NUMBER
      See Also:
    • DELETE_TIME_FIELD_NUMBER

      public static final int DELETE_TIME_FIELD_NUMBER
      See Also:
    • EXPIRE_TIME_FIELD_NUMBER

      public static final int EXPIRE_TIME_FIELD_NUMBER
      See Also:
    • ACCOUNT_FIELD_NUMBER

      public static final int ACCOUNT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       Output only. Resource name of this property.
       Format: properties/{property_id}
       Example: "properties/1000"
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface PropertyOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. Resource name of this property.
       Format: properties/{property_id}
       Example: "properties/1000"
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface PropertyOrBuilder
      Returns:
      The bytes for name.
    • getPropertyTypeValue

      public int getPropertyTypeValue()
       Immutable. The property type for this Property resource. When creating a
       property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
       "ORDINARY_PROPERTY" will be implied.
       
      .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getPropertyTypeValue in interface PropertyOrBuilder
      Returns:
      The enum numeric value on the wire for propertyType.
    • getPropertyType

      public PropertyType getPropertyType()
       Immutable. The property type for this Property resource. When creating a
       property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
       "ORDINARY_PROPERTY" will be implied.
       
      .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getPropertyType in interface PropertyOrBuilder
      Returns:
      The propertyType.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Time when the entity was originally created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface PropertyOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Time when the entity was originally created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface PropertyOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time when the entity was originally created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface PropertyOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Time when entity payload fields were last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface PropertyOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Time when entity payload fields were last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface PropertyOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Time when entity payload fields were last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface PropertyOrBuilder
    • getParent

      public String getParent()
       Immutable. Resource name of this property's logical parent.
      
       Note: The Property-Moving UI can be used to change the parent.
       Format: accounts/{account}, properties/{property}
       Example: "accounts/100", "properties/101"
       
      string parent = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getParent in interface PropertyOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Immutable. Resource name of this property's logical parent.
      
       Note: The Property-Moving UI can be used to change the parent.
       Format: accounts/{account}, properties/{property}
       Example: "accounts/100", "properties/101"
       
      string parent = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getParentBytes in interface PropertyOrBuilder
      Returns:
      The bytes for parent.
    • getDisplayName

      public String getDisplayName()
       Required. Human-readable display name for this property.
      
       The max allowed display name length is 100 UTF-16 code units.
       
      string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface PropertyOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. Human-readable display name for this property.
      
       The max allowed display name length is 100 UTF-16 code units.
       
      string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface PropertyOrBuilder
      Returns:
      The bytes for displayName.
    • getIndustryCategoryValue

      public int getIndustryCategoryValue()
       Industry associated with this property
       Example: AUTOMOTIVE, FOOD_AND_DRINK
       
      .google.analytics.admin.v1beta.IndustryCategory industry_category = 6;
      Specified by:
      getIndustryCategoryValue in interface PropertyOrBuilder
      Returns:
      The enum numeric value on the wire for industryCategory.
    • getIndustryCategory

      public IndustryCategory getIndustryCategory()
       Industry associated with this property
       Example: AUTOMOTIVE, FOOD_AND_DRINK
       
      .google.analytics.admin.v1beta.IndustryCategory industry_category = 6;
      Specified by:
      getIndustryCategory in interface PropertyOrBuilder
      Returns:
      The industryCategory.
    • getTimeZone

      public String getTimeZone()
       Required. Reporting Time Zone, used as the day boundary for reports,
       regardless of where the data originates. If the time zone honors DST,
       Analytics will automatically adjust for the changes.
      
       NOTE: Changing the time zone only affects data going forward, and is not
       applied retroactively.
      
       Format: https://www.iana.org/time-zones
       Example: "America/Los_Angeles"
       
      string time_zone = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTimeZone in interface PropertyOrBuilder
      Returns:
      The timeZone.
    • getTimeZoneBytes

      public com.google.protobuf.ByteString getTimeZoneBytes()
       Required. Reporting Time Zone, used as the day boundary for reports,
       regardless of where the data originates. If the time zone honors DST,
       Analytics will automatically adjust for the changes.
      
       NOTE: Changing the time zone only affects data going forward, and is not
       applied retroactively.
      
       Format: https://www.iana.org/time-zones
       Example: "America/Los_Angeles"
       
      string time_zone = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTimeZoneBytes in interface PropertyOrBuilder
      Returns:
      The bytes for timeZone.
    • getCurrencyCode

      public String getCurrencyCode()
       The currency type used in reports involving monetary values.
      
      
       Format: https://en.wikipedia.org/wiki/ISO_4217
       Examples: "USD", "EUR", "JPY"
       
      string currency_code = 8;
      Specified by:
      getCurrencyCode in interface PropertyOrBuilder
      Returns:
      The currencyCode.
    • getCurrencyCodeBytes

      public com.google.protobuf.ByteString getCurrencyCodeBytes()
       The currency type used in reports involving monetary values.
      
      
       Format: https://en.wikipedia.org/wiki/ISO_4217
       Examples: "USD", "EUR", "JPY"
       
      string currency_code = 8;
      Specified by:
      getCurrencyCodeBytes in interface PropertyOrBuilder
      Returns:
      The bytes for currencyCode.
    • getServiceLevelValue

      public int getServiceLevelValue()
       Output only. The Google Analytics service level that applies to this
       property.
       
      .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServiceLevelValue in interface PropertyOrBuilder
      Returns:
      The enum numeric value on the wire for serviceLevel.
    • getServiceLevel

      public ServiceLevel getServiceLevel()
       Output only. The Google Analytics service level that applies to this
       property.
       
      .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServiceLevel in interface PropertyOrBuilder
      Returns:
      The serviceLevel.
    • hasDeleteTime

      public boolean hasDeleteTime()
       Output only. If set, the time at which this property was trashed. If not
       set, then this property is not currently in the trash can.
       
      .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDeleteTime in interface PropertyOrBuilder
      Returns:
      Whether the deleteTime field is set.
    • getDeleteTime

      public com.google.protobuf.Timestamp getDeleteTime()
       Output only. If set, the time at which this property was trashed. If not
       set, then this property is not currently in the trash can.
       
      .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeleteTime in interface PropertyOrBuilder
      Returns:
      The deleteTime.
    • getDeleteTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
       Output only. If set, the time at which this property was trashed. If not
       set, then this property is not currently in the trash can.
       
      .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeleteTimeOrBuilder in interface PropertyOrBuilder
    • hasExpireTime

      public boolean hasExpireTime()
       Output only. If set, the time at which this trashed property will be
       permanently deleted. If not set, then this property is not currently in the
       trash can and is not slated to be deleted.
       
      .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasExpireTime in interface PropertyOrBuilder
      Returns:
      Whether the expireTime field is set.
    • getExpireTime

      public com.google.protobuf.Timestamp getExpireTime()
       Output only. If set, the time at which this trashed property will be
       permanently deleted. If not set, then this property is not currently in the
       trash can and is not slated to be deleted.
       
      .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpireTime in interface PropertyOrBuilder
      Returns:
      The expireTime.
    • getExpireTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
       Output only. If set, the time at which this trashed property will be
       permanently deleted. If not set, then this property is not currently in the
       trash can and is not slated to be deleted.
       
      .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpireTimeOrBuilder in interface PropertyOrBuilder
    • getAccount

      public String getAccount()
       Immutable. The resource name of the parent account
       Format: accounts/{account_id}
       Example: "accounts/123"
       
      string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getAccount in interface PropertyOrBuilder
      Returns:
      The account.
    • getAccountBytes

      public com.google.protobuf.ByteString getAccountBytes()
       Immutable. The resource name of the parent account
       Format: accounts/{account_id}
       Example: "accounts/123"
       
      string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getAccountBytes in interface PropertyOrBuilder
      Returns:
      The bytes for account.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Property parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Property parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Property parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Property parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Property parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Property parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Property parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Property parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Property parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Property parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Property parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Property parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Property.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Property.Builder newBuilder()
    • newBuilder

      public static Property.Builder newBuilder(Property prototype)
    • toBuilder

      public Property.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Property.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Property getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Property> parser()
    • getParserForType

      public com.google.protobuf.Parser<Property> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Property getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder