- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 1.0.0
- 0.5.0
public static final class LinkedVpcNetwork.Builder extends GeneratedMessageV3.Builder<LinkedVpcNetwork.Builder> implements LinkedVpcNetworkOrBuilder
An existing VPC network.
Protobuf type google.cloud.networkconnectivity.v1.LinkedVpcNetwork
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LinkedVpcNetwork.BuilderImplements
LinkedVpcNetworkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllExcludeExportRanges(Iterable<String> values)
public LinkedVpcNetwork.Builder addAllExcludeExportRanges(Iterable<String> values)
Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The excludeExportRanges to add. |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
addAllIncludeExportRanges(Iterable<String> values)
public LinkedVpcNetwork.Builder addAllIncludeExportRanges(Iterable<String> values)
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The includeExportRanges to add. |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
addAllProducerVpcSpokes(Iterable<String> values)
public LinkedVpcNetwork.Builder addAllProducerVpcSpokes(Iterable<String> values)
Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC spoke for. These producer VPCs are connected through VPC peering to this spoke's backing VPC network.
repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The producerVpcSpokes to add. |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
addExcludeExportRanges(String value)
public LinkedVpcNetwork.Builder addExcludeExportRanges(String value)
Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The excludeExportRanges to add. |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
addExcludeExportRangesBytes(ByteString value)
public LinkedVpcNetwork.Builder addExcludeExportRangesBytes(ByteString value)
Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the excludeExportRanges to add. |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
addIncludeExportRanges(String value)
public LinkedVpcNetwork.Builder addIncludeExportRanges(String value)
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The includeExportRanges to add. |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
addIncludeExportRangesBytes(ByteString value)
public LinkedVpcNetwork.Builder addIncludeExportRangesBytes(ByteString value)
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the includeExportRanges to add. |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
addProducerVpcSpokes(String value)
public LinkedVpcNetwork.Builder addProducerVpcSpokes(String value)
Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC spoke for. These producer VPCs are connected through VPC peering to this spoke's backing VPC network.
repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The producerVpcSpokes to add. |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
addProducerVpcSpokesBytes(ByteString value)
public LinkedVpcNetwork.Builder addProducerVpcSpokesBytes(ByteString value)
Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC spoke for. These producer VPCs are connected through VPC peering to this spoke's backing VPC network.
repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the producerVpcSpokes to add. |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LinkedVpcNetwork.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
build()
public LinkedVpcNetwork build()
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork |
buildPartial()
public LinkedVpcNetwork buildPartial()
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork |
clear()
public LinkedVpcNetwork.Builder clear()
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
clearExcludeExportRanges()
public LinkedVpcNetwork.Builder clearExcludeExportRanges()
Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public LinkedVpcNetwork.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
clearIncludeExportRanges()
public LinkedVpcNetwork.Builder clearIncludeExportRanges()
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LinkedVpcNetwork.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
clearProducerVpcSpokes()
public LinkedVpcNetwork.Builder clearProducerVpcSpokes()
Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC spoke for. These producer VPCs are connected through VPC peering to this spoke's backing VPC network.
repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
clearUri()
public LinkedVpcNetwork.Builder clearUri()
Required. The URI of the VPC network resource.
string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
clone()
public LinkedVpcNetwork.Builder clone()
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
getDefaultInstanceForType()
public LinkedVpcNetwork getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExcludeExportRanges(int index)
public String getExcludeExportRanges(int index)
Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The excludeExportRanges at the given index. |
getExcludeExportRangesBytes(int index)
public ByteString getExcludeExportRangesBytes(int index)
Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the excludeExportRanges at the given index. |
getExcludeExportRangesCount()
public int getExcludeExportRangesCount()
Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of excludeExportRanges. |
getExcludeExportRangesList()
public ProtocolStringList getExcludeExportRangesList()
Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the excludeExportRanges. |
getIncludeExportRanges(int index)
public String getIncludeExportRanges(int index)
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The includeExportRanges at the given index. |
getIncludeExportRangesBytes(int index)
public ByteString getIncludeExportRangesBytes(int index)
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the includeExportRanges at the given index. |
getIncludeExportRangesCount()
public int getIncludeExportRangesCount()
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of includeExportRanges. |
getIncludeExportRangesList()
public ProtocolStringList getIncludeExportRangesList()
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the includeExportRanges. |
getProducerVpcSpokes(int index)
public String getProducerVpcSpokes(int index)
Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC spoke for. These producer VPCs are connected through VPC peering to this spoke's backing VPC network.
repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The producerVpcSpokes at the given index. |
getProducerVpcSpokesBytes(int index)
public ByteString getProducerVpcSpokesBytes(int index)
Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC spoke for. These producer VPCs are connected through VPC peering to this spoke's backing VPC network.
repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the producerVpcSpokes at the given index. |
getProducerVpcSpokesCount()
public int getProducerVpcSpokesCount()
Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC spoke for. These producer VPCs are connected through VPC peering to this spoke's backing VPC network.
repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int |
The count of producerVpcSpokes. |
getProducerVpcSpokesList()
public ProtocolStringList getProducerVpcSpokesList()
Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC spoke for. These producer VPCs are connected through VPC peering to this spoke's backing VPC network.
repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the producerVpcSpokes. |
getUri()
public String getUri()
Required. The URI of the VPC network resource.
string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()
Required. The URI of the VPC network resource.
string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(LinkedVpcNetwork other)
public LinkedVpcNetwork.Builder mergeFrom(LinkedVpcNetwork other)
Parameter | |
---|---|
Name | Description |
other |
LinkedVpcNetwork |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LinkedVpcNetwork.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public LinkedVpcNetwork.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LinkedVpcNetwork.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
setExcludeExportRanges(int index, String value)
public LinkedVpcNetwork.Builder setExcludeExportRanges(int index, String value)
Optional. IP ranges encompassing the subnets to be excluded from peering.
repeated string exclude_export_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The excludeExportRanges to set. |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public LinkedVpcNetwork.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
setIncludeExportRanges(int index, String value)
public LinkedVpcNetwork.Builder setIncludeExportRanges(int index, String value)
Optional. IP ranges allowed to be included from peering.
repeated string include_export_ranges = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The includeExportRanges to set. |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
setProducerVpcSpokes(int index, String value)
public LinkedVpcNetwork.Builder setProducerVpcSpokes(int index, String value)
Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC spoke for. These producer VPCs are connected through VPC peering to this spoke's backing VPC network.
repeated string producer_vpc_spokes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The producerVpcSpokes to set. |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LinkedVpcNetwork.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LinkedVpcNetwork.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
setUri(String value)
public LinkedVpcNetwork.Builder setUri(String value)
Required. The URI of the VPC network resource.
string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The uri to set. |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public LinkedVpcNetwork.Builder setUriBytes(ByteString value)
Required. The URI of the VPC network resource.
string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uri to set. |
Returns | |
---|---|
Type | Description |
LinkedVpcNetwork.Builder |
This builder for chaining. |