public static final class ImportExtensionRequest.Builder extends GeneratedMessageV3.Builder<ImportExtensionRequest.Builder> implements ImportExtensionRequestOrBuilder
Request message for
ExtensionRegistryService.ImportExtension.
Protobuf type google.cloud.aiplatform.v1beta1.ImportExtensionRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportExtensionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ImportExtensionRequest build()
buildPartial()
public ImportExtensionRequest buildPartial()
clear()
public ImportExtensionRequest.Builder clear()
Overrides
clearExtension()
public ImportExtensionRequest.Builder clearExtension()
Required. The Extension to import.
.google.cloud.aiplatform.v1beta1.Extension extension = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public ImportExtensionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportExtensionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public ImportExtensionRequest.Builder clearParent()
Required. The resource name of the Location to import the Extension in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public ImportExtensionRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public ImportExtensionRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getExtension()
public Extension getExtension()
Required. The Extension to import.
.google.cloud.aiplatform.v1beta1.Extension extension = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Extension | The extension.
|
getExtensionBuilder()
public Extension.Builder getExtensionBuilder()
Required. The Extension to import.
.google.cloud.aiplatform.v1beta1.Extension extension = 2 [(.google.api.field_behavior) = REQUIRED];
getExtensionOrBuilder()
public ExtensionOrBuilder getExtensionOrBuilder()
Required. The Extension to import.
.google.cloud.aiplatform.v1beta1.Extension extension = 2 [(.google.api.field_behavior) = REQUIRED];
getParent()
public String getParent()
Required. The resource name of the Location to import the Extension in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The resource name of the Location to import the Extension in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
hasExtension()
public boolean hasExtension()
Required. The Extension to import.
.google.cloud.aiplatform.v1beta1.Extension extension = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the extension field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeExtension(Extension value)
public ImportExtensionRequest.Builder mergeExtension(Extension value)
Required. The Extension to import.
.google.cloud.aiplatform.v1beta1.Extension extension = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(ImportExtensionRequest other)
public ImportExtensionRequest.Builder mergeFrom(ImportExtensionRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportExtensionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImportExtensionRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportExtensionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setExtension(Extension value)
public ImportExtensionRequest.Builder setExtension(Extension value)
Required. The Extension to import.
.google.cloud.aiplatform.v1beta1.Extension extension = 2 [(.google.api.field_behavior) = REQUIRED];
setExtension(Extension.Builder builderForValue)
public ImportExtensionRequest.Builder setExtension(Extension.Builder builderForValue)
Required. The Extension to import.
.google.cloud.aiplatform.v1beta1.Extension extension = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public ImportExtensionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public ImportExtensionRequest.Builder setParent(String value)
Required. The resource name of the Location to import the Extension in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
setParentBytes(ByteString value)
public ImportExtensionRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the Location to import the Extension in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportExtensionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportExtensionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides