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
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()
Returns
Methods
addAllPorts(Iterable<? extends Integer> values)
public CertificateMap.GclbTarget.IpConfig.Builder addAllPorts(Iterable<? extends Integer> values)
Output only. Ports.
repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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)
Output only. Ports.
repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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()
Output only. An external IP address.
string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public CertificateMap.GclbTarget.IpConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPorts()
public CertificateMap.GclbTarget.IpConfig.Builder clearPorts()
Output only. Ports.
repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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()
Output only. An external IP address.
string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The ipAddress.
|
getIpAddressBytes()
public ByteString getIpAddressBytes()
Output only. An external IP address.
string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getPorts(int index)
public int getPorts(int index)
Output only. Ports.
repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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()
Output only. Ports.
repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
int | The count of ports.
|
getPortsList()
public List<Integer> getPortsList()
Output only. Ports.
repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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)
Output only. An external IP address.
string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | String
The ipAddress to set.
|
Returns
setIpAddressBytes(ByteString value)
public CertificateMap.GclbTarget.IpConfig.Builder setIpAddressBytes(ByteString value)
Output only. An external IP address.
string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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)
Output only. Ports.
repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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