Class ChangeHistoryChange (0.58.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.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()
Returns
Type Description
ChangeHistoryChange

getDescriptor()

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

newBuilder()

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

newBuilder(ChangeHistoryChange prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAction()

public ActionType getAction()

The type of action that changed this resource.

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

Returns
Type Description
ActionType

The action.

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()
Returns
Type Description
ChangeHistoryChange

getParserForType()

public Parser<ChangeHistoryChange> getParserForType()
Returns
Type Description
Parser<ChangeHistoryChange>
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;

Returns
Type Description
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.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4;

Returns
Type Description
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.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3;

Returns
Type Description
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.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3;

Returns
Type Description
ChangeHistoryChange.ChangeHistoryResourceOrBuilder

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

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

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 ChangeHistoryChange.Builder newBuilderForType()
Returns
Type Description
ChangeHistoryChange.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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