Class CertificateMap.GclbTarget.Builder (0.7.0)

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)

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

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

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

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

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

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

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

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

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

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueCertificateMap.GclbTarget.IpConfig.Builder
Returns
TypeDescription
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.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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()

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

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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()

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

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

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()

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

string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

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

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Builder>

getIpConfigsCount()

public int getIpConfigsCount()

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

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getIpConfigsList()

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

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

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for targetHttpsProxy.

getTargetProxyCase()

public CertificateMap.GclbTarget.TargetProxyCase getTargetProxyCase()
Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

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

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

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

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

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

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

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

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

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)

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

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

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)

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

string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

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

string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

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