Class SetPropertyServiceLevelRequest.Builder (0.2.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

public SetPropertyServiceLevelRequest.Builder clone()
Returns
Type Description
SetPropertyServiceLevelRequest.Builder
Overrides
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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SetPropertyServiceLevelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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