- 0.49.0 (latest)
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class ExternalAccessRule.IpRange.Builder extends GeneratedMessageV3.Builder<ExternalAccessRule.IpRange.Builder> implements ExternalAccessRule.IpRangeOrBuilder
An IP range provided in any one of the supported formats.
Protobuf type google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExternalAccessRule.IpRange.BuilderImplements
ExternalAccessRule.IpRangeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExternalAccessRule.IpRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder |
build()
public ExternalAccessRule.IpRange build()
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange |
buildPartial()
public ExternalAccessRule.IpRange buildPartial()
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange |
clear()
public ExternalAccessRule.IpRange.Builder clear()
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder |
clearExternalAddress()
public ExternalAccessRule.IpRange.Builder clearExternalAddress()
The name of an ExternalAddress
resource. The external address must
have been reserved in the scope of this external access rule's parent
network policy. Provide the external address name in the form of
projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}
.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address
.
string external_address = 3 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ExternalAccessRule.IpRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder |
clearIpAddress()
public ExternalAccessRule.IpRange.Builder clearIpAddress()
A single IP address. For example: 10.0.0.5
.
string ip_address = 1;
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder | This builder for chaining. |
clearIpAddressRange()
public ExternalAccessRule.IpRange.Builder clearIpAddressRange()
An IP address range in the CIDR format. For example: 10.0.0.0/24
.
string ip_address_range = 2;
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder | This builder for chaining. |
clearIpRange()
public ExternalAccessRule.IpRange.Builder clearIpRange()
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExternalAccessRule.IpRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder |
clone()
public ExternalAccessRule.IpRange.Builder clone()
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder |
getDefaultInstanceForType()
public ExternalAccessRule.IpRange getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExternalAddress()
public String getExternalAddress()
The name of an ExternalAddress
resource. The external address must
have been reserved in the scope of this external access rule's parent
network policy. Provide the external address name in the form of
projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}
.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address
.
string external_address = 3 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The externalAddress. |
getExternalAddressBytes()
public ByteString getExternalAddressBytes()
The name of an ExternalAddress
resource. The external address must
have been reserved in the scope of this external access rule's parent
network policy. Provide the external address name in the form of
projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}
.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address
.
string external_address = 3 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for externalAddress. |
getIpAddress()
public String getIpAddress()
A single IP address. For example: 10.0.0.5
.
string ip_address = 1;
Returns | |
---|---|
Type | Description |
String | The ipAddress. |
getIpAddressBytes()
public ByteString getIpAddressBytes()
A single IP address. For example: 10.0.0.5
.
string ip_address = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for ipAddress. |
getIpAddressRange()
public String getIpAddressRange()
An IP address range in the CIDR format. For example: 10.0.0.0/24
.
string ip_address_range = 2;
Returns | |
---|---|
Type | Description |
String | The ipAddressRange. |
getIpAddressRangeBytes()
public ByteString getIpAddressRangeBytes()
An IP address range in the CIDR format. For example: 10.0.0.0/24
.
string ip_address_range = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for ipAddressRange. |
getIpRangeCase()
public ExternalAccessRule.IpRange.IpRangeCase getIpRangeCase()
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.IpRangeCase |
hasExternalAddress()
public boolean hasExternalAddress()
The name of an ExternalAddress
resource. The external address must
have been reserved in the scope of this external access rule's parent
network policy. Provide the external address name in the form of
projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}
.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address
.
string external_address = 3 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
boolean | Whether the externalAddress field is set. |
hasIpAddress()
public boolean hasIpAddress()
A single IP address. For example: 10.0.0.5
.
string ip_address = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the ipAddress field is set. |
hasIpAddressRange()
public boolean hasIpAddressRange()
An IP address range in the CIDR format. For example: 10.0.0.0/24
.
string ip_address_range = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the ipAddressRange field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ExternalAccessRule.IpRange other)
public ExternalAccessRule.IpRange.Builder mergeFrom(ExternalAccessRule.IpRange other)
Parameter | |
---|---|
Name | Description |
other | ExternalAccessRule.IpRange |
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExternalAccessRule.IpRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ExternalAccessRule.IpRange.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExternalAccessRule.IpRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder |
setExternalAddress(String value)
public ExternalAccessRule.IpRange.Builder setExternalAddress(String value)
The name of an ExternalAddress
resource. The external address must
have been reserved in the scope of this external access rule's parent
network policy. Provide the external address name in the form of
projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}
.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address
.
string external_address = 3 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The externalAddress to set. |
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder | This builder for chaining. |
setExternalAddressBytes(ByteString value)
public ExternalAccessRule.IpRange.Builder setExternalAddressBytes(ByteString value)
The name of an ExternalAddress
resource. The external address must
have been reserved in the scope of this external access rule's parent
network policy. Provide the external address name in the form of
projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}
.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address
.
string external_address = 3 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for externalAddress to set. |
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ExternalAccessRule.IpRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder |
setIpAddress(String value)
public ExternalAccessRule.IpRange.Builder setIpAddress(String value)
A single IP address. For example: 10.0.0.5
.
string ip_address = 1;
Parameter | |
---|---|
Name | Description |
value | String The ipAddress to set. |
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder | This builder for chaining. |
setIpAddressBytes(ByteString value)
public ExternalAccessRule.IpRange.Builder setIpAddressBytes(ByteString value)
A single IP address. For example: 10.0.0.5
.
string ip_address = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for ipAddress to set. |
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder | This builder for chaining. |
setIpAddressRange(String value)
public ExternalAccessRule.IpRange.Builder setIpAddressRange(String value)
An IP address range in the CIDR format. For example: 10.0.0.0/24
.
string ip_address_range = 2;
Parameter | |
---|---|
Name | Description |
value | String The ipAddressRange to set. |
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder | This builder for chaining. |
setIpAddressRangeBytes(ByteString value)
public ExternalAccessRule.IpRange.Builder setIpAddressRangeBytes(ByteString value)
An IP address range in the CIDR format. For example: 10.0.0.0/24
.
string ip_address_range = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for ipAddressRange to set. |
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExternalAccessRule.IpRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExternalAccessRule.IpRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExternalAccessRule.IpRange.Builder |