Class SetPropertyServiceLevelRequest.Builder (0.27.0)

publicstaticfinalclass SetPropertyServiceLevelRequest.BuilderextendsGeneratedMessageV3.Builder<SetPropertyServiceLevelRequest.Builder>implementsSetPropertyServiceLevelRequestOrBuilder

Request message for SetPropertyServiceLevel RPC.

Protobuf type google.marketingplatform.admin.v1alpha.SetPropertyServiceLevelRequest

Inherited Members

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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicSetPropertyServiceLevelRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SetPropertyServiceLevelRequest.Builder
Overrides

build()

publicSetPropertyServiceLevelRequestbuild()
Returns
Type Description
SetPropertyServiceLevelRequest

buildPartial()

publicSetPropertyServiceLevelRequestbuildPartial()
Returns
Type Description
SetPropertyServiceLevelRequest

clear()

publicSetPropertyServiceLevelRequest.Builderclear()
Returns
Type Description
SetPropertyServiceLevelRequest.Builder
Overrides
publicSetPropertyServiceLevelRequest.BuilderclearAnalyticsAccountLink()

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()

publicSetPropertyServiceLevelRequest.BuilderclearAnalyticsProperty()

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)

publicSetPropertyServiceLevelRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SetPropertyServiceLevelRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicSetPropertyServiceLevelRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SetPropertyServiceLevelRequest.Builder
Overrides

clearServiceLevel()

publicSetPropertyServiceLevelRequest.BuilderclearServiceLevel()

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()

publicSetPropertyServiceLevelRequest.Builderclone()
Returns
Type Description
SetPropertyServiceLevelRequest.Builder
Overrides
publicStringgetAnalyticsAccountLink()

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()

publicByteStringgetAnalyticsAccountLinkBytes()

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()

publicStringgetAnalyticsProperty()

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()

publicByteStringgetAnalyticsPropertyBytes()

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()

publicSetPropertyServiceLevelRequestgetDefaultInstanceForType()
Returns
Type Description
SetPropertyServiceLevelRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getServiceLevel()

publicAnalyticsServiceLevelgetServiceLevel()

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()

publicintgetServiceLevelValue()

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()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SetPropertyServiceLevelRequest other)

publicSetPropertyServiceLevelRequest.BuildermergeFrom(SetPropertyServiceLevelRequestother)
Parameter
Name Description
other SetPropertyServiceLevelRequest
Returns
Type Description
SetPropertyServiceLevelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicSetPropertyServiceLevelRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetPropertyServiceLevelRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicSetPropertyServiceLevelRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
SetPropertyServiceLevelRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalSetPropertyServiceLevelRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SetPropertyServiceLevelRequest.Builder
Overrides
publicSetPropertyServiceLevelRequest.BuildersetAnalyticsAccountLink(Stringvalue)

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)

publicSetPropertyServiceLevelRequest.BuildersetAnalyticsAccountLinkBytes(ByteStringvalue)

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)

publicSetPropertyServiceLevelRequest.BuildersetAnalyticsProperty(Stringvalue)

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)

publicSetPropertyServiceLevelRequest.BuildersetAnalyticsPropertyBytes(ByteStringvalue)

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)

publicSetPropertyServiceLevelRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SetPropertyServiceLevelRequest.Builder
Overrides

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

publicSetPropertyServiceLevelRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SetPropertyServiceLevelRequest.Builder
Overrides

setServiceLevel(AnalyticsServiceLevel value)

publicSetPropertyServiceLevelRequest.BuildersetServiceLevel(AnalyticsServiceLevelvalue)

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)

publicSetPropertyServiceLevelRequest.BuildersetServiceLevelValue(intvalue)

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)

publicfinalSetPropertyServiceLevelRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SetPropertyServiceLevelRequest.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.