Class GetEnvironmentRequest (4.5.11)

public final class GetEnvironmentRequest extends GeneratedMessageV3 implements GetEnvironmentRequestOrBuilder

The request message for Environments.GetEnvironment.

Protobuf type google.cloud.dialogflow.v2beta1.GetEnvironmentRequest

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GetEnvironmentRequest getDefaultInstance()
Returns
TypeDescription
GetEnvironmentRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GetEnvironmentRequest prototype)

public static GetEnvironmentRequest.Builder newBuilder(GetEnvironmentRequest prototype)
Parameter
NameDescription
prototypeGetEnvironmentRequest
Returns
TypeDescription
GetEnvironmentRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GetEnvironmentRequest getDefaultInstanceForType()
Returns
TypeDescription
GetEnvironmentRequest

getName()

public String getName()

Required. The name of the environment. Supported formats:

  • projects/<Project Number / ID>/agent/environments/<Environment ID>
  • projects/<Project Number / ID>/locations/<Location ID>/agent/environments/<Environment ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the environment. Supported formats:

  • projects/<Project Number / ID>/agent/environments/<Environment ID>
  • projects/<Project Number / ID>/locations/<Location ID>/agent/environments/<Environment ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 GetEnvironmentRequest.Builder newBuilderForType()
Returns
TypeDescription
GetEnvironmentRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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