Class AddContextChildrenRequest (3.4.0)

public final class AddContextChildrenRequest extends GeneratedMessageV3 implements AddContextChildrenRequestOrBuilder

Request message for MetadataService.AddContextChildren.

Protobuf type google.cloud.aiplatform.v1.AddContextChildrenRequest

Static Fields

CHILD_CONTEXTS_FIELD_NUMBER

public static final int CHILD_CONTEXTS_FIELD_NUMBER
Field Value
TypeDescription
int

CONTEXT_FIELD_NUMBER

public static final int CONTEXT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AddContextChildrenRequest getDefaultInstance()
Returns
TypeDescription
AddContextChildrenRequest

getDescriptor()

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

newBuilder()

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

newBuilder(AddContextChildrenRequest prototype)

public static AddContextChildrenRequest.Builder newBuilder(AddContextChildrenRequest prototype)
Parameter
NameDescription
prototypeAddContextChildrenRequest
Returns
TypeDescription
AddContextChildrenRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getChildContexts(int index)

public String getChildContexts(int index)

The resource names of the child Contexts.

repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The childContexts at the given index.

getChildContextsBytes(int index)

public ByteString getChildContextsBytes(int index)

The resource names of the child Contexts.

repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the childContexts at the given index.

getChildContextsCount()

public int getChildContextsCount()

The resource names of the child Contexts.

repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
int

The count of childContexts.

getChildContextsList()

public ProtocolStringList getChildContextsList()

The resource names of the child Contexts.

repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ProtocolStringList

A list containing the childContexts.

getContext()

public String getContext()

Required. The resource name of the parent Context. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

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

Returns
TypeDescription
String

The context.

getContextBytes()

public ByteString getContextBytes()

Required. The resource name of the parent Context. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

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

Returns
TypeDescription
ByteString

The bytes for context.

getDefaultInstanceForType()

public AddContextChildrenRequest getDefaultInstanceForType()
Returns
TypeDescription
AddContextChildrenRequest

getParserForType()

public Parser<AddContextChildrenRequest> getParserForType()
Returns
TypeDescription
Parser<AddContextChildrenRequest>
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 AddContextChildrenRequest.Builder newBuilderForType()
Returns
TypeDescription
AddContextChildrenRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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