Class SetPropertyServiceLevelRequest (0.4.0)

public final class SetPropertyServiceLevelRequest extends GeneratedMessageV3 implements SetPropertyServiceLevelRequestOrBuilder

Request message for SetPropertyServiceLevel RPC.

Protobuf type google.marketingplatform.admin.v1alpha.SetPropertyServiceLevelRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SetPropertyServiceLevelRequest

Static Fields

public static final int ANALYTICS_ACCOUNT_LINK_FIELD_NUMBER
Field Value
Type Description
int

ANALYTICS_PROPERTY_FIELD_NUMBER

public static final int ANALYTICS_PROPERTY_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_LEVEL_FIELD_NUMBER

public static final int SERVICE_LEVEL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SetPropertyServiceLevelRequest getDefaultInstance()
Returns
Type Description
SetPropertyServiceLevelRequest

getDescriptor()

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

newBuilder()

public static SetPropertyServiceLevelRequest.Builder newBuilder()
Returns
Type Description
SetPropertyServiceLevelRequest.Builder

newBuilder(SetPropertyServiceLevelRequest prototype)

public static SetPropertyServiceLevelRequest.Builder newBuilder(SetPropertyServiceLevelRequest prototype)
Parameter
Name Description
prototype SetPropertyServiceLevelRequest
Returns
Type Description
SetPropertyServiceLevelRequest.Builder

parseDelimitedFrom(InputStream input)

public static SetPropertyServiceLevelRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SetPropertyServiceLevelRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SetPropertyServiceLevelRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetPropertyServiceLevelRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SetPropertyServiceLevelRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SetPropertyServiceLevelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SetPropertyServiceLevelRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetPropertyServiceLevelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SetPropertyServiceLevelRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SetPropertyServiceLevelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SetPropertyServiceLevelRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetPropertyServiceLevelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SetPropertyServiceLevelRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SetPropertyServiceLevelRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SetPropertyServiceLevelRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetPropertyServiceLevelRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SetPropertyServiceLevelRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SetPropertyServiceLevelRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SetPropertyServiceLevelRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetPropertyServiceLevelRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SetPropertyServiceLevelRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SetPropertyServiceLevelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SetPropertyServiceLevelRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetPropertyServiceLevelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SetPropertyServiceLevelRequest> parser()
Returns
Type Description
Parser<SetPropertyServiceLevelRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<SetPropertyServiceLevelRequest> getParserForType()
Returns
Type Description
Parser<SetPropertyServiceLevelRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SetPropertyServiceLevelRequest.Builder newBuilderForType()
Returns
Type Description
SetPropertyServiceLevelRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SetPropertyServiceLevelRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SetPropertyServiceLevelRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SetPropertyServiceLevelRequest.Builder toBuilder()
Returns
Type Description
SetPropertyServiceLevelRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException