Class PropertySummary.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PropertySummary.Builder>
com.google.analytics.admin.v1beta.PropertySummary.Builder
- All Implemented Interfaces:
PropertySummaryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PropertySummary
public static final class PropertySummary.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PropertySummary.Builder>
implements PropertySummaryOrBuilder
A virtual resource representing metadata for a Google Analytics property.Protobuf type
google.analytics.admin.v1beta.PropertySummary-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Display name for the property referred to in this property summary.Resource name of this property's logical parent.Resource name of property referred to by this property summary Format: properties/{property_id} Example: "properties/1000"The property's property type.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDisplay name for the property referred to in this property summary.com.google.protobuf.ByteStringDisplay name for the property referred to in this property summary.Resource name of this property's logical parent.com.google.protobuf.ByteStringResource name of this property's logical parent.Resource name of property referred to by this property summary Format: properties/{property_id} Example: "properties/1000"com.google.protobuf.ByteStringResource name of property referred to by this property summary Format: properties/{property_id} Example: "properties/1000"The property's property type.intThe property's property type.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(PropertySummary other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDisplayName(String value) Display name for the property referred to in this property summary.setDisplayNameBytes(com.google.protobuf.ByteString value) Display name for the property referred to in this property summary.Resource name of this property's logical parent.setParentBytes(com.google.protobuf.ByteString value) Resource name of this property's logical parent.setProperty(String value) Resource name of property referred to by this property summary Format: properties/{property_id} Example: "properties/1000"setPropertyBytes(com.google.protobuf.ByteString value) Resource name of property referred to by this property summary Format: properties/{property_id} Example: "properties/1000"setPropertyType(PropertyType value) The property's property type.setPropertyTypeValue(int value) The property's property type.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PropertySummary.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PropertySummary.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PropertySummary.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PropertySummary.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PropertySummary.Builder>
-
mergeFrom
public PropertySummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PropertySummary.Builder>- Throws:
IOException
-
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) = { ... }- Specified by:
getPropertyin interfacePropertySummaryOrBuilder- Returns:
- The property.
-
getPropertyBytes
public com.google.protobuf.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) = { ... }- Specified by:
getPropertyBytesin interfacePropertySummaryOrBuilder- Returns:
- The bytes for property.
-
setProperty
Resource name of property referred to by this property summary Format: properties/{property_id} Example: "properties/1000"string property = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The property to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setPropertyBytes
Resource name of property referred to by this property summary Format: properties/{property_id} Example: "properties/1000"string property = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for property to set.- Returns:
- This builder for chaining.
-
getDisplayName
Display name for the property referred to in this property summary.
string display_name = 2;- Specified by:
getDisplayNamein interfacePropertySummaryOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Display name for the property referred to in this property summary.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfacePropertySummaryOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Display name for the property referred to in this property summary.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Display name for the property referred to in this property summary.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Display name for the property referred to in this property summary.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getPropertyTypeValue
public int getPropertyTypeValue()The property's property type.
.google.analytics.admin.v1beta.PropertyType property_type = 3;- Specified by:
getPropertyTypeValuein interfacePropertySummaryOrBuilder- Returns:
- The enum numeric value on the wire for propertyType.
-
setPropertyTypeValue
The property's property type.
.google.analytics.admin.v1beta.PropertyType property_type = 3;- Parameters:
value- The enum numeric value on the wire for propertyType to set.- Returns:
- This builder for chaining.
-
getPropertyType
The property's property type.
.google.analytics.admin.v1beta.PropertyType property_type = 3;- Specified by:
getPropertyTypein interfacePropertySummaryOrBuilder- Returns:
- The propertyType.
-
setPropertyType
The property's property type.
.google.analytics.admin.v1beta.PropertyType property_type = 3;- Parameters:
value- The propertyType to set.- Returns:
- This builder for chaining.
-
clearPropertyType
The property's property type.
.google.analytics.admin.v1beta.PropertyType property_type = 3;- Returns:
- This builder for chaining.
-
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;- Specified by:
getParentin interfacePropertySummaryOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.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;- Specified by:
getParentBytesin interfacePropertySummaryOrBuilder- Returns:
- The bytes for parent.
-
setParent
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;- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setParentBytes
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;- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-