public static final class OciRepo.Builder extends GeneratedMessage.Builder<OciRepo.Builder> implements OciRepoOrBuilderOpen Container Initiative (OCI) repo.
Protobuf type google.cloud.designcenter.v1.OciRepo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OciRepo.BuilderImplements
OciRepoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public OciRepo build()| Returns | |
|---|---|
| Type | Description |
OciRepo |
|
buildPartial()
public OciRepo buildPartial()| Returns | |
|---|---|
| Type | Description |
OciRepo |
|
clear()
public OciRepo.Builder clear()| Returns | |
|---|---|
| Type | Description |
OciRepo.Builder |
|
clearModuleSourceUri()
public OciRepo.Builder clearModuleSourceUri()Optional. Field for containing the references to the source from which the OCI repo was created.
string module_source_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
OciRepo.Builder |
This builder for chaining. |
clearUri()
public OciRepo.Builder clearUri()Required. Path to Open Container Initiative (OCI) repo. Example: oci://us-west1-docker.pkg.dev/nyap-test/helm-repo/my-chart
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
OciRepo.Builder |
This builder for chaining. |
clearVersion()
public OciRepo.Builder clearVersion()Optional. The version of the helm chart.
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
OciRepo.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public OciRepo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OciRepo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getModuleSourceUri()
public String getModuleSourceUri()Optional. Field for containing the references to the source from which the OCI repo was created.
string module_source_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The moduleSourceUri. |
getModuleSourceUriBytes()
public ByteString getModuleSourceUriBytes()Optional. Field for containing the references to the source from which the OCI repo was created.
string module_source_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for moduleSourceUri. |
getUri()
public String getUri()Required. Path to Open Container Initiative (OCI) repo. Example: oci://us-west1-docker.pkg.dev/nyap-test/helm-repo/my-chart
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()Required. Path to Open Container Initiative (OCI) repo. Example: oci://us-west1-docker.pkg.dev/nyap-test/helm-repo/my-chart
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
getVersion()
public String getVersion()Optional. The version of the helm chart.
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()Optional. The version of the helm chart.
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(OciRepo other)
public OciRepo.Builder mergeFrom(OciRepo other)| Parameter | |
|---|---|
| Name | Description |
other |
OciRepo |
| Returns | |
|---|---|
| Type | Description |
OciRepo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OciRepo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OciRepo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OciRepo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OciRepo.Builder |
|
setModuleSourceUri(String value)
public OciRepo.Builder setModuleSourceUri(String value)Optional. Field for containing the references to the source from which the OCI repo was created.
string module_source_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe moduleSourceUri to set. |
| Returns | |
|---|---|
| Type | Description |
OciRepo.Builder |
This builder for chaining. |
setModuleSourceUriBytes(ByteString value)
public OciRepo.Builder setModuleSourceUriBytes(ByteString value)Optional. Field for containing the references to the source from which the OCI repo was created.
string module_source_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for moduleSourceUri to set. |
| Returns | |
|---|---|
| Type | Description |
OciRepo.Builder |
This builder for chaining. |
setUri(String value)
public OciRepo.Builder setUri(String value)Required. Path to Open Container Initiative (OCI) repo. Example: oci://us-west1-docker.pkg.dev/nyap-test/helm-repo/my-chart
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
OciRepo.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public OciRepo.Builder setUriBytes(ByteString value)Required. Path to Open Container Initiative (OCI) repo. Example: oci://us-west1-docker.pkg.dev/nyap-test/helm-repo/my-chart
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
OciRepo.Builder |
This builder for chaining. |
setVersion(String value)
public OciRepo.Builder setVersion(String value)Optional. The version of the helm chart.
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe version to set. |
| Returns | |
|---|---|
| Type | Description |
OciRepo.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public OciRepo.Builder setVersionBytes(ByteString value)Optional. The version of the helm chart.
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
OciRepo.Builder |
This builder for chaining. |