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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PropertySummary.Builder>
    • clear

      public PropertySummary.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<PropertySummary.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<PropertySummary.Builder>
    • getDefaultInstanceForType

      public PropertySummary getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public PropertySummary build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PropertySummary buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public PropertySummary.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PropertySummary.Builder>
    • mergeFrom

      public PropertySummary.Builder mergeFrom(PropertySummary other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PropertySummary.Builder>
      Throws:
      IOException
    • 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) = { ... }
      Specified by:
      getProperty in interface PropertySummaryOrBuilder
      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:
      getPropertyBytes in interface PropertySummaryOrBuilder
      Returns:
      The bytes for property.
    • setProperty

      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) = { ... }
      Parameters:
      value - The property to set.
      Returns:
      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:
      This builder for chaining.
    • setPropertyBytes

      public PropertySummary.Builder setPropertyBytes(com.google.protobuf.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) = { ... }
      Parameters:
      value - The bytes for property to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Display name for the property referred to in this property summary.
       
      string display_name = 2;
      Specified by:
      getDisplayName in interface PropertySummaryOrBuilder
      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:
      getDisplayNameBytes in interface PropertySummaryOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public PropertySummary.Builder setDisplayName(String value)
       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

      public PropertySummary.Builder clearDisplayName()
       Display name for the property referred to in this property summary.
       
      string display_name = 2;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public PropertySummary.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       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:
      getPropertyTypeValue in interface PropertySummaryOrBuilder
      Returns:
      The enum numeric value on the wire for propertyType.
    • setPropertyTypeValue

      public PropertySummary.Builder setPropertyTypeValue(int value)
       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

      public PropertyType getPropertyType()
       The property's property type.
       
      .google.analytics.admin.v1beta.PropertyType property_type = 3;
      Specified by:
      getPropertyType in interface PropertySummaryOrBuilder
      Returns:
      The propertyType.
    • setPropertyType

      public PropertySummary.Builder setPropertyType(PropertyType value)
       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

      public PropertySummary.Builder clearPropertyType()
       The property's property type.
       
      .google.analytics.admin.v1beta.PropertyType property_type = 3;
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      getParent in interface PropertySummaryOrBuilder
      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:
      getParentBytes in interface PropertySummaryOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      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;
      Parameters:
      value - The parent to set.
      Returns:
      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:
      This builder for chaining.
    • setParentBytes

      public PropertySummary.Builder setParentBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.