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
CONTEXT_FIELD_NUMBER
public static final int CONTEXT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AddContextChildrenRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AddContextChildrenRequest.Builder newBuilder()
Returns
newBuilder(AddContextChildrenRequest prototype)
public static AddContextChildrenRequest.Builder newBuilder(AddContextChildrenRequest prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static AddContextChildrenRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AddContextChildrenRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AddContextChildrenRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AddContextChildrenRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AddContextChildrenRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AddContextChildrenRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static AddContextChildrenRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AddContextChildrenRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static AddContextChildrenRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AddContextChildrenRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AddContextChildrenRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AddContextChildrenRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AddContextChildrenRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
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
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
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
Type | Description |
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
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
Type | Description |
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
getDefaultInstanceForType()
public AddContextChildrenRequest getDefaultInstanceForType()
Returns
getParserForType()
public Parser<AddContextChildrenRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AddContextChildrenRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AddContextChildrenRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AddContextChildrenRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions