Class ChangeHistoryChange.ChangeHistoryResource (0.21.0)

public static final class ChangeHistoryChange.ChangeHistoryResource extends GeneratedMessageV3 implements ChangeHistoryChange.ChangeHistoryResourceOrBuilder

A snapshot of a resource as before or after the result of a change in change history.

Protobuf type google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ChangeHistoryChange.ChangeHistoryResource

Static Fields

ACCOUNT_FIELD_NUMBER

public static final int ACCOUNT_FIELD_NUMBER
Field Value
TypeDescription
int

CONVERSION_EVENT_FIELD_NUMBER

public static final int CONVERSION_EVENT_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_RETENTION_SETTINGS_FIELD_NUMBER

public static final int DATA_RETENTION_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_STREAM_FIELD_NUMBER

public static final int DATA_STREAM_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int FIREBASE_LINK_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int GOOGLE_ADS_LINK_FIELD_NUMBER
Field Value
TypeDescription
int

MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER

public static final int MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER
Field Value
TypeDescription
int

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ChangeHistoryChange.ChangeHistoryResource getDefaultInstance()
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ChangeHistoryChange.ChangeHistoryResource.Builder newBuilder()
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource.Builder

newBuilder(ChangeHistoryChange.ChangeHistoryResource prototype)

public static ChangeHistoryChange.ChangeHistoryResource.Builder newBuilder(ChangeHistoryChange.ChangeHistoryResource prototype)
Parameter
NameDescription
prototypeChangeHistoryChange.ChangeHistoryResource
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource.Builder

parseDelimitedFrom(InputStream input)

public static ChangeHistoryChange.ChangeHistoryResource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryChange.ChangeHistoryResource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ChangeHistoryChange.ChangeHistoryResource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryChange.ChangeHistoryResource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ChangeHistoryChange.ChangeHistoryResource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryChange.ChangeHistoryResource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ChangeHistoryChange.ChangeHistoryResource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryChange.ChangeHistoryResource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ChangeHistoryChange.ChangeHistoryResource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryChange.ChangeHistoryResource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ChangeHistoryChange.ChangeHistoryResource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryChange.ChangeHistoryResource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ChangeHistoryChange.ChangeHistoryResource> parser()
Returns
TypeDescription
Parser<ChangeHistoryResource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAccount()

public Account getAccount()

A snapshot of an Account resource in change history.

.google.analytics.admin.v1beta.Account account = 1;

Returns
TypeDescription
Account

The account.

getAccountOrBuilder()

public AccountOrBuilder getAccountOrBuilder()

A snapshot of an Account resource in change history.

.google.analytics.admin.v1beta.Account account = 1;

Returns
TypeDescription
AccountOrBuilder

getConversionEvent()

public ConversionEvent getConversionEvent()

A snapshot of a ConversionEvent resource in change history.

.google.analytics.admin.v1beta.ConversionEvent conversion_event = 11;

Returns
TypeDescription
ConversionEvent

The conversionEvent.

getConversionEventOrBuilder()

public ConversionEventOrBuilder getConversionEventOrBuilder()

A snapshot of a ConversionEvent resource in change history.

.google.analytics.admin.v1beta.ConversionEvent conversion_event = 11;

Returns
TypeDescription
ConversionEventOrBuilder

getDataRetentionSettings()

public DataRetentionSettings getDataRetentionSettings()

A snapshot of a data retention settings resource in change history.

.google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15;

Returns
TypeDescription
DataRetentionSettings

The dataRetentionSettings.

getDataRetentionSettingsOrBuilder()

public DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder()

A snapshot of a data retention settings resource in change history.

.google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15;

Returns
TypeDescription
DataRetentionSettingsOrBuilder

getDataStream()

public DataStream getDataStream()

A snapshot of a DataStream resource in change history.

.google.analytics.admin.v1beta.DataStream data_stream = 18;

Returns
TypeDescription
DataStream

The dataStream.

getDataStreamOrBuilder()

public DataStreamOrBuilder getDataStreamOrBuilder()

A snapshot of a DataStream resource in change history.

.google.analytics.admin.v1beta.DataStream data_stream = 18;

Returns
TypeDescription
DataStreamOrBuilder

getDefaultInstanceForType()

public ChangeHistoryChange.ChangeHistoryResource getDefaultInstanceForType()
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource
public FirebaseLink getFirebaseLink()

A snapshot of a FirebaseLink resource in change history.

.google.analytics.admin.v1beta.FirebaseLink firebase_link = 6;

Returns
TypeDescription
FirebaseLink

The firebaseLink.

getFirebaseLinkOrBuilder()

public FirebaseLinkOrBuilder getFirebaseLinkOrBuilder()

A snapshot of a FirebaseLink resource in change history.

.google.analytics.admin.v1beta.FirebaseLink firebase_link = 6;

Returns
TypeDescription
FirebaseLinkOrBuilder
public GoogleAdsLink getGoogleAdsLink()

A snapshot of a GoogleAdsLink resource in change history.

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7;

Returns
TypeDescription
GoogleAdsLink

The googleAdsLink.

getGoogleAdsLinkOrBuilder()

public GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder()

A snapshot of a GoogleAdsLink resource in change history.

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7;

Returns
TypeDescription
GoogleAdsLinkOrBuilder

getMeasurementProtocolSecret()

public MeasurementProtocolSecret getMeasurementProtocolSecret()

A snapshot of a MeasurementProtocolSecret resource in change history.

.google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12;

Returns
TypeDescription
MeasurementProtocolSecret

The measurementProtocolSecret.

getMeasurementProtocolSecretOrBuilder()

public MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder()

A snapshot of a MeasurementProtocolSecret resource in change history.

.google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12;

Returns
TypeDescription
MeasurementProtocolSecretOrBuilder

getParserForType()

public Parser<ChangeHistoryChange.ChangeHistoryResource> getParserForType()
Returns
TypeDescription
Parser<ChangeHistoryResource>
Overrides

getProperty()

public Property getProperty()

A snapshot of a Property resource in change history.

.google.analytics.admin.v1beta.Property property = 2;

Returns
TypeDescription
Property

The property.

getPropertyOrBuilder()

public PropertyOrBuilder getPropertyOrBuilder()

A snapshot of a Property resource in change history.

.google.analytics.admin.v1beta.Property property = 2;

Returns
TypeDescription
PropertyOrBuilder

getResourceCase()

public ChangeHistoryChange.ChangeHistoryResource.ResourceCase getResourceCase()
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource.ResourceCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAccount()

public boolean hasAccount()

A snapshot of an Account resource in change history.

.google.analytics.admin.v1beta.Account account = 1;

Returns
TypeDescription
boolean

Whether the account field is set.

hasConversionEvent()

public boolean hasConversionEvent()

A snapshot of a ConversionEvent resource in change history.

.google.analytics.admin.v1beta.ConversionEvent conversion_event = 11;

Returns
TypeDescription
boolean

Whether the conversionEvent field is set.

hasDataRetentionSettings()

public boolean hasDataRetentionSettings()

A snapshot of a data retention settings resource in change history.

.google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15;

Returns
TypeDescription
boolean

Whether the dataRetentionSettings field is set.

hasDataStream()

public boolean hasDataStream()

A snapshot of a DataStream resource in change history.

.google.analytics.admin.v1beta.DataStream data_stream = 18;

Returns
TypeDescription
boolean

Whether the dataStream field is set.

public boolean hasFirebaseLink()

A snapshot of a FirebaseLink resource in change history.

.google.analytics.admin.v1beta.FirebaseLink firebase_link = 6;

Returns
TypeDescription
boolean

Whether the firebaseLink field is set.

public boolean hasGoogleAdsLink()

A snapshot of a GoogleAdsLink resource in change history.

.google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7;

Returns
TypeDescription
boolean

Whether the googleAdsLink field is set.

hasMeasurementProtocolSecret()

public boolean hasMeasurementProtocolSecret()

A snapshot of a MeasurementProtocolSecret resource in change history.

.google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12;

Returns
TypeDescription
boolean

Whether the measurementProtocolSecret field is set.

hasProperty()

public boolean hasProperty()

A snapshot of a Property resource in change history.

.google.analytics.admin.v1beta.Property property = 2;

Returns
TypeDescription
boolean

Whether the property field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ChangeHistoryChange.ChangeHistoryResource.Builder newBuilderForType()
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ChangeHistoryChange.ChangeHistoryResource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ChangeHistoryChange.ChangeHistoryResource.Builder toBuilder()
Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException