Class SetPropertyServiceLevelRequest.Builder (0.34.0)

public static final class SetPropertyServiceLevelRequest.Builder extends GeneratedMessage.Builder<SetPropertyServiceLevelRequest.Builder> implements SetPropertyServiceLevelRequestOrBuilder

Request message for SetPropertyServiceLevel RPC.

Protobuf type google.marketingplatform.admin.v1alpha.SetPropertyServiceLevelRequest

Static Methods

getDescriptor()

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

Methods

build()

public SetPropertyServiceLevelRequest build()
Returns
Type Description
SetPropertyServiceLevelRequest

buildPartial()

public SetPropertyServiceLevelRequest buildPartial()
Returns
Type Description
SetPropertyServiceLevelRequest

clear()

public SetPropertyServiceLevelRequest.Builder clear()
Returns
Type Description
SetPropertyServiceLevelRequest.Builder
Overrides
public SetPropertyServiceLevelRequest.Builder clearAnalyticsAccountLink()

Required. The parent AnalyticsAccountLink scope where this property is in. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id}

string analytics_account_link = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SetPropertyServiceLevelRequest.Builder

This builder for chaining.

clearAnalyticsProperty()

public SetPropertyServiceLevelRequest.Builder clearAnalyticsProperty()

Required. The Analytics property to change the ServiceLevel setting. This field is the name of the Google Analytics Admin API property resource.

Format: analyticsadmin.googleapis.com/properties/{property_id}

string analytics_property = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
SetPropertyServiceLevelRequest.Builder

This builder for chaining.

clearServiceLevel()

public SetPropertyServiceLevelRequest.Builder clearServiceLevel()

Required. The service level to set for this property.

.google.marketingplatform.admin.v1alpha.AnalyticsServiceLevel service_level = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SetPropertyServiceLevelRequest.Builder

This builder for chaining.

public String getAnalyticsAccountLink()

Required. The parent AnalyticsAccountLink scope where this property is in. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id}

string analytics_account_link = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The analyticsAccountLink.

getAnalyticsAccountLinkBytes()

public ByteString getAnalyticsAccountLinkBytes()

Required. The parent AnalyticsAccountLink scope where this property is in. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id}

string analytics_account_link = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for analyticsAccountLink.

getAnalyticsProperty()

public String getAnalyticsProperty()

Required. The Analytics property to change the ServiceLevel setting. This field is the name of the Google Analytics Admin API property resource.

Format: analyticsadmin.googleapis.com/properties/{property_id}

string analytics_property = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The analyticsProperty.

getAnalyticsPropertyBytes()

public ByteString getAnalyticsPropertyBytes()

Required. The Analytics property to change the ServiceLevel setting. This field is the name of the Google Analytics Admin API property resource.

Format: analyticsadmin.googleapis.com/properties/{property_id}

string analytics_property = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for analyticsProperty.

getDefaultInstanceForType()

public SetPropertyServiceLevelRequest getDefaultInstanceForType()
Returns
Type Description
SetPropertyServiceLevelRequest

getDescriptorForType()

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

getServiceLevel()

public AnalyticsServiceLevel getServiceLevel()

Required. The service level to set for this property.

.google.marketingplatform.admin.v1alpha.AnalyticsServiceLevel service_level = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AnalyticsServiceLevel

The serviceLevel.

getServiceLevelValue()

public int getServiceLevelValue()

Required. The service level to set for this property.

.google.marketingplatform.admin.v1alpha.AnalyticsServiceLevel service_level = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for serviceLevel.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SetPropertyServiceLevelRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SetPropertyServiceLevelRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SetPropertyServiceLevelRequest.Builder
Overrides
public SetPropertyServiceLevelRequest.Builder setAnalyticsAccountLink(String value)

Required. The parent AnalyticsAccountLink scope where this property is in. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id}

string analytics_account_link = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The analyticsAccountLink to set.

Returns
Type Description
SetPropertyServiceLevelRequest.Builder

This builder for chaining.

setAnalyticsAccountLinkBytes(ByteString value)

public SetPropertyServiceLevelRequest.Builder setAnalyticsAccountLinkBytes(ByteString value)

Required. The parent AnalyticsAccountLink scope where this property is in. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id}

string analytics_account_link = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for analyticsAccountLink to set.

Returns
Type Description
SetPropertyServiceLevelRequest.Builder

This builder for chaining.

setAnalyticsProperty(String value)

public SetPropertyServiceLevelRequest.Builder setAnalyticsProperty(String value)

Required. The Analytics property to change the ServiceLevel setting. This field is the name of the Google Analytics Admin API property resource.

Format: analyticsadmin.googleapis.com/properties/{property_id}

string analytics_property = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The analyticsProperty to set.

Returns
Type Description
SetPropertyServiceLevelRequest.Builder

This builder for chaining.

setAnalyticsPropertyBytes(ByteString value)

public SetPropertyServiceLevelRequest.Builder setAnalyticsPropertyBytes(ByteString value)

Required. The Analytics property to change the ServiceLevel setting. This field is the name of the Google Analytics Admin API property resource.

Format: analyticsadmin.googleapis.com/properties/{property_id}

string analytics_property = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for analyticsProperty to set.

Returns
Type Description
SetPropertyServiceLevelRequest.Builder

This builder for chaining.

setServiceLevel(AnalyticsServiceLevel value)

public SetPropertyServiceLevelRequest.Builder setServiceLevel(AnalyticsServiceLevel value)

Required. The service level to set for this property.

.google.marketingplatform.admin.v1alpha.AnalyticsServiceLevel service_level = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AnalyticsServiceLevel

The serviceLevel to set.

Returns
Type Description
SetPropertyServiceLevelRequest.Builder

This builder for chaining.

setServiceLevelValue(int value)

public SetPropertyServiceLevelRequest.Builder setServiceLevelValue(int value)

Required. The service level to set for this property.

.google.marketingplatform.admin.v1alpha.AnalyticsServiceLevel service_level = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for serviceLevel to set.

Returns
Type Description
SetPropertyServiceLevelRequest.Builder

This builder for chaining.