Class PropertySummary.Builder (0.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PropertySummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PropertySummary.Builder
Overrides

build()

public PropertySummary build()
Returns
TypeDescription
PropertySummary

buildPartial()

public PropertySummary buildPartial()
Returns
TypeDescription
PropertySummary

clear()

public PropertySummary.Builder clear()
Returns
TypeDescription
PropertySummary.Builder
Overrides

clearDisplayName()

public PropertySummary.Builder clearDisplayName()

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

string display_name = 2;

Returns
TypeDescription
PropertySummary.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PropertySummary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PropertySummary.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PropertySummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PropertySummary.Builder

This builder for chaining.

clone()

public PropertySummary.Builder clone()
Returns
TypeDescription
PropertySummary.Builder
Overrides

getDefaultInstanceForType()

public PropertySummary getDefaultInstanceForType()
Returns
TypeDescription
PropertySummary

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PropertySummary other)

public PropertySummary.Builder mergeFrom(PropertySummary other)
Parameter
NameDescription
otherPropertySummary
Returns
TypeDescription
PropertySummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PropertySummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertySummary.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PropertySummary.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PropertySummary.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PropertySummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
PropertySummary.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PropertySummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
valueString

The property to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for property to set.

Returns
TypeDescription
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
NameDescription
valuePropertyType

The propertyType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PropertySummary.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PropertySummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PropertySummary.Builder
Overrides