public static final class PropertySummary.Builder extends GeneratedMessage.Builder<PropertySummary.Builder> implements PropertySummaryOrBuilderA virtual resource representing metadata for a Google Analytics property.
Protobuf type google.analytics.admin.v1alpha.PropertySummary
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PropertySummary.BuilderImplements
PropertySummaryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
getDefaultInstanceForType()
public PropertySummary getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PropertySummary |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PropertySummary.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PropertySummary.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
PropertySummary.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
PropertyTypeThe 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 |
intThe enum numeric value on the wire for propertyType to set. |
| Returns | |
|---|---|
| Type | Description |
PropertySummary.Builder |
This builder for chaining. |