Class ChangeHistoryChange.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ChangeHistoryChange.Builder>
com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder
- All Implemented Interfaces:
ChangeHistoryChangeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ChangeHistoryChange
public static final class ChangeHistoryChange.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ChangeHistoryChange.Builder>
implements ChangeHistoryChangeOrBuilder
A description of a change to a single Google Analytics resource.Protobuf type
google.analytics.admin.v1beta.ChangeHistoryChange-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The type of action that changed this resource.Resource name of the resource whose changes are described by this entry.Resource contents from after the change was made.Resource contents from before the change was made.The type of action that changed this resource.intThe type of action that changed this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorResource name of the resource whose changes are described by this entry.Resource contents from after the change was made.Resource contents from after the change was made.Resource contents from after the change was made.Resource contents from before the change was made.Resource contents from before the change was made.Resource contents from before the change was made.com.google.protobuf.ByteStringResource name of the resource whose changes are described by this entry.booleanResource contents from after the change was made.booleanResource contents from before the change was made.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ChangeHistoryChange other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Resource contents from after the change was made.Resource contents from before the change was made.setAction(ActionType value) The type of action that changed this resource.setActionValue(int value) The type of action that changed this resource.setResource(String value) Resource name of the resource whose changes are described by this entry.Resource contents from after the change was made.setResourceAfterChange(ChangeHistoryChange.ChangeHistoryResource.Builder builderForValue) Resource contents from after the change was made.Resource contents from before the change was made.setResourceBeforeChange(ChangeHistoryChange.ChangeHistoryResource.Builder builderForValue) Resource contents from before the change was made.setResourceBytes(com.google.protobuf.ByteString value) Resource name of the resource whose changes are described by this entry.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ChangeHistoryChange.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ChangeHistoryChange.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ChangeHistoryChange.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ChangeHistoryChange.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ChangeHistoryChange.Builder>
-
mergeFrom
public ChangeHistoryChange.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ChangeHistoryChange.Builder>- Throws:
IOException
-
getResource
Resource name of the resource whose changes are described by this entry.
string resource = 1;- Specified by:
getResourcein interfaceChangeHistoryChangeOrBuilder- Returns:
- The resource.
-
getResourceBytes
public com.google.protobuf.ByteString getResourceBytes()Resource name of the resource whose changes are described by this entry.
string resource = 1;- Specified by:
getResourceBytesin interfaceChangeHistoryChangeOrBuilder- Returns:
- The bytes for resource.
-
setResource
Resource name of the resource whose changes are described by this entry.
string resource = 1;- Parameters:
value- The resource to set.- Returns:
- This builder for chaining.
-
clearResource
Resource name of the resource whose changes are described by this entry.
string resource = 1;- Returns:
- This builder for chaining.
-
setResourceBytes
Resource name of the resource whose changes are described by this entry.
string resource = 1;- Parameters:
value- The bytes for resource to set.- Returns:
- This builder for chaining.
-
getActionValue
public int getActionValue()The type of action that changed this resource.
.google.analytics.admin.v1beta.ActionType action = 2;- Specified by:
getActionValuein interfaceChangeHistoryChangeOrBuilder- Returns:
- The enum numeric value on the wire for action.
-
setActionValue
The type of action that changed this resource.
.google.analytics.admin.v1beta.ActionType action = 2;- Parameters:
value- The enum numeric value on the wire for action to set.- Returns:
- This builder for chaining.
-
getAction
The type of action that changed this resource.
.google.analytics.admin.v1beta.ActionType action = 2;- Specified by:
getActionin interfaceChangeHistoryChangeOrBuilder- Returns:
- The action.
-
setAction
The type of action that changed this resource.
.google.analytics.admin.v1beta.ActionType action = 2;- Parameters:
value- The action to set.- Returns:
- This builder for chaining.
-
clearAction
The type of action that changed this resource.
.google.analytics.admin.v1beta.ActionType action = 2;- Returns:
- This builder for chaining.
-
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;- Specified by:
hasResourceBeforeChangein interfaceChangeHistoryChangeOrBuilder- Returns:
- Whether the resourceBeforeChange field is set.
-
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;- Specified by:
getResourceBeforeChangein interfaceChangeHistoryChangeOrBuilder- Returns:
- The resourceBeforeChange.
-
setResourceBeforeChange
public ChangeHistoryChange.Builder setResourceBeforeChange(ChangeHistoryChange.ChangeHistoryResource value) 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; -
setResourceBeforeChange
public ChangeHistoryChange.Builder setResourceBeforeChange(ChangeHistoryChange.ChangeHistoryResource.Builder builderForValue) 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; -
mergeResourceBeforeChange
public ChangeHistoryChange.Builder mergeResourceBeforeChange(ChangeHistoryChange.ChangeHistoryResource value) 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; -
clearResourceBeforeChange
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; -
getResourceBeforeChangeBuilder
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; -
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;- Specified by:
getResourceBeforeChangeOrBuilderin interfaceChangeHistoryChangeOrBuilder
-
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;- Specified by:
hasResourceAfterChangein interfaceChangeHistoryChangeOrBuilder- Returns:
- Whether the resourceAfterChange field is set.
-
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;- Specified by:
getResourceAfterChangein interfaceChangeHistoryChangeOrBuilder- Returns:
- The resourceAfterChange.
-
setResourceAfterChange
public ChangeHistoryChange.Builder setResourceAfterChange(ChangeHistoryChange.ChangeHistoryResource value) 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; -
setResourceAfterChange
public ChangeHistoryChange.Builder setResourceAfterChange(ChangeHistoryChange.ChangeHistoryResource.Builder builderForValue) 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; -
mergeResourceAfterChange
public ChangeHistoryChange.Builder mergeResourceAfterChange(ChangeHistoryChange.ChangeHistoryResource value) 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; -
clearResourceAfterChange
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; -
getResourceAfterChangeBuilder
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; -
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;- Specified by:
getResourceAfterChangeOrBuilderin interfaceChangeHistoryChangeOrBuilder
-