Class CreateRollupPropertyRequest.Builder

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

public static final class CreateRollupPropertyRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateRollupPropertyRequest.Builder> implements CreateRollupPropertyRequestOrBuilder
 Request message for CreateRollupProperty RPC.
 
Protobuf type google.analytics.admin.v1alpha.CreateRollupPropertyRequest
  • 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<CreateRollupPropertyRequest.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<CreateRollupPropertyRequest.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<CreateRollupPropertyRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public CreateRollupPropertyRequest.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<CreateRollupPropertyRequest.Builder>
      Throws:
      IOException
    • hasRollupProperty

      public boolean hasRollupProperty()
       Required. The roll-up property to create.
       
      .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasRollupProperty in interface CreateRollupPropertyRequestOrBuilder
      Returns:
      Whether the rollupProperty field is set.
    • getRollupProperty

      public Property getRollupProperty()
       Required. The roll-up property to create.
       
      .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRollupProperty in interface CreateRollupPropertyRequestOrBuilder
      Returns:
      The rollupProperty.
    • setRollupProperty

      public CreateRollupPropertyRequest.Builder setRollupProperty(Property value)
       Required. The roll-up property to create.
       
      .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];
    • setRollupProperty

      public CreateRollupPropertyRequest.Builder setRollupProperty(Property.Builder builderForValue)
       Required. The roll-up property to create.
       
      .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeRollupProperty

      public CreateRollupPropertyRequest.Builder mergeRollupProperty(Property value)
       Required. The roll-up property to create.
       
      .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearRollupProperty

      public CreateRollupPropertyRequest.Builder clearRollupProperty()
       Required. The roll-up property to create.
       
      .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRollupPropertyBuilder

      public Property.Builder getRollupPropertyBuilder()
       Required. The roll-up property to create.
       
      .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRollupPropertyOrBuilder

      public PropertyOrBuilder getRollupPropertyOrBuilder()
       Required. The roll-up property to create.
       
      .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRollupPropertyOrBuilder in interface CreateRollupPropertyRequestOrBuilder
    • getSourcePropertiesList

      public com.google.protobuf.ProtocolStringList getSourcePropertiesList()
       Optional. The resource names of properties that will be sources to the
       created roll-up property.
       
      repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSourcePropertiesList in interface CreateRollupPropertyRequestOrBuilder
      Returns:
      A list containing the sourceProperties.
    • getSourcePropertiesCount

      public int getSourcePropertiesCount()
       Optional. The resource names of properties that will be sources to the
       created roll-up property.
       
      repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSourcePropertiesCount in interface CreateRollupPropertyRequestOrBuilder
      Returns:
      The count of sourceProperties.
    • getSourceProperties

      public String getSourceProperties(int index)
       Optional. The resource names of properties that will be sources to the
       created roll-up property.
       
      repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSourceProperties in interface CreateRollupPropertyRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The sourceProperties at the given index.
    • getSourcePropertiesBytes

      public com.google.protobuf.ByteString getSourcePropertiesBytes(int index)
       Optional. The resource names of properties that will be sources to the
       created roll-up property.
       
      repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSourcePropertiesBytes in interface CreateRollupPropertyRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sourceProperties at the given index.
    • setSourceProperties

      public CreateRollupPropertyRequest.Builder setSourceProperties(int index, String value)
       Optional. The resource names of properties that will be sources to the
       created roll-up property.
       
      repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The sourceProperties to set.
      Returns:
      This builder for chaining.
    • addSourceProperties

      public CreateRollupPropertyRequest.Builder addSourceProperties(String value)
       Optional. The resource names of properties that will be sources to the
       created roll-up property.
       
      repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The sourceProperties to add.
      Returns:
      This builder for chaining.
    • addAllSourceProperties

      public CreateRollupPropertyRequest.Builder addAllSourceProperties(Iterable<String> values)
       Optional. The resource names of properties that will be sources to the
       created roll-up property.
       
      repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The sourceProperties to add.
      Returns:
      This builder for chaining.
    • clearSourceProperties

      public CreateRollupPropertyRequest.Builder clearSourceProperties()
       Optional. The resource names of properties that will be sources to the
       created roll-up property.
       
      repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addSourcePropertiesBytes

      public CreateRollupPropertyRequest.Builder addSourcePropertiesBytes(com.google.protobuf.ByteString value)
       Optional. The resource names of properties that will be sources to the
       created roll-up property.
       
      repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the sourceProperties to add.
      Returns:
      This builder for chaining.