Class CertificateMap.GclbTarget.Builder (0.16.0)

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

Describes a Target Proxy that uses this Certificate Map.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

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

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

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

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

Parameter
Name Description
values Iterable<? extends com.google.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig>
Returns
Type Description
CertificateMap.GclbTarget.Builder

addIpConfigs(CertificateMap.GclbTarget.IpConfig value)

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

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

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

Parameter
Name Description
value CertificateMap.GclbTarget.IpConfig
Returns
Type Description
CertificateMap.GclbTarget.Builder

addIpConfigs(CertificateMap.GclbTarget.IpConfig.Builder builderForValue)

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

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

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

Parameter
Name Description
builderForValue CertificateMap.GclbTarget.IpConfig.Builder
Returns
Type Description
CertificateMap.GclbTarget.Builder

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

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

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

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

Parameters
Name Description
index int
value CertificateMap.GclbTarget.IpConfig
Returns
Type Description
CertificateMap.GclbTarget.Builder

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

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

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

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

Parameters
Name Description
index int
builderForValue CertificateMap.GclbTarget.IpConfig.Builder
Returns
Type Description
CertificateMap.GclbTarget.Builder

addIpConfigsBuilder()

public CertificateMap.GclbTarget.IpConfig.Builder addIpConfigsBuilder()

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

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

Returns
Type Description
CertificateMap.GclbTarget.IpConfig.Builder

addIpConfigsBuilder(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
CertificateMap.GclbTarget.IpConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CertificateMap.GclbTarget.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CertificateMap.GclbTarget.Builder
Overrides

clearIpConfigs()

public CertificateMap.GclbTarget.Builder clearIpConfigs()

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

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

Returns
Type Description
CertificateMap.GclbTarget.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTargetHttpsProxy()

public CertificateMap.GclbTarget.Builder clearTargetHttpsProxy()

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

string target_https_proxy = 1;

Returns
Type Description
CertificateMap.GclbTarget.Builder

This builder for chaining.

clearTargetProxy()

public CertificateMap.GclbTarget.Builder clearTargetProxy()
Returns
Type Description
CertificateMap.GclbTarget.Builder

clearTargetSslProxy()

public CertificateMap.GclbTarget.Builder clearTargetSslProxy()

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

string target_ssl_proxy = 3;

Returns
Type Description
CertificateMap.GclbTarget.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIpConfigs(int index)

public CertificateMap.GclbTarget.IpConfig getIpConfigs(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
CertificateMap.GclbTarget.IpConfig

getIpConfigsBuilder(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
CertificateMap.GclbTarget.IpConfig.Builder

getIpConfigsBuilderList()

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

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

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

Returns
Type Description
List<Builder>

getIpConfigsCount()

public int getIpConfigsCount()

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

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

Returns
Type Description
int

getIpConfigsList()

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

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

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

Returns
Type Description
List<IpConfig>

getIpConfigsOrBuilder(int index)

public CertificateMap.GclbTarget.IpConfigOrBuilder getIpConfigsOrBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
CertificateMap.GclbTarget.IpConfigOrBuilder

getIpConfigsOrBuilderList()

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

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

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

Returns
Type Description
List<? extends com.google.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder>

getTargetHttpsProxy()

public String getTargetHttpsProxy()

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

string target_https_proxy = 1;

Returns
Type Description
String

The targetHttpsProxy.

getTargetHttpsProxyBytes()

public ByteString getTargetHttpsProxyBytes()

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

string target_https_proxy = 1;

Returns
Type Description
ByteString

The bytes for targetHttpsProxy.

getTargetProxyCase()

public CertificateMap.GclbTarget.TargetProxyCase getTargetProxyCase()
Returns
Type Description
CertificateMap.GclbTarget.TargetProxyCase

getTargetSslProxy()

public String getTargetSslProxy()

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

string target_ssl_proxy = 3;

Returns
Type Description
String

The targetSslProxy.

getTargetSslProxyBytes()

public ByteString getTargetSslProxyBytes()

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

string target_ssl_proxy = 3;

Returns
Type Description
ByteString

The bytes for targetSslProxy.

hasTargetHttpsProxy()

public boolean hasTargetHttpsProxy()

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

string target_https_proxy = 1;

Returns
Type Description
boolean

Whether the targetHttpsProxy field is set.

hasTargetSslProxy()

public boolean hasTargetSslProxy()

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

string target_ssl_proxy = 3;

Returns
Type Description
boolean

Whether the targetSslProxy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CertificateMap.GclbTarget other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeIpConfigs(int index)

public CertificateMap.GclbTarget.Builder removeIpConfigs(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
CertificateMap.GclbTarget.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

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

Parameters
Name Description
index int
value CertificateMap.GclbTarget.IpConfig
Returns
Type Description
CertificateMap.GclbTarget.Builder

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

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

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

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

Parameters
Name Description
index int
builderForValue CertificateMap.GclbTarget.IpConfig.Builder
Returns
Type Description
CertificateMap.GclbTarget.Builder

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

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

setTargetHttpsProxy(String value)

public CertificateMap.GclbTarget.Builder setTargetHttpsProxy(String value)

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

string target_https_proxy = 1;

Parameter
Name Description
value String

The targetHttpsProxy to set.

Returns
Type Description
CertificateMap.GclbTarget.Builder

This builder for chaining.

setTargetHttpsProxyBytes(ByteString value)

public CertificateMap.GclbTarget.Builder setTargetHttpsProxyBytes(ByteString value)

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

string target_https_proxy = 1;

Parameter
Name Description
value ByteString

The bytes for targetHttpsProxy to set.

Returns
Type Description
CertificateMap.GclbTarget.Builder

This builder for chaining.

setTargetSslProxy(String value)

public CertificateMap.GclbTarget.Builder setTargetSslProxy(String value)

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

string target_ssl_proxy = 3;

Parameter
Name Description
value String

The targetSslProxy to set.

Returns
Type Description
CertificateMap.GclbTarget.Builder

This builder for chaining.

setTargetSslProxyBytes(ByteString value)

public CertificateMap.GclbTarget.Builder setTargetSslProxyBytes(ByteString value)

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

string target_ssl_proxy = 3;

Parameter
Name Description
value ByteString

The bytes for targetSslProxy to set.

Returns
Type Description
CertificateMap.GclbTarget.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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