Class PropertySummary (0.56.0)

public final class PropertySummary extends GeneratedMessageV3 implements PropertySummaryOrBuilder

A virtual resource representing metadata for a GA4 property.

Protobuf type google.analytics.admin.v1alpha.PropertySummary

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
Type Description
int

PROPERTY_TYPE_FIELD_NUMBER

public static final int PROPERTY_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PropertySummary getDefaultInstance()
Returns
Type Description
PropertySummary

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PropertySummary.Builder newBuilder()
Returns
Type Description
PropertySummary.Builder

newBuilder(PropertySummary prototype)

public static PropertySummary.Builder newBuilder(PropertySummary prototype)
Parameter
Name Description
prototype PropertySummary
Returns
Type Description
PropertySummary.Builder

parseDelimitedFrom(InputStream input)

public static PropertySummary parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PropertySummary
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertySummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertySummary
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PropertySummary parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PropertySummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PropertySummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertySummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PropertySummary parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PropertySummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PropertySummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertySummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PropertySummary parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PropertySummary
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertySummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertySummary
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PropertySummary parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PropertySummary
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertySummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertySummary
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PropertySummary parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PropertySummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PropertySummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertySummary
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PropertySummary> parser()
Returns
Type Description
Parser<PropertySummary>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PropertySummary getDefaultInstanceForType()
Returns
Type Description
PropertySummary

getDisplayName()

public String getDisplayName()

Display name for the property referred to in this property summary.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Display name for the property referred to in this property summary.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getParent()

public String getParent()

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/200"

string parent = 4;

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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/200"

string parent = 4;

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<PropertySummary> getParserForType()
Returns
Type Description
Parser<PropertySummary>
Overrides

getProperty()

public String getProperty()

Resource name of property referred to by this property summary Format: properties/{property_id} Example: "properties/1000"

string property = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The property.

getPropertyBytes()

public ByteString getPropertyBytes()

Resource name of property referred to by this property summary Format: properties/{property_id} Example: "properties/1000"

string property = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for property.

getPropertyType()

public PropertyType getPropertyType()

The property's property type.

.google.analytics.admin.v1alpha.PropertyType property_type = 3;

Returns
Type Description
PropertyType

The propertyType.

getPropertyTypeValue()

public int getPropertyTypeValue()

The property's property type.

.google.analytics.admin.v1alpha.PropertyType property_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for propertyType.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PropertySummary.Builder newBuilderForType()
Returns
Type Description
PropertySummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PropertySummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PropertySummary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PropertySummary.Builder toBuilder()
Returns
Type Description
PropertySummary.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException