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 |
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CompareVersionsResponse.Builder newBuilder()
newBuilder(CompareVersionsResponse prototype)
public static CompareVersionsResponse.Builder newBuilder(CompareVersionsResponse prototype)
public static CompareVersionsResponse parseDelimitedFrom(InputStream input)
public static CompareVersionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CompareVersionsResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CompareVersionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CompareVersionsResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CompareVersionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CompareVersionsResponse parseFrom(CodedInputStream input)
public static CompareVersionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CompareVersionsResponse parseFrom(InputStream input)
public static CompareVersionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CompareVersionsResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CompareVersionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CompareVersionsResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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;
getDefaultInstanceForType()
public CompareVersionsResponse getDefaultInstanceForType()
getParserForType()
public Parser<CompareVersionsResponse> getParserForType()
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CompareVersionsResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CompareVersionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CompareVersionsResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides