Send feedback
Class ChangeHistoryChange (0.27.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.27.0 keyboard_arrow_down
public final class ChangeHistoryChange extends GeneratedMessageV3 implements ChangeHistoryChangeOrBuilder
A description of a change to a single Google Analytics resource.
Protobuf type google.analytics.admin.v1alpha.ChangeHistoryChange
Static Fields
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
Field Value Type Description int
RESOURCE_AFTER_CHANGE_FIELD_NUMBER
public static final int RESOURCE_AFTER_CHANGE_FIELD_NUMBER
Field Value Type Description int
RESOURCE_BEFORE_CHANGE_FIELD_NUMBER
public static final int RESOURCE_BEFORE_CHANGE_FIELD_NUMBER
Field Value Type Description int
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static ChangeHistoryChange getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ChangeHistoryChange . Builder newBuilder ()
newBuilder(ChangeHistoryChange prototype)
public static ChangeHistoryChange . Builder newBuilder ( ChangeHistoryChange prototype )
parseDelimitedFrom(InputStream input)
public static ChangeHistoryChange parseDelimitedFrom ( InputStream input )
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ChangeHistoryChange parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ChangeHistoryChange parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ChangeHistoryChange parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ChangeHistoryChange parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChangeHistoryChange parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
parseFrom(CodedInputStream input)
public static ChangeHistoryChange parseFrom ( CodedInputStream input )
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ChangeHistoryChange parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(InputStream input)
public static ChangeHistoryChange parseFrom ( InputStream input )
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ChangeHistoryChange parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ChangeHistoryChange parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ChangeHistoryChange parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ChangeHistoryChange> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getAction()
public ActionType getAction ()
The type of action that changed this resource.
.google.analytics.admin.v1alpha.ActionType action = 2;
getActionValue()
public int getActionValue ()
The type of action that changed this resource.
.google.analytics.admin.v1alpha.ActionType action = 2;
Returns Type Description int
The enum numeric value on the wire for action.
getDefaultInstanceForType()
public ChangeHistoryChange getDefaultInstanceForType ()
getParserForType()
public Parser<ChangeHistoryChange> getParserForType ()
Overrides
getResource()
public String getResource ()
Resource name of the resource whose changes are described by this entry.
string resource = 1;
Returns Type Description String
The resource.
getResourceAfterChange()
public ChangeHistoryChange . ChangeHistoryResource getResourceAfterChange ()
Resource contents from after the change was made. If this resource was
deleted in this change, this field will be missing.
.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4;
getResourceAfterChangeOrBuilder()
public ChangeHistoryChange . ChangeHistoryResourceOrBuilder getResourceAfterChangeOrBuilder ()
Resource contents from after the change was made. If this resource was
deleted in this change, this field will be missing.
.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4;
getResourceBeforeChange()
public ChangeHistoryChange . ChangeHistoryResource getResourceBeforeChange ()
Resource contents from before the change was made. If this resource was
created in this change, this field will be missing.
.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3;
getResourceBeforeChangeOrBuilder()
public ChangeHistoryChange . ChangeHistoryResourceOrBuilder getResourceBeforeChangeOrBuilder ()
Resource contents from before the change was made. If this resource was
created in this change, this field will be missing.
.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3;
getResourceBytes()
public ByteString getResourceBytes ()
Resource name of the resource whose changes are described by this entry.
string resource = 1;
Returns Type Description ByteString
The bytes for resource.
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hasResourceAfterChange()
public boolean hasResourceAfterChange ()
Resource contents from after the change was made. If this resource was
deleted in this change, this field will be missing.
.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4;
Returns Type Description boolean
Whether the resourceAfterChange field is set.
hasResourceBeforeChange()
public boolean hasResourceBeforeChange ()
Resource contents from before the change was made. If this resource was
created in this change, this field will be missing.
.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3;
Returns Type Description boolean
Whether the resourceBeforeChange field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ChangeHistoryChange . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ChangeHistoryChange . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public ChangeHistoryChange . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-03-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The content provides a list of versioned documentation links for `ChangeHistoryChange` in the Google Analytics Admin Java library, ranging from version 0.70.0 (latest) down to 0.14.0."],["`ChangeHistoryChange` is a Java class representing a change to a single Google Analytics resource and is part of the `com.google.analytics.admin.v1alpha` package."],["This class extends `GeneratedMessageV3` and implements `ChangeHistoryChangeOrBuilder`, providing methods to describe the state of a resource before and after a change."],["The class includes methods for parsing, serialization, and retrieving information about the change, such as the type of action, and the resource's state before and after the change occurred."],["The provided documentation links allow users to access the specific details of the `ChangeHistoryChange` class for each given release of the Java library."]]],[]]