Class CertificateMap.GclbTarget.IpConfig.Builder (0.54.0)

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
Type Description
Descriptor

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
Type Description
CertificateMap.GclbTarget.IpConfig.Builder

This builder for chaining.

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
Type Description
CertificateMap.GclbTarget.IpConfig.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CertificateMap.GclbTarget.IpConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CertificateMap.GclbTarget.IpConfig.Builder
Overrides

build()

public CertificateMap.GclbTarget.IpConfig build()
Returns
Type Description
CertificateMap.GclbTarget.IpConfig

buildPartial()

public CertificateMap.GclbTarget.IpConfig buildPartial()
Returns
Type Description
CertificateMap.GclbTarget.IpConfig

clear()

public CertificateMap.GclbTarget.IpConfig.Builder clear()
Returns
Type Description
CertificateMap.GclbTarget.IpConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CertificateMap.GclbTarget.IpConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CertificateMap.GclbTarget.IpConfig.Builder
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
Type Description
CertificateMap.GclbTarget.IpConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateMap.GclbTarget.IpConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CertificateMap.GclbTarget.IpConfig.Builder
Overrides

clearPorts()

public CertificateMap.GclbTarget.IpConfig.Builder clearPorts()

Output only. Ports.

repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CertificateMap.GclbTarget.IpConfig.Builder

This builder for chaining.

clone()

public CertificateMap.GclbTarget.IpConfig.Builder clone()
Returns
Type Description
CertificateMap.GclbTarget.IpConfig.Builder
Overrides

getDefaultInstanceForType()

public CertificateMap.GclbTarget.IpConfig getDefaultInstanceForType()
Returns
Type Description
CertificateMap.GclbTarget.IpConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
ByteString

The bytes for ipAddress.

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CertificateMap.GclbTarget.IpConfig other)

public CertificateMap.GclbTarget.IpConfig.Builder mergeFrom(CertificateMap.GclbTarget.IpConfig other)
Parameter
Name Description
other CertificateMap.GclbTarget.IpConfig
Returns
Type Description
CertificateMap.GclbTarget.IpConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CertificateMap.GclbTarget.IpConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateMap.GclbTarget.IpConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CertificateMap.GclbTarget.IpConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CertificateMap.GclbTarget.IpConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateMap.GclbTarget.IpConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CertificateMap.GclbTarget.IpConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CertificateMap.GclbTarget.IpConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CertificateMap.GclbTarget.IpConfig.Builder
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
Type Description
CertificateMap.GclbTarget.IpConfig.Builder

This builder for chaining.

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
Type Description
CertificateMap.GclbTarget.IpConfig.Builder

This builder for chaining.

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
Type Description
CertificateMap.GclbTarget.IpConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CertificateMap.GclbTarget.IpConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CertificateMap.GclbTarget.IpConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CertificateMap.GclbTarget.IpConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CertificateMap.GclbTarget.IpConfig.Builder
Overrides