Class CertificateMap.GclbTarget.Builder (0.5.2)

public static final class CertificateMap.GclbTarget.Builder extends GeneratedMessageV3.Builder<CertificateMap.GclbTarget.Builder> implements CertificateMap.GclbTargetOrBuilder

Describes a Target Proxy which uses this Certificate Map.

Protobuf type google.cloud.certificatemanager.v1.CertificateMap.GclbTarget

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllIpConfigs(Iterable<? extends CertificateMap.GclbTarget.IpConfig> values)

public CertificateMap.GclbTarget.Builder addAllIpConfigs(Iterable<? extends CertificateMap.GclbTarget.IpConfig> values)

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig>
Returns
TypeDescription
CertificateMap.GclbTarget.Builder

addIpConfigs(CertificateMap.GclbTarget.IpConfig value)

public CertificateMap.GclbTarget.Builder addIpConfigs(CertificateMap.GclbTarget.IpConfig value)

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Parameter
NameDescription
valueCertificateMap.GclbTarget.IpConfig
Returns
TypeDescription
CertificateMap.GclbTarget.Builder

addIpConfigs(CertificateMap.GclbTarget.IpConfig.Builder builderForValue)

public CertificateMap.GclbTarget.Builder addIpConfigs(CertificateMap.GclbTarget.IpConfig.Builder builderForValue)

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Parameter
NameDescription
builderForValueCertificateMap.GclbTarget.IpConfig.Builder
Returns
TypeDescription
CertificateMap.GclbTarget.Builder

addIpConfigs(int index, CertificateMap.GclbTarget.IpConfig value)

public CertificateMap.GclbTarget.Builder addIpConfigs(int index, CertificateMap.GclbTarget.IpConfig value)

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Parameters
NameDescription
indexint
valueCertificateMap.GclbTarget.IpConfig
Returns
TypeDescription
CertificateMap.GclbTarget.Builder

addIpConfigs(int index, CertificateMap.GclbTarget.IpConfig.Builder builderForValue)

public CertificateMap.GclbTarget.Builder addIpConfigs(int index, CertificateMap.GclbTarget.IpConfig.Builder builderForValue)

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Parameters
NameDescription
indexint
builderForValueCertificateMap.GclbTarget.IpConfig.Builder
Returns
TypeDescription
CertificateMap.GclbTarget.Builder

addIpConfigsBuilder()

public CertificateMap.GclbTarget.IpConfig.Builder addIpConfigsBuilder()

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Returns
TypeDescription
CertificateMap.GclbTarget.IpConfig.Builder

addIpConfigsBuilder(int index)

public CertificateMap.GclbTarget.IpConfig.Builder addIpConfigsBuilder(int index)

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
CertificateMap.GclbTarget.IpConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CertificateMap.GclbTarget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CertificateMap.GclbTarget.Builder
Overrides

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CertificateMap.GclbTarget.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CertificateMap.GclbTarget.Builder
Overrides

clearIpConfigs()

public CertificateMap.GclbTarget.Builder clearIpConfigs()

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Returns
TypeDescription
CertificateMap.GclbTarget.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateMap.GclbTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CertificateMap.GclbTarget.Builder
Overrides

clearTargetHttpsProxy()

public CertificateMap.GclbTarget.Builder clearTargetHttpsProxy()

This field returns the resource name in the following format: //compute.googleapis.com/projects/*/global/targetHttpsProxies/*.

string target_https_proxy = 1;

Returns
TypeDescription
CertificateMap.GclbTarget.Builder

This builder for chaining.

clearTargetProxy()

public CertificateMap.GclbTarget.Builder clearTargetProxy()
Returns
TypeDescription
CertificateMap.GclbTarget.Builder

clearTargetSslProxy()

public CertificateMap.GclbTarget.Builder clearTargetSslProxy()

This field returns the resource name in the following format: //compute.googleapis.com/projects/*/global/targetSslProxies/*.

string target_ssl_proxy = 3;

Returns
TypeDescription
CertificateMap.GclbTarget.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIpConfigs(int index)

public CertificateMap.GclbTarget.IpConfig getIpConfigs(int index)

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
CertificateMap.GclbTarget.IpConfig

getIpConfigsBuilder(int index)

public CertificateMap.GclbTarget.IpConfig.Builder getIpConfigsBuilder(int index)

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
CertificateMap.GclbTarget.IpConfig.Builder

getIpConfigsBuilderList()

public List<CertificateMap.GclbTarget.IpConfig.Builder> getIpConfigsBuilderList()

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Returns
TypeDescription
List<Builder>

getIpConfigsCount()

public int getIpConfigsCount()

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Returns
TypeDescription
int

getIpConfigsList()

public List<CertificateMap.GclbTarget.IpConfig> getIpConfigsList()

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Returns
TypeDescription
List<IpConfig>

getIpConfigsOrBuilder(int index)

public CertificateMap.GclbTarget.IpConfigOrBuilder getIpConfigsOrBuilder(int index)

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
CertificateMap.GclbTarget.IpConfigOrBuilder

getIpConfigsOrBuilderList()

public List<? extends CertificateMap.GclbTarget.IpConfigOrBuilder> getIpConfigsOrBuilderList()

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Returns
TypeDescription
List<? extends com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder>

getTargetHttpsProxy()

public String getTargetHttpsProxy()

This field returns the resource name in the following format: //compute.googleapis.com/projects/*/global/targetHttpsProxies/*.

string target_https_proxy = 1;

Returns
TypeDescription
String

The targetHttpsProxy.

getTargetHttpsProxyBytes()

public ByteString getTargetHttpsProxyBytes()

This field returns the resource name in the following format: //compute.googleapis.com/projects/*/global/targetHttpsProxies/*.

string target_https_proxy = 1;

Returns
TypeDescription
ByteString

The bytes for targetHttpsProxy.

getTargetProxyCase()

public CertificateMap.GclbTarget.TargetProxyCase getTargetProxyCase()
Returns
TypeDescription
CertificateMap.GclbTarget.TargetProxyCase

getTargetSslProxy()

public String getTargetSslProxy()

This field returns the resource name in the following format: //compute.googleapis.com/projects/*/global/targetSslProxies/*.

string target_ssl_proxy = 3;

Returns
TypeDescription
String

The targetSslProxy.

getTargetSslProxyBytes()

public ByteString getTargetSslProxyBytes()

This field returns the resource name in the following format: //compute.googleapis.com/projects/*/global/targetSslProxies/*.

string target_ssl_proxy = 3;

Returns
TypeDescription
ByteString

The bytes for targetSslProxy.

hasTargetHttpsProxy()

public boolean hasTargetHttpsProxy()

This field returns the resource name in the following format: //compute.googleapis.com/projects/*/global/targetHttpsProxies/*.

string target_https_proxy = 1;

Returns
TypeDescription
boolean

Whether the targetHttpsProxy field is set.

hasTargetSslProxy()

public boolean hasTargetSslProxy()

This field returns the resource name in the following format: //compute.googleapis.com/projects/*/global/targetSslProxies/*.

string target_ssl_proxy = 3;

Returns
TypeDescription
boolean

Whether the targetSslProxy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CertificateMap.GclbTarget other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeIpConfigs(int index)

public CertificateMap.GclbTarget.Builder removeIpConfigs(int index)

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
CertificateMap.GclbTarget.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CertificateMap.GclbTarget.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CertificateMap.GclbTarget.Builder
Overrides

setIpConfigs(int index, CertificateMap.GclbTarget.IpConfig value)

public CertificateMap.GclbTarget.Builder setIpConfigs(int index, CertificateMap.GclbTarget.IpConfig value)

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Parameters
NameDescription
indexint
valueCertificateMap.GclbTarget.IpConfig
Returns
TypeDescription
CertificateMap.GclbTarget.Builder

setIpConfigs(int index, CertificateMap.GclbTarget.IpConfig.Builder builderForValue)

public CertificateMap.GclbTarget.Builder setIpConfigs(int index, CertificateMap.GclbTarget.IpConfig.Builder builderForValue)

IP configurations for this Target Proxy where the Certificate Map is serving.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2;

Parameters
NameDescription
indexint
builderForValueCertificateMap.GclbTarget.IpConfig.Builder
Returns
TypeDescription
CertificateMap.GclbTarget.Builder

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

public CertificateMap.GclbTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CertificateMap.GclbTarget.Builder
Overrides

setTargetHttpsProxy(String value)

public CertificateMap.GclbTarget.Builder setTargetHttpsProxy(String value)

This field returns the resource name in the following format: //compute.googleapis.com/projects/*/global/targetHttpsProxies/*.

string target_https_proxy = 1;

Parameter
NameDescription
valueString

The targetHttpsProxy to set.

Returns
TypeDescription
CertificateMap.GclbTarget.Builder

This builder for chaining.

setTargetHttpsProxyBytes(ByteString value)

public CertificateMap.GclbTarget.Builder setTargetHttpsProxyBytes(ByteString value)

This field returns the resource name in the following format: //compute.googleapis.com/projects/*/global/targetHttpsProxies/*.

string target_https_proxy = 1;

Parameter
NameDescription
valueByteString

The bytes for targetHttpsProxy to set.

Returns
TypeDescription
CertificateMap.GclbTarget.Builder

This builder for chaining.

setTargetSslProxy(String value)

public CertificateMap.GclbTarget.Builder setTargetSslProxy(String value)

This field returns the resource name in the following format: //compute.googleapis.com/projects/*/global/targetSslProxies/*.

string target_ssl_proxy = 3;

Parameter
NameDescription
valueString

The targetSslProxy to set.

Returns
TypeDescription
CertificateMap.GclbTarget.Builder

This builder for chaining.

setTargetSslProxyBytes(ByteString value)

public CertificateMap.GclbTarget.Builder setTargetSslProxyBytes(ByteString value)

This field returns the resource name in the following format: //compute.googleapis.com/projects/*/global/targetSslProxies/*.

string target_ssl_proxy = 3;

Parameter
NameDescription
valueByteString

The bytes for targetSslProxy to set.

Returns
TypeDescription
CertificateMap.GclbTarget.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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