Class Changelog (0.1.0)

public final class Changelog extends GeneratedMessage implements ChangelogOrBuilder

Changelogs represent a change made to the app or to an resource within the app.

Protobuf type google.cloud.ces.v1.Changelog

Implements

ChangelogOrBuilder

Static Fields

ACTION_FIELD_NUMBER

public static final int ACTION_FIELD_NUMBER
Field Value
Type Description
int

AUTHOR_FIELD_NUMBER

public static final int AUTHOR_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DEPENDENT_RESOURCES_FIELD_NUMBER

public static final int DEPENDENT_RESOURCES_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NEW_RESOURCE_FIELD_NUMBER

public static final int NEW_RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

ORIGINAL_RESOURCE_FIELD_NUMBER

public static final int ORIGINAL_RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

SEQUENCE_NUMBER_FIELD_NUMBER

public static final int SEQUENCE_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Changelog getDefaultInstance()
Returns
Type Description
Changelog

getDescriptor()

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

newBuilder()

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

newBuilder(Changelog prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAction()

public String getAction()

Output only. The action that was performed on the resource.

string action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The action.

getActionBytes()

public ByteString getActionBytes()

Output only. The action that was performed on the resource.

string action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for action.

getAuthor()

public String getAuthor()

Output only. Email address of the change author.

string author = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The author.

getAuthorBytes()

public ByteString getAuthorBytes()

Output only. Email address of the change author.

string author = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for author.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time when the change was made.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the change was made.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Changelog getDefaultInstanceForType()
Returns
Type Description
Changelog

getDependentResources(int index)

public Struct getDependentResources(int index)

Output only. The dependent resources that were changed.

repeated .google.protobuf.Struct dependent_resources = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Struct

getDependentResourcesCount()

public int getDependentResourcesCount()

Output only. The dependent resources that were changed.

repeated .google.protobuf.Struct dependent_resources = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getDependentResourcesList()

public List<Struct> getDependentResourcesList()

Output only. The dependent resources that were changed.

repeated .google.protobuf.Struct dependent_resources = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Struct>

getDependentResourcesOrBuilder(int index)

public StructOrBuilder getDependentResourcesOrBuilder(int index)

Output only. The dependent resources that were changed.

repeated .google.protobuf.Struct dependent_resources = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
StructOrBuilder

getDependentResourcesOrBuilderList()

public List<? extends StructOrBuilder> getDependentResourcesOrBuilderList()

Output only. The dependent resources that were changed.

repeated .google.protobuf.Struct dependent_resources = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.protobuf.StructOrBuilder>

getDescription()

public String getDescription()

Output only. Description of the change. which typically captures the changed fields in the resource.

string description = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. Description of the change. which typically captures the changed fields in the resource.

string description = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public String getDisplayName()

Output only. Display name of the change. It typically should be the display name of the resource that was changed.

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. Display name of the change. It typically should be the display name of the resource that was changed.

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

Identifier. The unique identifier of the changelog. Format: projects/{project}/locations/{location}/apps/{app}/changelogs/{changelog}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The unique identifier of the changelog. Format: projects/{project}/locations/{location}/apps/{app}/changelogs/{changelog}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getNewResource()

public Struct getNewResource()

Output only. The new resource after the change.

.google.protobuf.Struct new_resource = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Struct

The newResource.

getNewResourceOrBuilder()

public StructOrBuilder getNewResourceOrBuilder()

Output only. The new resource after the change.

.google.protobuf.Struct new_resource = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StructOrBuilder

getOriginalResource()

public Struct getOriginalResource()

Output only. The original resource before the change.

.google.protobuf.Struct original_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Struct

The originalResource.

getOriginalResourceOrBuilder()

public StructOrBuilder getOriginalResourceOrBuilder()

Output only. The original resource before the change.

.google.protobuf.Struct original_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StructOrBuilder

getParserForType()

public Parser<Changelog> getParserForType()
Returns
Type Description
Parser<Changelog>
Overrides

getResource()

public String getResource()

Output only. The resource that was changed.

string resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

Output only. The resource that was changed.

string resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for resource.

getResourceType()

public String getResourceType()

Output only. The type of the resource that was changed.

string resource_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The resourceType.

getResourceTypeBytes()

public ByteString getResourceTypeBytes()

Output only. The type of the resource that was changed.

string resource_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for resourceType.

getSequenceNumber()

public long getSequenceNumber()

Output only. The monotonically increasing sequence number of the changelog.

int64 sequence_number = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The sequenceNumber.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCreateTime()

public boolean hasCreateTime()

Output only. The time when the change was made.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasNewResource()

public boolean hasNewResource()

Output only. The new resource after the change.

.google.protobuf.Struct new_resource = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the newResource field is set.

hasOriginalResource()

public boolean hasOriginalResource()

Output only. The original resource before the change.

.google.protobuf.Struct original_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the originalResource field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Changelog.Builder newBuilderForType()
Returns
Type Description
Changelog.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Changelog.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Changelog.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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