public static final class VpcAccess.Builder extends GeneratedMessageV3.Builder<VpcAccess.Builder> implements VpcAccessOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 VpcAccess.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public VpcAccess buildPartial()
clear()
public VpcAccess.Builder clear()
Overrides
clearConnector()
public VpcAccess.Builder clearConnector()
VPC Access connector name.
Format: projects/{project}/locations/{location}/connectors/{connector},
where {project} can be project id or number.
string connector = 1 [(.google.api.resource_reference) = { ... }
clearEgress()
public VpcAccess.Builder clearEgress()
Traffic VPC egress settings.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
clearField(Descriptors.FieldDescriptor field)
public VpcAccess.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VpcAccess.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public VpcAccess.Builder clone()
Overrides
getConnector()
public String getConnector()
VPC Access connector name.
Format: projects/{project}/locations/{location}/connectors/{connector},
where {project} can be project id or number.
string connector = 1 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The connector.
|
getConnectorBytes()
public ByteString getConnectorBytes()
VPC Access connector name.
Format: projects/{project}/locations/{location}/connectors/{connector},
where {project} can be project id or number.
string connector = 1 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for connector.
|
getDefaultInstanceForType()
public VpcAccess getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEgress()
public VpcAccess.VpcEgress getEgress()
Traffic VPC egress settings.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
getEgressValue()
public int getEgressValue()
Traffic VPC egress settings.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for egress.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(VpcAccess other)
public VpcAccess.Builder mergeFrom(VpcAccess other)
public VpcAccess.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VpcAccess.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpcAccess.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setConnector(String value)
public VpcAccess.Builder setConnector(String value)
VPC Access connector name.
Format: projects/{project}/locations/{location}/connectors/{connector},
where {project} can be project id or number.
string connector = 1 [(.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The connector to set.
|
setConnectorBytes(ByteString value)
public VpcAccess.Builder setConnectorBytes(ByteString value)
VPC Access connector name.
Format: projects/{project}/locations/{location}/connectors/{connector},
where {project} can be project id or number.
string connector = 1 [(.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for connector to set.
|
setEgress(VpcAccess.VpcEgress value)
public VpcAccess.Builder setEgress(VpcAccess.VpcEgress value)
Traffic VPC egress settings.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
setEgressValue(int value)
public VpcAccess.Builder setEgressValue(int value)
Traffic VPC egress settings.
.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for egress to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public VpcAccess.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpcAccess.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VpcAccess.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides