Class RollupPropertySourceLink.Builder (0.93.0)

public static final class RollupPropertySourceLink.Builder extends 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

Static Methods

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

Methods

public RollupPropertySourceLink build()
Returns
Type Description
RollupPropertySourceLink
public RollupPropertySourceLink buildPartial()
Returns
Type Description
RollupPropertySourceLink
public RollupPropertySourceLink.Builder clear()
Returns
Type Description
RollupPropertySourceLink.Builder
Overrides
public RollupPropertySourceLink.Builder 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
Type Description
RollupPropertySourceLink.Builder

This builder for chaining.

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

This builder for chaining.

public RollupPropertySourceLink getDefaultInstanceForType()
Returns
Type Description
RollupPropertySourceLink
public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
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];

Returns
Type Description
String

The name.

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

Returns
Type Description
ByteString

The bytes for name.

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

Returns
Type Description
String

The sourceProperty.

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

Returns
Type Description
ByteString

The bytes for sourceProperty.

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public RollupPropertySourceLink.Builder mergeFrom(RollupPropertySourceLink other)
Parameter
Name Description
other RollupPropertySourceLink
Returns
Type Description
RollupPropertySourceLink.Builder
public RollupPropertySourceLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RollupPropertySourceLink.Builder
Overrides
Exceptions
Type Description
IOException
public RollupPropertySourceLink.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RollupPropertySourceLink.Builder
Overrides
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];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
RollupPropertySourceLink.Builder

This builder for chaining.

public RollupPropertySourceLink.Builder setNameBytes(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];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
RollupPropertySourceLink.Builder

This builder for chaining.

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

Parameter
Name Description
value String

The sourceProperty to set.

Returns
Type Description
RollupPropertySourceLink.Builder

This builder for chaining.

public RollupPropertySourceLink.Builder setSourcePropertyBytes(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];

Parameter
Name Description
value ByteString

The bytes for sourceProperty to set.

Returns
Type Description
RollupPropertySourceLink.Builder

This builder for chaining.