Class CompareVersionsResponse (0.65.0)

public final class CompareVersionsResponse extends GeneratedMessageV3 implements CompareVersionsResponseOrBuilder

The response message for Versions.CompareVersions.

Protobuf type google.cloud.dialogflow.cx.v3beta1.CompareVersionsResponse

Static Fields

BASE_VERSION_CONTENT_JSON_FIELD_NUMBER

public static final int BASE_VERSION_CONTENT_JSON_FIELD_NUMBER
Field Value
Type Description
int

COMPARE_TIME_FIELD_NUMBER

public static final int COMPARE_TIME_FIELD_NUMBER
Field Value
Type Description
int

TARGET_VERSION_CONTENT_JSON_FIELD_NUMBER

public static final int TARGET_VERSION_CONTENT_JSON_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CompareVersionsResponse getDefaultInstance()
Returns
Type Description
CompareVersionsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(CompareVersionsResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBaseVersionContentJson()

public String getBaseVersionContentJson()

JSON representation of the base version content.

string base_version_content_json = 1;

Returns
Type Description
String

The baseVersionContentJson.

getBaseVersionContentJsonBytes()

public ByteString getBaseVersionContentJsonBytes()

JSON representation of the base version content.

string base_version_content_json = 1;

Returns
Type Description
ByteString

The bytes for baseVersionContentJson.

getCompareTime()

public Timestamp getCompareTime()

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Returns
Type Description
Timestamp

The compareTime.

getCompareTimeOrBuilder()

public TimestampOrBuilder getCompareTimeOrBuilder()

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CompareVersionsResponse getDefaultInstanceForType()
Returns
Type Description
CompareVersionsResponse

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargetVersionContentJson()

public String getTargetVersionContentJson()

JSON representation of the target version content.

string target_version_content_json = 2;

Returns
Type Description
String

The targetVersionContentJson.

getTargetVersionContentJsonBytes()

public ByteString getTargetVersionContentJsonBytes()

JSON representation of the target version content.

string target_version_content_json = 2;

Returns
Type Description
ByteString

The bytes for targetVersionContentJson.

hasCompareTime()

public boolean hasCompareTime()

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Returns
Type Description
boolean

Whether the compareTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CompareVersionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CompareVersionsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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