Class ChangeHistoryChange (0.51.0)

public final class ChangeHistoryChange extends GeneratedMessageV3 implements ChangeHistoryChangeOrBuilder

A description of a change to a single Google Analytics resource.

Protobuf type google.analytics.admin.v1beta.ChangeHistoryChange

Static Fields

ACTION_FIELD_NUMBER

public static final int ACTION_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_AFTER_CHANGE_FIELD_NUMBER

public static final int RESOURCE_AFTER_CHANGE_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_BEFORE_CHANGE_FIELD_NUMBER

public static final int RESOURCE_BEFORE_CHANGE_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ChangeHistoryChange getDefaultInstance()
Returns
TypeDescription
ChangeHistoryChange

getDescriptor()

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

newBuilder()

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

newBuilder(ChangeHistoryChange prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAction()

public ActionType getAction()

The type of action that changed this resource.

.google.analytics.admin.v1beta.ActionType action = 2;

Returns
TypeDescription
ActionType

The action.

getActionValue()

public int getActionValue()

The type of action that changed this resource.

.google.analytics.admin.v1beta.ActionType action = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for action.

getDefaultInstanceForType()

public ChangeHistoryChange getDefaultInstanceForType()
Returns
TypeDescription
ChangeHistoryChange

getParserForType()

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

getResource()

public String getResource()

Resource name of the resource whose changes are described by this entry.

string resource = 1;

Returns
TypeDescription
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.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4;

Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource

The resourceAfterChange.

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.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4;

Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResourceOrBuilder

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.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3;

Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResource

The resourceBeforeChange.

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.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3;

Returns
TypeDescription
ChangeHistoryChange.ChangeHistoryResourceOrBuilder

getResourceBytes()

public ByteString getResourceBytes()

Resource name of the resource whose changes are described by this entry.

string resource = 1;

Returns
TypeDescription
ByteString

The bytes for resource.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4;

Returns
TypeDescription
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.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3;

Returns
TypeDescription
boolean

Whether the resourceBeforeChange 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.Builder newBuilderForType()
Returns
TypeDescription
ChangeHistoryChange.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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