Class SubpropertyEventFilter.Builder

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

public static final class SubpropertyEventFilter.Builder extends com.google.protobuf.GeneratedMessage.Builder<SubpropertyEventFilter.Builder> implements SubpropertyEventFilterOrBuilder
 A resource message representing a Google Analytics subproperty event filter.
 
Protobuf type google.analytics.admin.v1alpha.SubpropertyEventFilter
  • 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<SubpropertyEventFilter.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<SubpropertyEventFilter.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<SubpropertyEventFilter.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getName()
       Output only. Format:
       properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter}
       Example: properties/1234/subpropertyEventFilters/5678
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface SubpropertyEventFilterOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. Format:
       properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter}
       Example: properties/1234/subpropertyEventFilters/5678
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface SubpropertyEventFilterOrBuilder
      Returns:
      The bytes for name.
    • setName

      public SubpropertyEventFilter.Builder setName(String value)
       Output only. Format:
       properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter}
       Example: properties/1234/subpropertyEventFilters/5678
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public SubpropertyEventFilter.Builder clearName()
       Output only. Format:
       properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter}
       Example: properties/1234/subpropertyEventFilters/5678
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public SubpropertyEventFilter.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. Format:
       properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter}
       Example: properties/1234/subpropertyEventFilters/5678
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasApplyToProperty

      public boolean hasApplyToProperty()
       Immutable. Resource name of the Subproperty that uses this filter.
       
      optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasApplyToProperty in interface SubpropertyEventFilterOrBuilder
      Returns:
      Whether the applyToProperty field is set.
    • getApplyToProperty

      public String getApplyToProperty()
       Immutable. Resource name of the Subproperty that uses this filter.
       
      optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getApplyToProperty in interface SubpropertyEventFilterOrBuilder
      Returns:
      The applyToProperty.
    • getApplyToPropertyBytes

      public com.google.protobuf.ByteString getApplyToPropertyBytes()
       Immutable. Resource name of the Subproperty that uses this filter.
       
      optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getApplyToPropertyBytes in interface SubpropertyEventFilterOrBuilder
      Returns:
      The bytes for applyToProperty.
    • setApplyToProperty

      public SubpropertyEventFilter.Builder setApplyToProperty(String value)
       Immutable. Resource name of the Subproperty that uses this filter.
       
      optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The applyToProperty to set.
      Returns:
      This builder for chaining.
    • clearApplyToProperty

      public SubpropertyEventFilter.Builder clearApplyToProperty()
       Immutable. Resource name of the Subproperty that uses this filter.
       
      optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setApplyToPropertyBytes

      public SubpropertyEventFilter.Builder setApplyToPropertyBytes(com.google.protobuf.ByteString value)
       Immutable. Resource name of the Subproperty that uses this filter.
       
      optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for applyToProperty to set.
      Returns:
      This builder for chaining.
    • getFilterClausesList

      public List<SubpropertyEventFilterClause> getFilterClausesList()
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getFilterClausesList in interface SubpropertyEventFilterOrBuilder
    • getFilterClausesCount

      public int getFilterClausesCount()
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getFilterClausesCount in interface SubpropertyEventFilterOrBuilder
    • getFilterClauses

      public SubpropertyEventFilterClause getFilterClauses(int index)
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getFilterClauses in interface SubpropertyEventFilterOrBuilder
    • setFilterClauses

      public SubpropertyEventFilter.Builder setFilterClauses(int index, SubpropertyEventFilterClause value)
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
    • setFilterClauses

      public SubpropertyEventFilter.Builder setFilterClauses(int index, SubpropertyEventFilterClause.Builder builderForValue)
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
    • addFilterClauses

       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
    • addFilterClauses

      public SubpropertyEventFilter.Builder addFilterClauses(int index, SubpropertyEventFilterClause value)
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
    • addFilterClauses

      public SubpropertyEventFilter.Builder addFilterClauses(SubpropertyEventFilterClause.Builder builderForValue)
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
    • addFilterClauses

      public SubpropertyEventFilter.Builder addFilterClauses(int index, SubpropertyEventFilterClause.Builder builderForValue)
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
    • addAllFilterClauses

      public SubpropertyEventFilter.Builder addAllFilterClauses(Iterable<? extends SubpropertyEventFilterClause> values)
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
    • clearFilterClauses

      public SubpropertyEventFilter.Builder clearFilterClauses()
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
    • removeFilterClauses

      public SubpropertyEventFilter.Builder removeFilterClauses(int index)
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
    • getFilterClausesBuilder

      public SubpropertyEventFilterClause.Builder getFilterClausesBuilder(int index)
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
    • getFilterClausesOrBuilder

      public SubpropertyEventFilterClauseOrBuilder getFilterClausesOrBuilder(int index)
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getFilterClausesOrBuilder in interface SubpropertyEventFilterOrBuilder
    • getFilterClausesOrBuilderList

      public List<? extends SubpropertyEventFilterClauseOrBuilder> getFilterClausesOrBuilderList()
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getFilterClausesOrBuilderList in interface SubpropertyEventFilterOrBuilder
    • addFilterClausesBuilder

      public SubpropertyEventFilterClause.Builder addFilterClausesBuilder()
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
    • addFilterClausesBuilder

      public SubpropertyEventFilterClause.Builder addFilterClausesBuilder(int index)
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
    • getFilterClausesBuilderList

      public List<SubpropertyEventFilterClause.Builder> getFilterClausesBuilderList()
       Required. Unordered list. Filter clauses that define the
       SubpropertyEventFilter. All clauses are AND'ed together to determine what
       data is sent to the subproperty.
       
      repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];