Class CompareVersionsResponse (0.14.2)

public final class CompareVersionsResponse extends GeneratedMessageV3 implements CompareVersionsResponseOrBuilder

The response message for Versions.CompareVersions.

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

Static Fields

BASE_VERSION_CONTENT_JSON_FIELD_NUMBER

public static final int BASE_VERSION_CONTENT_JSON_FIELD_NUMBER
Field Value
TypeDescription
int

COMPARE_TIME_FIELD_NUMBER

public static final int COMPARE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_VERSION_CONTENT_JSON_FIELD_NUMBER

public static final int TARGET_VERSION_CONTENT_JSON_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CompareVersionsResponse getDefaultInstance()
Returns
TypeDescription
CompareVersionsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CompareVersionsResponse.Builder newBuilder()
Returns
TypeDescription
CompareVersionsResponse.Builder

newBuilder(CompareVersionsResponse prototype)

public static CompareVersionsResponse.Builder newBuilder(CompareVersionsResponse prototype)
Parameter
NameDescription
prototypeCompareVersionsResponse
Returns
TypeDescription
CompareVersionsResponse.Builder

parseDelimitedFrom(InputStream input)

public static CompareVersionsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CompareVersionsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompareVersionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompareVersionsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CompareVersionsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CompareVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CompareVersionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompareVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CompareVersionsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CompareVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CompareVersionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompareVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CompareVersionsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CompareVersionsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CompareVersionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompareVersionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CompareVersionsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CompareVersionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompareVersionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompareVersionsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CompareVersionsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CompareVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CompareVersionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompareVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CompareVersionsResponse> parser()
Returns
TypeDescription
Parser<CompareVersionsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBaseVersionContentJson()

public String getBaseVersionContentJson()

JSON representation of the base version content.

string base_version_content_json = 1;

Returns
TypeDescription
String

The baseVersionContentJson.

getBaseVersionContentJsonBytes()

public ByteString getBaseVersionContentJsonBytes()

JSON representation of the base version content.

string base_version_content_json = 1;

Returns
TypeDescription
ByteString

The bytes for baseVersionContentJson.

getCompareTime()

public Timestamp getCompareTime()

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Returns
TypeDescription
Timestamp

The compareTime.

getCompareTimeOrBuilder()

public TimestampOrBuilder getCompareTimeOrBuilder()

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public CompareVersionsResponse getDefaultInstanceForType()
Returns
TypeDescription
CompareVersionsResponse

getParserForType()

public Parser<CompareVersionsResponse> getParserForType()
Returns
TypeDescription
Parser<CompareVersionsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargetVersionContentJson()

public String getTargetVersionContentJson()

JSON representation of the target version content.

string target_version_content_json = 2;

Returns
TypeDescription
String

The targetVersionContentJson.

getTargetVersionContentJsonBytes()

public ByteString getTargetVersionContentJsonBytes()

JSON representation of the target version content.

string target_version_content_json = 2;

Returns
TypeDescription
ByteString

The bytes for targetVersionContentJson.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasCompareTime()

public boolean hasCompareTime()

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Returns
TypeDescription
boolean

Whether the compareTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CompareVersionsResponse.Builder newBuilderForType()
Returns
TypeDescription
CompareVersionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CompareVersionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CompareVersionsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CompareVersionsResponse.Builder toBuilder()
Returns
TypeDescription
CompareVersionsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException