public static final class CertificateMap.GclbTarget.IpConfig.Builder extends GeneratedMessageV3.Builder<CertificateMap.GclbTarget.IpConfig.Builder> implements CertificateMap.GclbTarget.IpConfigOrBuilder
Defines IP configuration where this Certificate Map is serving.
Protobuf type google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllPorts(Iterable<? extends Integer> values)
public CertificateMap.GclbTarget.IpConfig.Builder addAllPorts(Iterable<? extends Integer> values)
Ports.
repeated uint32 ports = 3;
Parameter
Name | Description |
values | Iterable<? extends java.lang.Integer>
The ports to add.
|
Returns
addPorts(int value)
public CertificateMap.GclbTarget.IpConfig.Builder addPorts(int value)
Ports.
repeated uint32 ports = 3;
Parameter
Name | Description |
value | int
The ports to add.
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CertificateMap.GclbTarget.IpConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CertificateMap.GclbTarget.IpConfig build()
Returns
buildPartial()
public CertificateMap.GclbTarget.IpConfig buildPartial()
Returns
clear()
public CertificateMap.GclbTarget.IpConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CertificateMap.GclbTarget.IpConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIpAddress()
public CertificateMap.GclbTarget.IpConfig.Builder clearIpAddress()
An external IP address.
string ip_address = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public CertificateMap.GclbTarget.IpConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPorts()
public CertificateMap.GclbTarget.IpConfig.Builder clearPorts()
Ports.
repeated uint32 ports = 3;
Returns
clone()
public CertificateMap.GclbTarget.IpConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CertificateMap.GclbTarget.IpConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getIpAddress()
public String getIpAddress()
An external IP address.
string ip_address = 1;
Returns
Type | Description |
String | The ipAddress.
|
getIpAddressBytes()
public ByteString getIpAddressBytes()
An external IP address.
string ip_address = 1;
Returns
getPorts(int index)
public int getPorts(int index)
Ports.
repeated uint32 ports = 3;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
int | The ports at the given index.
|
getPortsCount()
public int getPortsCount()
Ports.
repeated uint32 ports = 3;
Returns
Type | Description |
int | The count of ports.
|
getPortsList()
public List<Integer> getPortsList()
Ports.
repeated uint32 ports = 3;
Returns
Type | Description |
List<Integer> | A list containing the ports.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CertificateMap.GclbTarget.IpConfig other)
public CertificateMap.GclbTarget.IpConfig.Builder mergeFrom(CertificateMap.GclbTarget.IpConfig other)
Parameter
Returns
public CertificateMap.GclbTarget.IpConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CertificateMap.GclbTarget.IpConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CertificateMap.GclbTarget.IpConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CertificateMap.GclbTarget.IpConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setIpAddress(String value)
public CertificateMap.GclbTarget.IpConfig.Builder setIpAddress(String value)
An external IP address.
string ip_address = 1;
Parameter
Name | Description |
value | String
The ipAddress to set.
|
Returns
setIpAddressBytes(ByteString value)
public CertificateMap.GclbTarget.IpConfig.Builder setIpAddressBytes(ByteString value)
An external IP address.
string ip_address = 1;
Parameter
Name | Description |
value | ByteString
The bytes for ipAddress to set.
|
Returns
setPorts(int index, int value)
public CertificateMap.GclbTarget.IpConfig.Builder setPorts(int index, int value)
Ports.
repeated uint32 ports = 3;
Parameters
Name | Description |
index | int
The index to set the value at.
|
value | int
The ports to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CertificateMap.GclbTarget.IpConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CertificateMap.GclbTarget.IpConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides