Class RemoveContextChildrenRequest (3.24.0)

public final class RemoveContextChildrenRequest extends GeneratedMessageV3 implements RemoveContextChildrenRequestOrBuilder

Request message for [MetadataService.DeleteContextChildrenRequest][].

Protobuf type google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest

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 RemoveContextChildrenRequest getDefaultInstance()
Returns
TypeDescription
RemoveContextChildrenRequest

getDescriptor()

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

newBuilder()

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

newBuilder(RemoveContextChildrenRequest prototype)

public static RemoveContextChildrenRequest.Builder newBuilder(RemoveContextChildrenRequest prototype)
Parameter
NameDescription
prototypeRemoveContextChildrenRequest
Returns
TypeDescription
RemoveContextChildrenRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 RemoveContextChildrenRequest getDefaultInstanceForType()
Returns
TypeDescription
RemoveContextChildrenRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 RemoveContextChildrenRequest.Builder newBuilderForType()
Returns
TypeDescription
RemoveContextChildrenRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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