Class PropertySummary.Builder (0.65.0)

public static final class PropertySummary.Builder extends GeneratedMessageV3.Builder<PropertySummary.Builder> implements PropertySummaryOrBuilder

A virtual resource representing metadata for a GA4 property.

Protobuf type google.analytics.admin.v1alpha.PropertySummary

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PropertySummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PropertySummary.Builder
Overrides

build()

public PropertySummary build()
Returns
Type Description
PropertySummary

buildPartial()

public PropertySummary buildPartial()
Returns
Type Description
PropertySummary

clear()

public PropertySummary.Builder clear()
Returns
Type Description
PropertySummary.Builder
Overrides

clearDisplayName()

public PropertySummary.Builder clearDisplayName()

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

string display_name = 2;

Returns
Type Description
PropertySummary.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PropertySummary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PropertySummary.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PropertySummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PropertySummary.Builder
Overrides

clearParent()

public PropertySummary.Builder clearParent()

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
PropertySummary.Builder

This builder for chaining.

clearProperty()

public PropertySummary.Builder clearProperty()

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
PropertySummary.Builder

This builder for chaining.

clearPropertyType()

public PropertySummary.Builder clearPropertyType()

The property's property type.

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

Returns
Type Description
PropertySummary.Builder

This builder for chaining.

clone()

public PropertySummary.Builder clone()
Returns
Type Description
PropertySummary.Builder
Overrides

getDefaultInstanceForType()

public PropertySummary getDefaultInstanceForType()
Returns
Type Description
PropertySummary

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PropertySummary other)

public PropertySummary.Builder mergeFrom(PropertySummary other)
Parameter
Name Description
other PropertySummary
Returns
Type Description
PropertySummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PropertySummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertySummary.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PropertySummary.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PropertySummary.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PropertySummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PropertySummary.Builder
Overrides

setDisplayName(String value)

public PropertySummary.Builder setDisplayName(String value)

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

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
PropertySummary.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public PropertySummary.Builder setDisplayNameBytes(ByteString value)

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

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
PropertySummary.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PropertySummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PropertySummary.Builder
Overrides

setParent(String value)

public PropertySummary.Builder setParent(String value)

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;

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
PropertySummary.Builder

This builder for chaining.

setParentBytes(ByteString value)

public PropertySummary.Builder setParentBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
PropertySummary.Builder

This builder for chaining.

setProperty(String value)

public PropertySummary.Builder setProperty(String value)

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

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

Parameter
Name Description
value String

The property to set.

Returns
Type Description
PropertySummary.Builder

This builder for chaining.

setPropertyBytes(ByteString value)

public PropertySummary.Builder setPropertyBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for property to set.

Returns
Type Description
PropertySummary.Builder

This builder for chaining.

setPropertyType(PropertyType value)

public PropertySummary.Builder setPropertyType(PropertyType value)

The property's property type.

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

Parameter
Name Description
value PropertyType

The propertyType to set.

Returns
Type Description
PropertySummary.Builder

This builder for chaining.

setPropertyTypeValue(int value)

public PropertySummary.Builder setPropertyTypeValue(int value)

The property's property type.

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

Parameter
Name Description
value int

The enum numeric value on the wire for propertyType to set.

Returns
Type Description
PropertySummary.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PropertySummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PropertySummary.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PropertySummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PropertySummary.Builder
Overrides