Interface ChangeHistoryChangeOrBuilder (0.46.0)

See more code actions.
public interface ChangeHistoryChangeOrBuilder extends MessageOrBuilder
MessageOrBuilder
public abstract ActionType getAction()

The type of action that changed this resource.

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

Returns
TypeDescription
ActionType

The action.

getActionValue()

public abstract 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.

getResource()

public abstract String getResource()

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

string resource = 1;

Returns
TypeDescription
String

The resource.

getResourceAfterChange()

public abstract 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 abstract 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;

getResourceBeforeChange()

public abstract 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 abstract 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;

getResourceBytes()

public abstract ByteString getResourceBytes()

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

string resource = 1;

Returns
TypeDescription
ByteString

The bytes for resource.

hasResourceAfterChange()

public abstract 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 abstract 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.