Class PropertySummary (0.21.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
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
TypeDescription
int

PROPERTY_TYPE_FIELD_NUMBER

public static final int PROPERTY_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PropertySummary getDefaultInstance()
Returns
TypeDescription
PropertySummary

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PropertySummary.Builder newBuilder()
Returns
TypeDescription
PropertySummary.Builder

newBuilder(PropertySummary prototype)

public static PropertySummary.Builder newBuilder(PropertySummary prototype)
Parameter
NameDescription
prototypePropertySummary
Returns
TypeDescription
PropertySummary.Builder

parseDelimitedFrom(InputStream input)

public static PropertySummary parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PropertySummary
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertySummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertySummary
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PropertySummary parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PropertySummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PropertySummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertySummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PropertySummary parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PropertySummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PropertySummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertySummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PropertySummary parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PropertySummary
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertySummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertySummary
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PropertySummary parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PropertySummary
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertySummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertySummary
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PropertySummary parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PropertySummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PropertySummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertySummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PropertySummary> parser()
Returns
TypeDescription
Parser<PropertySummary>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PropertySummary getDefaultInstanceForType()
Returns
TypeDescription
PropertySummary

getDisplayName()

public String getDisplayName()

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

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

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

string display_name = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<PropertySummary> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for property.

getPropertyType()

public PropertyType getPropertyType()

The property's property type.

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

Returns
TypeDescription
PropertyType

The propertyType.

getPropertyTypeValue()

public int getPropertyTypeValue()

The property's property type.

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

Returns
TypeDescription
int

The enum numeric value on the wire for propertyType.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PropertySummary.Builder newBuilderForType()
Returns
TypeDescription
PropertySummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PropertySummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PropertySummary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PropertySummary.Builder toBuilder()
Returns
TypeDescription
PropertySummary.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException