Class CertificateMap.GclbTarget.IpConfig.Builder (0.38.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
TypeDescription
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
NameDescription
valuesIterable<? extends java.lang.Integer>

The ports to add.

Returns
TypeDescription
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
NameDescription
valueint

The ports to add.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CertificateMap.GclbTarget.IpConfig.Builder
Overrides

build()

public CertificateMap.GclbTarget.IpConfig build()
Returns
TypeDescription
CertificateMap.GclbTarget.IpConfig

buildPartial()

public CertificateMap.GclbTarget.IpConfig buildPartial()
Returns
TypeDescription
CertificateMap.GclbTarget.IpConfig

clear()

public CertificateMap.GclbTarget.IpConfig.Builder clear()
Returns
TypeDescription
CertificateMap.GclbTarget.IpConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CertificateMap.GclbTarget.IpConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
CertificateMap.GclbTarget.IpConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateMap.GclbTarget.IpConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CertificateMap.GclbTarget.IpConfig.Builder

This builder for chaining.

clone()

public CertificateMap.GclbTarget.IpConfig.Builder clone()
Returns
TypeDescription
CertificateMap.GclbTarget.IpConfig.Builder
Overrides

getDefaultInstanceForType()

public CertificateMap.GclbTarget.IpConfig getDefaultInstanceForType()
Returns
TypeDescription
CertificateMap.GclbTarget.IpConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIpAddress()

public String getIpAddress()

Output only. An external IP address.

string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

Output only. An external IP address.

string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
int

The count of ports.

getPortsList()

public List<Integer> getPortsList()

Output only. Ports.

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

Returns
TypeDescription
List<Integer>

A list containing the ports.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CertificateMap.GclbTarget.IpConfig other)

public CertificateMap.GclbTarget.IpConfig.Builder mergeFrom(CertificateMap.GclbTarget.IpConfig other)
Parameter
NameDescription
otherCertificateMap.GclbTarget.IpConfig
Returns
TypeDescription
CertificateMap.GclbTarget.IpConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CertificateMap.GclbTarget.IpConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateMap.GclbTarget.IpConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CertificateMap.GclbTarget.IpConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CertificateMap.GclbTarget.IpConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateMap.GclbTarget.IpConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CertificateMap.GclbTarget.IpConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CertificateMap.GclbTarget.IpConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The ipAddress to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for ipAddress to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueint

The ports to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CertificateMap.GclbTarget.IpConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CertificateMap.GclbTarget.IpConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CertificateMap.GclbTarget.IpConfig.Builder
Overrides