Class CreateRollupPropertyRequest.Builder (0.44.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The sourceProperties to add.

Returns
TypeDescription
CreateRollupPropertyRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateRollupPropertyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
NameDescription
valueString

The sourceProperties to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the sourceProperties to add.

Returns
TypeDescription
CreateRollupPropertyRequest.Builder

This builder for chaining.

build()

public CreateRollupPropertyRequest build()
Returns
TypeDescription
CreateRollupPropertyRequest

buildPartial()

public CreateRollupPropertyRequest buildPartial()
Returns
TypeDescription
CreateRollupPropertyRequest

clear()

public CreateRollupPropertyRequest.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateRollupPropertyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateRollupPropertyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
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];

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
TypeDescription
CreateRollupPropertyRequest.Builder

This builder for chaining.

clone()

public CreateRollupPropertyRequest.Builder clone()
Overrides

getDefaultInstanceForType()

public CreateRollupPropertyRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateRollupPropertyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the rollupProperty field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateRollupPropertyRequest other)

public CreateRollupPropertyRequest.Builder mergeFrom(CreateRollupPropertyRequest other)
Parameter
NameDescription
otherCreateRollupPropertyRequest

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateRollupPropertyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateRollupPropertyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
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
NameDescription
valueProperty

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateRollupPropertyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateRollupPropertyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

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

public CreateRollupPropertyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
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
NameDescription
valueProperty

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
NameDescription
builderForValueProperty.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
NameDescription
indexint

The index to set the value at.

valueString

The sourceProperties to set.

Returns
TypeDescription
CreateRollupPropertyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateRollupPropertyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides