Class Changelog.Builder (0.14.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Changelog.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Changelog.Builder
Overrides

build()

public Changelog build()
Returns
TypeDescription
Changelog

buildPartial()

public Changelog buildPartial()
Returns
TypeDescription
Changelog

clear()

public Changelog.Builder clear()
Returns
TypeDescription
Changelog.Builder
Overrides

clearAction()

public Changelog.Builder clearAction()

The action of the change.

string action = 11;

Returns
TypeDescription
Changelog.Builder

This builder for chaining.

clearCreateTime()

public Changelog.Builder clearCreateTime()

The timestamp of the change.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
Changelog.Builder

clearDisplayName()

public Changelog.Builder clearDisplayName()

The affected resource display name of the change.

string display_name = 7;

Returns
TypeDescription
Changelog.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Changelog.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Changelog.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Changelog.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Changelog.Builder
Overrides

clearResource()

public Changelog.Builder clearResource()

The affected resource name of the change.

string resource = 3;

Returns
TypeDescription
Changelog.Builder

This builder for chaining.

clearType()

public Changelog.Builder clearType()

The affected resource type.

string type = 8;

Returns
TypeDescription
Changelog.Builder

This builder for chaining.

clearUserEmail()

public Changelog.Builder clearUserEmail()

Email address of the authenticated user.

string user_email = 2;

Returns
TypeDescription
Changelog.Builder

This builder for chaining.

clone()

public Changelog.Builder clone()
Returns
TypeDescription
Changelog.Builder
Overrides

getAction()

public String getAction()

The action of the change.

string action = 11;

Returns
TypeDescription
String

The action.

getActionBytes()

public ByteString getActionBytes()

The action of the change.

string action = 11;

Returns
TypeDescription
ByteString

The bytes for action.

getCreateTime()

public Timestamp getCreateTime()

The timestamp of the change.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The timestamp of the change.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The timestamp of the change.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Changelog getDefaultInstanceForType()
Returns
TypeDescription
Changelog

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The affected resource display name of the change.

string display_name = 7;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The affected resource display name of the change.

string display_name = 7;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getResource()

public String getResource()

The affected resource name of the change.

string resource = 3;

Returns
TypeDescription
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

The affected resource name of the change.

string resource = 3;

Returns
TypeDescription
ByteString

The bytes for resource.

getType()

public String getType()

The affected resource type.

string type = 8;

Returns
TypeDescription
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

The affected resource type.

string type = 8;

Returns
TypeDescription
ByteString

The bytes for type.

getUserEmail()

public String getUserEmail()

Email address of the authenticated user.

string user_email = 2;

Returns
TypeDescription
String

The userEmail.

getUserEmailBytes()

public ByteString getUserEmailBytes()

Email address of the authenticated user.

string user_email = 2;

Returns
TypeDescription
ByteString

The bytes for userEmail.

hasCreateTime()

public boolean hasCreateTime()

The timestamp of the change.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Changelog.Builder mergeCreateTime(Timestamp value)

The timestamp of the change.

.google.protobuf.Timestamp create_time = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Changelog.Builder

mergeFrom(Changelog other)

public Changelog.Builder mergeFrom(Changelog other)
Parameter
NameDescription
otherChangelog
Returns
TypeDescription
Changelog.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Changelog.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Changelog.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Changelog.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Changelog.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Changelog.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Changelog.Builder
Overrides

setAction(String value)

public Changelog.Builder setAction(String value)

The action of the change.

string action = 11;

Parameter
NameDescription
valueString

The action to set.

Returns
TypeDescription
Changelog.Builder

This builder for chaining.

setActionBytes(ByteString value)

public Changelog.Builder setActionBytes(ByteString value)

The action of the change.

string action = 11;

Parameter
NameDescription
valueByteString

The bytes for action to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Changelog.Builder

setDisplayName(String value)

public Changelog.Builder setDisplayName(String value)

The affected resource display name of the change.

string display_name = 7;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Changelog.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Changelog.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Changelog.Builder
Overrides

setResource(String value)

public Changelog.Builder setResource(String value)

The affected resource name of the change.

string resource = 3;

Parameter
NameDescription
valueString

The resource to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for resource to set.

Returns
TypeDescription
Changelog.Builder

This builder for chaining.

setType(String value)

public Changelog.Builder setType(String value)

The affected resource type.

string type = 8;

Parameter
NameDescription
valueString

The type to set.

Returns
TypeDescription
Changelog.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public Changelog.Builder setTypeBytes(ByteString value)

The affected resource type.

string type = 8;

Parameter
NameDescription
valueByteString

The bytes for type to set.

Returns
TypeDescription
Changelog.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Changelog.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Changelog.Builder
Overrides

setUserEmail(String value)

public Changelog.Builder setUserEmail(String value)

Email address of the authenticated user.

string user_email = 2;

Parameter
NameDescription
valueString

The userEmail to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for userEmail to set.

Returns
TypeDescription
Changelog.Builder

This builder for chaining.