Class RollupPropertySourceLink.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RollupPropertySourceLink.Builder>
com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder
All Implemented Interfaces:
RollupPropertySourceLinkOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RollupPropertySourceLink

public static final class RollupPropertySourceLink.Builder extends com.google.protobuf.GeneratedMessage.Builder<RollupPropertySourceLink.Builder> implements RollupPropertySourceLinkOrBuilder
 A link that references a source property under the parent rollup property.
 
Protobuf type google.analytics.admin.v1alpha.RollupPropertySourceLink
  • 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<RollupPropertySourceLink.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<RollupPropertySourceLink.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<RollupPropertySourceLink.Builder>
    • getDefaultInstanceForType

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

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

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

      public RollupPropertySourceLink.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<RollupPropertySourceLink.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RollupPropertySourceLink.Builder>
    • mergeFrom

      public RollupPropertySourceLink.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<RollupPropertySourceLink.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. Resource name of this RollupPropertySourceLink.
       Format:
       'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}'
       Format: 'properties/123/rollupPropertySourceLinks/456'
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface RollupPropertySourceLinkOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. Resource name of this RollupPropertySourceLink.
       Format:
       'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}'
       Format: 'properties/123/rollupPropertySourceLinks/456'
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface RollupPropertySourceLinkOrBuilder
      Returns:
      The bytes for name.
    • setName

      public RollupPropertySourceLink.Builder setName(String value)
       Output only. Resource name of this RollupPropertySourceLink.
       Format:
       'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}'
       Format: 'properties/123/rollupPropertySourceLinks/456'
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Output only. Resource name of this RollupPropertySourceLink.
       Format:
       'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}'
       Format: 'properties/123/rollupPropertySourceLinks/456'
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public RollupPropertySourceLink.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. Resource name of this RollupPropertySourceLink.
       Format:
       'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}'
       Format: 'properties/123/rollupPropertySourceLinks/456'
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getSourceProperty

      public String getSourceProperty()
       Immutable. Resource name of the source property.
       Format: properties/{property_id}
       Example: "properties/789"
       
      string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getSourceProperty in interface RollupPropertySourceLinkOrBuilder
      Returns:
      The sourceProperty.
    • getSourcePropertyBytes

      public com.google.protobuf.ByteString getSourcePropertyBytes()
       Immutable. Resource name of the source property.
       Format: properties/{property_id}
       Example: "properties/789"
       
      string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getSourcePropertyBytes in interface RollupPropertySourceLinkOrBuilder
      Returns:
      The bytes for sourceProperty.
    • setSourceProperty

      public RollupPropertySourceLink.Builder setSourceProperty(String value)
       Immutable. Resource name of the source property.
       Format: properties/{property_id}
       Example: "properties/789"
       
      string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The sourceProperty to set.
      Returns:
      This builder for chaining.
    • clearSourceProperty

      public RollupPropertySourceLink.Builder clearSourceProperty()
       Immutable. Resource name of the source property.
       Format: properties/{property_id}
       Example: "properties/789"
       
      string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setSourcePropertyBytes

      public RollupPropertySourceLink.Builder setSourcePropertyBytes(com.google.protobuf.ByteString value)
       Immutable. Resource name of the source property.
       Format: properties/{property_id}
       Example: "properties/789"
       
      string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for sourceProperty to set.
      Returns:
      This builder for chaining.