public final class Property extends GeneratedMessageV3 implements PropertyOrBuilder
A resource message representing a Google Analytics GA4 property.
Protobuf type google.analytics.admin.v1beta.Property
Static Fields
ACCOUNT_FIELD_NUMBER
public static final int ACCOUNT_FIELD_NUMBER
Field ValueCREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field ValueCURRENCY_CODE_FIELD_NUMBER
public static final int CURRENCY_CODE_FIELD_NUMBER
Field ValueDELETE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER
Field ValueDISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field ValueEXPIRE_TIME_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
Field ValueINDUSTRY_CATEGORY_FIELD_NUMBER
public static final int INDUSTRY_CATEGORY_FIELD_NUMBER
Field ValueNAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field ValuePARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field ValuePROPERTY_TYPE_FIELD_NUMBER
public static final int PROPERTY_TYPE_FIELD_NUMBER
Field ValueSERVICE_LEVEL_FIELD_NUMBER
public static final int SERVICE_LEVEL_FIELD_NUMBER
Field ValueTIME_ZONE_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER
Field ValueUPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field ValueStatic Methods
getDefaultInstance()
public static Property getDefaultInstance()
ReturnsgetDescriptor()
public static final Descriptors.Descriptor getDescriptor()
ReturnsnewBuilder()
public static Property.Builder newBuilder()
ReturnsnewBuilder(Property )
public static Property.Builder newBuilder(Property )
ParameterReturnspublic static Property parseDelimitedFrom(InputStream input)
ParameterReturnsExceptionspublic static Property parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionsparseFrom(byte[] data)
public static Property parseFrom(byte[] data)
ParameterName | Description |
data | byte[]
|
ReturnsExceptionsparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Property parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionsparseFrom(ByteString data)
public static Property parseFrom(ByteString data)
ParameterReturnsExceptionsparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Property parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static Property parseFrom(CodedInputStream input)
ParameterReturnsExceptionspublic static Property parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static Property parseFrom(InputStream input)
ParameterReturnsExceptionspublic static Property parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionsparseFrom(ByteBuffer data)
public static Property parseFrom(ByteBuffer data)
ParameterReturnsExceptionsparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Property parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionsparser()
public static Parser<Property> parser()
ReturnsMethods
equals(Object obj)
public boolean equals(Object obj)
ParameterReturnsOverridesgetAccount()
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) = { ... }
ReturnsType | Description |
String | The account. |
getAccountBytes()
public 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) = { ... }
ReturnsgetCreateTime()
public Timestamp getCreateTime()
Output only. Time when the entity was originally created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
ReturnsgetCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the entity was originally created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
ReturnsgetCurrencyCode()
public String getCurrencyCode()
ReturnsType | Description |
String | The currencyCode. |
getCurrencyCodeBytes()
public ByteString getCurrencyCodeBytes()
ReturnsType | Description |
ByteString | The bytes for currencyCode. |
getDefaultInstanceForType()
public Property getDefaultInstanceForType()
ReturnsgetDeleteTime()
public 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];
ReturnsgetDeleteTimeOrBuilder()
public 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];
ReturnsgetDisplayName()
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];
ReturnsType | Description |
String | The displayName. |
getDisplayNameBytes()
public 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];
ReturnsType | Description |
ByteString | The bytes for displayName. |
getExpireTime()
public 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];
ReturnsgetExpireTimeOrBuilder()
public 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];
ReturnsgetIndustryCategory()
public IndustryCategory getIndustryCategory()
Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK
.google.analytics.admin.v1beta.IndustryCategory industry_category = 6;
ReturnsgetIndustryCategoryValue()
public int getIndustryCategoryValue()
Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK
.google.analytics.admin.v1beta.IndustryCategory industry_category = 6;
ReturnsType | Description |
int | The enum numeric value on the wire for industryCategory. |
getName()
Output only. Resource name of this property. Format: properties/{property_id} Example: "properties/1000"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
ReturnsType | Description |
String | The name. |
getNameBytes()
public 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];
ReturnsgetParent()
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];
ReturnsType | Description |
String | The parent. |
getParentBytes()
public 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];
ReturnsgetParserForType()
public Parser<Property> getParserForType()
ReturnsOverridesgetPropertyType()
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. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created via Google Analytics Admin API.
.google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE];
ReturnsgetPropertyTypeValue()
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. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created via Google Analytics Admin API.
.google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE];
ReturnsType | Description |
int | The enum numeric value on the wire for propertyType. |
getSerializedSize()
public int getSerializedSize()
ReturnsOverridesgetServiceLevel()
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];
ReturnsgetServiceLevelValue()
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];
ReturnsType | Description |
int | The enum numeric value on the wire for serviceLevel. |
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];
ReturnsType | Description |
String | The timeZone. |
getTimeZoneBytes()
public 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];
ReturnsgetUnknownFields()
public final UnknownFieldSet getUnknownFields()
ReturnsOverridesgetUpdateTime()
public Timestamp getUpdateTime()
Output only. Time when entity payload fields were last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
ReturnsgetUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when entity payload fields were last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
ReturnshasCreateTime()
public boolean hasCreateTime()
Output only. Time when the entity was originally created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
ReturnsType | Description |
boolean | Whether the createTime field is set. |
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];
ReturnsType | Description |
boolean | Whether the deleteTime field is set. |
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];
ReturnsType | Description |
boolean | Whether the expireTime field is set. |
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];
ReturnsType | Description |
boolean | Whether the updateTime field is set. |
hashCode()
ReturnsOverridesinternalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
ReturnsOverridesisInitialized()
public final boolean isInitialized()
ReturnsOverridesnewBuilderForType()
public Property.Builder newBuilderForType()
ReturnsnewBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Property.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
ParameterReturnsOverridesnewInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
ParameterReturnsOverridestoBuilder()
public Property.Builder toBuilder()
ReturnswriteTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
ParameterOverridesExceptions