public final class UpdateCompanionAgentRequest extends GeneratedMessage implements UpdateCompanionAgentRequestOrBuilderRequest message for UpdateCompanionAgent.
Protobuf type google.cloud.dialogflow.v2.UpdateCompanionAgentRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > UpdateCompanionAgentRequestImplements
UpdateCompanionAgentRequestOrBuilderStatic Fields
COMPANION_AGENT_FIELD_NUMBER
public static final int COMPANION_AGENT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static UpdateCompanionAgentRequest getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static UpdateCompanionAgentRequest.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest.Builder |
|
newBuilder(UpdateCompanionAgentRequest prototype)
public static UpdateCompanionAgentRequest.Builder newBuilder(UpdateCompanionAgentRequest prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
UpdateCompanionAgentRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest.Builder |
|
parseDelimitedFrom(InputStream input)
public static UpdateCompanionAgentRequest parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateCompanionAgentRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static UpdateCompanionAgentRequest parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateCompanionAgentRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static UpdateCompanionAgentRequest parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateCompanionAgentRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static UpdateCompanionAgentRequest parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateCompanionAgentRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static UpdateCompanionAgentRequest parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateCompanionAgentRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static UpdateCompanionAgentRequest parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateCompanionAgentRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<UpdateCompanionAgentRequest> parser()| Returns | |
|---|---|
| Type | Description |
Parser<UpdateCompanionAgentRequest> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCompanionAgent()
public CompanionAgent getCompanionAgent()Required. The Companion Agent to update.
.google.cloud.dialogflow.v2.CompanionAgent companion_agent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CompanionAgent |
The companionAgent. |
getCompanionAgentOrBuilder()
public CompanionAgentOrBuilder getCompanionAgentOrBuilder()Required. The Companion Agent to update.
.google.cloud.dialogflow.v2.CompanionAgent companion_agent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CompanionAgentOrBuilder |
|
getDefaultInstanceForType()
public UpdateCompanionAgentRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest |
|
getParserForType()
public Parser<UpdateCompanionAgentRequest> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<UpdateCompanionAgentRequest> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. Update mask for Companion Agent.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. Update mask for Companion Agent.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasCompanionAgent()
public boolean hasCompanionAgent()Required. The Companion Agent to update.
.google.cloud.dialogflow.v2.CompanionAgent companion_agent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the companionAgent field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. Update mask for Companion Agent.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public UpdateCompanionAgentRequest.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected UpdateCompanionAgentRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest.Builder |
|
toBuilder()
public UpdateCompanionAgentRequest.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|