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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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
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)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ChangeHistoryChange.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides