public static final class VPCSCConfig.Builder extends GeneratedMessage.Builder<VPCSCConfig.Builder> implements VPCSCConfigOrBuilderThe Artifact Registry VPC SC config that apply to a Project.
Protobuf type google.devtools.artifactregistry.v1.VPCSCConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VPCSCConfig.BuilderImplements
VPCSCConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public VPCSCConfig build()| Returns | |
|---|---|
| Type | Description |
VPCSCConfig |
|
buildPartial()
public VPCSCConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
VPCSCConfig |
|
clear()
public VPCSCConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
VPCSCConfig.Builder |
|
clearName()
public VPCSCConfig.Builder clearName()The name of the project's VPC SC Config.
Always of the form: projects/{projectID}/locations/{location}/vpcscConfig
In update request: never set In response: always set
string name = 1;
| Returns | |
|---|---|
| Type | Description |
VPCSCConfig.Builder |
This builder for chaining. |
clearVpcscPolicy()
public VPCSCConfig.Builder clearVpcscPolicy()The project per location VPC SC policy that defines the VPC SC behavior for the Remote Repository (Allow/Deny).
.google.devtools.artifactregistry.v1.VPCSCConfig.VPCSCPolicy vpcsc_policy = 2;
| Returns | |
|---|---|
| Type | Description |
VPCSCConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public VPCSCConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VPCSCConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()The name of the project's VPC SC Config.
Always of the form: projects/{projectID}/locations/{location}/vpcscConfig
In update request: never set In response: always set
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The name of the project's VPC SC Config.
Always of the form: projects/{projectID}/locations/{location}/vpcscConfig
In update request: never set In response: always set
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getVpcscPolicy()
public VPCSCConfig.VPCSCPolicy getVpcscPolicy()The project per location VPC SC policy that defines the VPC SC behavior for the Remote Repository (Allow/Deny).
.google.devtools.artifactregistry.v1.VPCSCConfig.VPCSCPolicy vpcsc_policy = 2;
| Returns | |
|---|---|
| Type | Description |
VPCSCConfig.VPCSCPolicy |
The vpcscPolicy. |
getVpcscPolicyValue()
public int getVpcscPolicyValue()The project per location VPC SC policy that defines the VPC SC behavior for the Remote Repository (Allow/Deny).
.google.devtools.artifactregistry.v1.VPCSCConfig.VPCSCPolicy vpcsc_policy = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for vpcscPolicy. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(VPCSCConfig other)
public VPCSCConfig.Builder mergeFrom(VPCSCConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
VPCSCConfig |
| Returns | |
|---|---|
| Type | Description |
VPCSCConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VPCSCConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VPCSCConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VPCSCConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VPCSCConfig.Builder |
|
setName(String value)
public VPCSCConfig.Builder setName(String value)The name of the project's VPC SC Config.
Always of the form: projects/{projectID}/locations/{location}/vpcscConfig
In update request: never set In response: always set
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
VPCSCConfig.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public VPCSCConfig.Builder setNameBytes(ByteString value)The name of the project's VPC SC Config.
Always of the form: projects/{projectID}/locations/{location}/vpcscConfig
In update request: never set In response: always set
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
VPCSCConfig.Builder |
This builder for chaining. |
setVpcscPolicy(VPCSCConfig.VPCSCPolicy value)
public VPCSCConfig.Builder setVpcscPolicy(VPCSCConfig.VPCSCPolicy value)The project per location VPC SC policy that defines the VPC SC behavior for the Remote Repository (Allow/Deny).
.google.devtools.artifactregistry.v1.VPCSCConfig.VPCSCPolicy vpcsc_policy = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
VPCSCConfig.VPCSCPolicyThe vpcscPolicy to set. |
| Returns | |
|---|---|
| Type | Description |
VPCSCConfig.Builder |
This builder for chaining. |
setVpcscPolicyValue(int value)
public VPCSCConfig.Builder setVpcscPolicyValue(int value)The project per location VPC SC policy that defines the VPC SC behavior for the Remote Repository (Allow/Deny).
.google.devtools.artifactregistry.v1.VPCSCConfig.VPCSCPolicy vpcsc_policy = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for vpcscPolicy to set. |
| Returns | |
|---|---|
| Type | Description |
VPCSCConfig.Builder |
This builder for chaining. |