Class CreateRollupPropertyRequest.Builder (0.64.0)

public static final class CreateRollupPropertyRequest.Builder extends GeneratedMessageV3.Builder<CreateRollupPropertyRequest.Builder> implements CreateRollupPropertyRequestOrBuilder

Request message for CreateRollupProperty RPC.

Protobuf type google.analytics.admin.v1alpha.CreateRollupPropertyRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSourceProperties(Iterable<String> values)

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];

Parameter
Name Description
values Iterable<String>

The sourceProperties to add.

Returns
Type Description
CreateRollupPropertyRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateRollupPropertyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateRollupPropertyRequest.Builder
Overrides

addSourceProperties(String value)

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];

Parameter
Name Description
value String

The sourceProperties to add.

Returns
Type Description
CreateRollupPropertyRequest.Builder

This builder for chaining.

addSourcePropertiesBytes(ByteString value)

public CreateRollupPropertyRequest.Builder addSourcePropertiesBytes(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];

Parameter
Name Description
value ByteString

The bytes of the sourceProperties to add.

Returns
Type Description
CreateRollupPropertyRequest.Builder

This builder for chaining.

build()

public CreateRollupPropertyRequest build()
Returns
Type Description
CreateRollupPropertyRequest

buildPartial()

public CreateRollupPropertyRequest buildPartial()
Returns
Type Description
CreateRollupPropertyRequest

clear()

public CreateRollupPropertyRequest.Builder clear()
Returns
Type Description
CreateRollupPropertyRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateRollupPropertyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateRollupPropertyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateRollupPropertyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateRollupPropertyRequest.Builder
Overrides

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];

Returns
Type Description
CreateRollupPropertyRequest.Builder

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
Type Description
CreateRollupPropertyRequest.Builder

This builder for chaining.

clone()

public CreateRollupPropertyRequest.Builder clone()
Returns
Type Description
CreateRollupPropertyRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateRollupPropertyRequest getDefaultInstanceForType()
Returns
Type Description
CreateRollupPropertyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRollupProperty()

public Property getRollupProperty()

Required. The roll-up property to create.

.google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Property

The rollupProperty.

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];

Returns
Type Description
Property.Builder

getRollupPropertyOrBuilder()

public PropertyOrBuilder getRollupPropertyOrBuilder()

Required. The roll-up property to create.

.google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PropertyOrBuilder

getSourceProperties(int index)

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];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sourceProperties at the given index.

getSourcePropertiesBytes(int index)

public 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];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sourceProperties at the given index.

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];

Returns
Type Description
int

The count of sourceProperties.

getSourcePropertiesList()

public 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];

Returns
Type Description
ProtocolStringList

A list containing the sourceProperties.

hasRollupProperty()

public boolean hasRollupProperty()

Required. The roll-up property to create.

.google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the rollupProperty field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateRollupPropertyRequest other)

public CreateRollupPropertyRequest.Builder mergeFrom(CreateRollupPropertyRequest other)
Parameter
Name Description
other CreateRollupPropertyRequest
Returns
Type Description
CreateRollupPropertyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateRollupPropertyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateRollupPropertyRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateRollupPropertyRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateRollupPropertyRequest.Builder
Overrides

mergeRollupProperty(Property value)

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];

Parameter
Name Description
value Property
Returns
Type Description
CreateRollupPropertyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateRollupPropertyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateRollupPropertyRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateRollupPropertyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateRollupPropertyRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateRollupPropertyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateRollupPropertyRequest.Builder
Overrides

setRollupProperty(Property value)

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];

Parameter
Name Description
value Property
Returns
Type Description
CreateRollupPropertyRequest.Builder

setRollupProperty(Property.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Property.Builder
Returns
Type Description
CreateRollupPropertyRequest.Builder

setSourceProperties(int index, String value)

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
Name Description
index int

The index to set the value at.

value String

The sourceProperties to set.

Returns
Type Description
CreateRollupPropertyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateRollupPropertyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateRollupPropertyRequest.Builder
Overrides