Class Changelog.Builder (0.39.0)

public static final class Changelog.Builder extends GeneratedMessageV3.Builder<Changelog.Builder> implements ChangelogOrBuilder

Changelogs represents a change made to a given agent.

Protobuf type google.cloud.dialogflow.cx.v3.Changelog

Implements

ChangelogOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Changelog.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Changelog.Builder
Overrides

build()

public Changelog build()
Returns
Type Description
Changelog

buildPartial()

public Changelog buildPartial()
Returns
Type Description
Changelog

clear()

public Changelog.Builder clear()
Returns
Type Description
Changelog.Builder
Overrides

clearAction()

public Changelog.Builder clearAction()

The action of the change.

string action = 11;

Returns
Type Description
Changelog.Builder

This builder for chaining.

clearCreateTime()

public Changelog.Builder clearCreateTime()

The timestamp of the change.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
Changelog.Builder

clearDisplayName()

public Changelog.Builder clearDisplayName()

The affected resource display name of the change.

string display_name = 7;

Returns
Type Description
Changelog.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Changelog.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Changelog.Builder
Overrides

clearName()

public Changelog.Builder clearName()

The unique identifier of the changelog. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/changelogs/<Changelog ID>.

string name = 1;

Returns
Type Description
Changelog.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Changelog.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Changelog.Builder
Overrides

clearResource()

public Changelog.Builder clearResource()

The affected resource name of the change.

string resource = 3;

Returns
Type Description
Changelog.Builder

This builder for chaining.

clearType()

public Changelog.Builder clearType()

The affected resource type.

string type = 8;

Returns
Type Description
Changelog.Builder

This builder for chaining.

clearUserEmail()

public Changelog.Builder clearUserEmail()

Email address of the authenticated user.

string user_email = 2;

Returns
Type Description
Changelog.Builder

This builder for chaining.

clone()

public Changelog.Builder clone()
Returns
Type Description
Changelog.Builder
Overrides

getAction()

public String getAction()

The action of the change.

string action = 11;

Returns
Type Description
String

The action.

getActionBytes()

public ByteString getActionBytes()

The action of the change.

string action = 11;

Returns
Type Description
ByteString

The bytes for action.

getCreateTime()

public Timestamp getCreateTime()

The timestamp of the change.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The timestamp of the change.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The timestamp of the change.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Changelog getDefaultInstanceForType()
Returns
Type Description
Changelog

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The affected resource display name of the change.

string display_name = 7;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The affected resource display name of the change.

string display_name = 7;

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

The unique identifier of the changelog. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/changelogs/<Changelog ID>.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The unique identifier of the changelog. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/changelogs/<Changelog ID>.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getResource()

public String getResource()

The affected resource name of the change.

string resource = 3;

Returns
Type Description
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

The affected resource name of the change.

string resource = 3;

Returns
Type Description
ByteString

The bytes for resource.

getType()

public String getType()

The affected resource type.

string type = 8;

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

The affected resource type.

string type = 8;

Returns
Type Description
ByteString

The bytes for type.

getUserEmail()

public String getUserEmail()

Email address of the authenticated user.

string user_email = 2;

Returns
Type Description
String

The userEmail.

getUserEmailBytes()

public ByteString getUserEmailBytes()

Email address of the authenticated user.

string user_email = 2;

Returns
Type Description
ByteString

The bytes for userEmail.

hasCreateTime()

public boolean hasCreateTime()

The timestamp of the change.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Changelog.Builder mergeCreateTime(Timestamp value)

The timestamp of the change.

.google.protobuf.Timestamp create_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
Changelog.Builder

mergeFrom(Changelog other)

public Changelog.Builder mergeFrom(Changelog other)
Parameter
Name Description
other Changelog
Returns
Type Description
Changelog.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Changelog.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Changelog.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Changelog.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Changelog.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Changelog.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Changelog.Builder
Overrides

setAction(String value)

public Changelog.Builder setAction(String value)

The action of the change.

string action = 11;

Parameter
Name Description
value String

The action to set.

Returns
Type Description
Changelog.Builder

This builder for chaining.

setActionBytes(ByteString value)

public Changelog.Builder setActionBytes(ByteString value)

The action of the change.

string action = 11;

Parameter
Name Description
value ByteString

The bytes for action to set.

Returns
Type Description
Changelog.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Changelog.Builder setCreateTime(Timestamp value)

The timestamp of the change.

.google.protobuf.Timestamp create_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
Changelog.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Changelog.Builder setCreateTime(Timestamp.Builder builderForValue)

The timestamp of the change.

.google.protobuf.Timestamp create_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Changelog.Builder

setDisplayName(String value)

public Changelog.Builder setDisplayName(String value)

The affected resource display name of the change.

string display_name = 7;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Changelog.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Changelog.Builder setDisplayNameBytes(ByteString value)

The affected resource display name of the change.

string display_name = 7;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Changelog.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Changelog.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Changelog.Builder
Overrides

setName(String value)

public Changelog.Builder setName(String value)

The unique identifier of the changelog. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/changelogs/<Changelog ID>.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Changelog.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Changelog.Builder setNameBytes(ByteString value)

The unique identifier of the changelog. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/changelogs/<Changelog ID>.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Changelog.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Changelog.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Changelog.Builder
Overrides

setResource(String value)

public Changelog.Builder setResource(String value)

The affected resource name of the change.

string resource = 3;

Parameter
Name Description
value String

The resource to set.

Returns
Type Description
Changelog.Builder

This builder for chaining.

setResourceBytes(ByteString value)

public Changelog.Builder setResourceBytes(ByteString value)

The affected resource name of the change.

string resource = 3;

Parameter
Name Description
value ByteString

The bytes for resource to set.

Returns
Type Description
Changelog.Builder

This builder for chaining.

setType(String value)

public Changelog.Builder setType(String value)

The affected resource type.

string type = 8;

Parameter
Name Description
value String

The type to set.

Returns
Type Description
Changelog.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public Changelog.Builder setTypeBytes(ByteString value)

The affected resource type.

string type = 8;

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
Changelog.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Changelog.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Changelog.Builder
Overrides

setUserEmail(String value)

public Changelog.Builder setUserEmail(String value)

Email address of the authenticated user.

string user_email = 2;

Parameter
Name Description
value String

The userEmail to set.

Returns
Type Description
Changelog.Builder

This builder for chaining.

setUserEmailBytes(ByteString value)

public Changelog.Builder setUserEmailBytes(ByteString value)

Email address of the authenticated user.

string user_email = 2;

Parameter
Name Description
value ByteString

The bytes for userEmail to set.

Returns
Type Description
Changelog.Builder

This builder for chaining.