Class ServerTlsPolicy.Builder (0.8.0)

public static final class ServerTlsPolicy.Builder extends GeneratedMessageV3.Builder<ServerTlsPolicy.Builder> implements ServerTlsPolicyOrBuilder

ServerTlsPolicy is a resource that specifies how a server should authenticate incoming requests. This resource itself does not affect configuration unless it is attached to a target https proxy or endpoint config selector resource.

Protobuf type google.cloud.networksecurity.v1.ServerTlsPolicy

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServerTlsPolicy build()
Returns
TypeDescription
ServerTlsPolicy

buildPartial()

public ServerTlsPolicy buildPartial()
Returns
TypeDescription
ServerTlsPolicy

clear()

public ServerTlsPolicy.Builder clear()
Returns
TypeDescription
ServerTlsPolicy.Builder
Overrides

clearAllowOpen()

public ServerTlsPolicy.Builder clearAllowOpen()

Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if allow_open and mtls_policy are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.

bool allow_open = 6;

Returns
TypeDescription
ServerTlsPolicy.Builder

This builder for chaining.

clearCreateTime()

public ServerTlsPolicy.Builder clearCreateTime()

Output only. The timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ServerTlsPolicy.Builder

clearDescription()

public ServerTlsPolicy.Builder clearDescription()

Free-text description of the resource.

string description = 2;

Returns
TypeDescription
ServerTlsPolicy.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

public ServerTlsPolicy.Builder clearLabels()
Returns
TypeDescription
ServerTlsPolicy.Builder

clearMtlsPolicy()

public ServerTlsPolicy.Builder clearMtlsPolicy()

Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If allow_open and mtls_policy are set, server allows both plain text and mTLS connections.

.google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;

Returns
TypeDescription
ServerTlsPolicy.Builder

clearName()

public ServerTlsPolicy.Builder clearName()

Required. Name of the ServerTlsPolicy resource. It matches the pattern projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ServerTlsPolicy.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServerCertificate()

public ServerTlsPolicy.Builder clearServerCertificate()

Defines a mechanism to provision server identity (public and private keys). Cannot be combined with allow_open as a permissive mode that allows both plain text and TLS is not supported.

.google.cloud.networksecurity.v1.CertificateProvider server_certificate = 7;

Returns
TypeDescription
ServerTlsPolicy.Builder

clearUpdateTime()

public ServerTlsPolicy.Builder clearUpdateTime()

Output only. The timestamp when the resource was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ServerTlsPolicy.Builder

clone()

public ServerTlsPolicy.Builder clone()
Returns
TypeDescription
ServerTlsPolicy.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Set of label tags associated with the resource.

map<string, string> labels = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAllowOpen()

public boolean getAllowOpen()

Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if allow_open and mtls_policy are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.

bool allow_open = 6;

Returns
TypeDescription
boolean

The allowOpen.

getCreateTime()

public Timestamp getCreateTime()

Output only. The timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public ServerTlsPolicy getDefaultInstanceForType()
Returns
TypeDescription
ServerTlsPolicy

getDescription()

public String getDescription()

Free-text description of the resource.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Free-text description of the resource.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Set of label tags associated with the resource.

map<string, string> labels = 5;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Set of label tags associated with the resource.

map<string, string> labels = 5;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Set of label tags associated with the resource.

map<string, string> labels = 5;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Set of label tags associated with the resource.

map<string, string> labels = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMtlsPolicy()

public ServerTlsPolicy.MTLSPolicy getMtlsPolicy()

Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If allow_open and mtls_policy are set, server allows both plain text and mTLS connections.

.google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;

Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy

The mtlsPolicy.

getMtlsPolicyBuilder()

public ServerTlsPolicy.MTLSPolicy.Builder getMtlsPolicyBuilder()

Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If allow_open and mtls_policy are set, server allows both plain text and mTLS connections.

.google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;

Returns
TypeDescription
ServerTlsPolicy.MTLSPolicy.Builder

getMtlsPolicyOrBuilder()

public ServerTlsPolicy.MTLSPolicyOrBuilder getMtlsPolicyOrBuilder()

Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If allow_open and mtls_policy are set, server allows both plain text and mTLS connections.

.google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;

Returns
TypeDescription
ServerTlsPolicy.MTLSPolicyOrBuilder

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Required. Name of the ServerTlsPolicy resource. It matches the pattern projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the ServerTlsPolicy resource. It matches the pattern projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.

getServerCertificate()

public CertificateProvider getServerCertificate()

Defines a mechanism to provision server identity (public and private keys). Cannot be combined with allow_open as a permissive mode that allows both plain text and TLS is not supported.

.google.cloud.networksecurity.v1.CertificateProvider server_certificate = 7;

Returns
TypeDescription
CertificateProvider

The serverCertificate.

getServerCertificateBuilder()

public CertificateProvider.Builder getServerCertificateBuilder()

Defines a mechanism to provision server identity (public and private keys). Cannot be combined with allow_open as a permissive mode that allows both plain text and TLS is not supported.

.google.cloud.networksecurity.v1.CertificateProvider server_certificate = 7;

Returns
TypeDescription
CertificateProvider.Builder

getServerCertificateOrBuilder()

public CertificateProviderOrBuilder getServerCertificateOrBuilder()

Defines a mechanism to provision server identity (public and private keys). Cannot be combined with allow_open as a permissive mode that allows both plain text and TLS is not supported.

.google.cloud.networksecurity.v1.CertificateProvider server_certificate = 7;

Returns
TypeDescription
CertificateProviderOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The timestamp when the resource was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The timestamp when the resource was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The timestamp when the resource was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasMtlsPolicy()

public boolean hasMtlsPolicy()

Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If allow_open and mtls_policy are set, server allows both plain text and mTLS connections.

.google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;

Returns
TypeDescription
boolean

Whether the mtlsPolicy field is set.

hasServerCertificate()

public boolean hasServerCertificate()

Defines a mechanism to provision server identity (public and private keys). Cannot be combined with allow_open as a permissive mode that allows both plain text and TLS is not supported.

.google.cloud.networksecurity.v1.CertificateProvider server_certificate = 7;

Returns
TypeDescription
boolean

Whether the serverCertificate field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The timestamp when the resource was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public ServerTlsPolicy.Builder mergeCreateTime(Timestamp value)

Output only. The timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ServerTlsPolicy.Builder

mergeFrom(ServerTlsPolicy other)

public ServerTlsPolicy.Builder mergeFrom(ServerTlsPolicy other)
Parameter
NameDescription
otherServerTlsPolicy
Returns
TypeDescription
ServerTlsPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMtlsPolicy(ServerTlsPolicy.MTLSPolicy value)

public ServerTlsPolicy.Builder mergeMtlsPolicy(ServerTlsPolicy.MTLSPolicy value)

Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If allow_open and mtls_policy are set, server allows both plain text and mTLS connections.

.google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;

Parameter
NameDescription
valueServerTlsPolicy.MTLSPolicy
Returns
TypeDescription
ServerTlsPolicy.Builder

mergeServerCertificate(CertificateProvider value)

public ServerTlsPolicy.Builder mergeServerCertificate(CertificateProvider value)

Defines a mechanism to provision server identity (public and private keys). Cannot be combined with allow_open as a permissive mode that allows both plain text and TLS is not supported.

.google.cloud.networksecurity.v1.CertificateProvider server_certificate = 7;

Parameter
NameDescription
valueCertificateProvider
Returns
TypeDescription
ServerTlsPolicy.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public ServerTlsPolicy.Builder mergeUpdateTime(Timestamp value)

Output only. The timestamp when the resource was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ServerTlsPolicy.Builder

putAllLabels(Map<String,String> values)

public ServerTlsPolicy.Builder putAllLabels(Map<String,String> values)

Set of label tags associated with the resource.

map<string, string> labels = 5;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
ServerTlsPolicy.Builder

putLabels(String key, String value)

public ServerTlsPolicy.Builder putLabels(String key, String value)

Set of label tags associated with the resource.

map<string, string> labels = 5;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
ServerTlsPolicy.Builder

removeLabels(String key)

public ServerTlsPolicy.Builder removeLabels(String key)

Set of label tags associated with the resource.

map<string, string> labels = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
ServerTlsPolicy.Builder

setAllowOpen(boolean value)

public ServerTlsPolicy.Builder setAllowOpen(boolean value)

Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if allow_open and mtls_policy are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.

bool allow_open = 6;

Parameter
NameDescription
valueboolean

The allowOpen to set.

Returns
TypeDescription
ServerTlsPolicy.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public ServerTlsPolicy.Builder setCreateTime(Timestamp value)

Output only. The timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ServerTlsPolicy.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ServerTlsPolicy.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ServerTlsPolicy.Builder

setDescription(String value)

public ServerTlsPolicy.Builder setDescription(String value)

Free-text description of the resource.

string description = 2;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
ServerTlsPolicy.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ServerTlsPolicy.Builder setDescriptionBytes(ByteString value)

Free-text description of the resource.

string description = 2;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
ServerTlsPolicy.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMtlsPolicy(ServerTlsPolicy.MTLSPolicy value)

public ServerTlsPolicy.Builder setMtlsPolicy(ServerTlsPolicy.MTLSPolicy value)

Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If allow_open and mtls_policy are set, server allows both plain text and mTLS connections.

.google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;

Parameter
NameDescription
valueServerTlsPolicy.MTLSPolicy
Returns
TypeDescription
ServerTlsPolicy.Builder

setMtlsPolicy(ServerTlsPolicy.MTLSPolicy.Builder builderForValue)

public ServerTlsPolicy.Builder setMtlsPolicy(ServerTlsPolicy.MTLSPolicy.Builder builderForValue)

Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If allow_open and mtls_policy are set, server allows both plain text and mTLS connections.

.google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;

Parameter
NameDescription
builderForValueServerTlsPolicy.MTLSPolicy.Builder
Returns
TypeDescription
ServerTlsPolicy.Builder

setName(String value)

public ServerTlsPolicy.Builder setName(String value)

Required. Name of the ServerTlsPolicy resource. It matches the pattern projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ServerTlsPolicy.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ServerTlsPolicy.Builder setNameBytes(ByteString value)

Required. Name of the ServerTlsPolicy resource. It matches the pattern projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ServerTlsPolicy.Builder

This builder for chaining.

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

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

setServerCertificate(CertificateProvider value)

public ServerTlsPolicy.Builder setServerCertificate(CertificateProvider value)

Defines a mechanism to provision server identity (public and private keys). Cannot be combined with allow_open as a permissive mode that allows both plain text and TLS is not supported.

.google.cloud.networksecurity.v1.CertificateProvider server_certificate = 7;

Parameter
NameDescription
valueCertificateProvider
Returns
TypeDescription
ServerTlsPolicy.Builder

setServerCertificate(CertificateProvider.Builder builderForValue)

public ServerTlsPolicy.Builder setServerCertificate(CertificateProvider.Builder builderForValue)

Defines a mechanism to provision server identity (public and private keys). Cannot be combined with allow_open as a permissive mode that allows both plain text and TLS is not supported.

.google.cloud.networksecurity.v1.CertificateProvider server_certificate = 7;

Parameter
NameDescription
builderForValueCertificateProvider.Builder
Returns
TypeDescription
ServerTlsPolicy.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public ServerTlsPolicy.Builder setUpdateTime(Timestamp value)

Output only. The timestamp when the resource was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ServerTlsPolicy.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ServerTlsPolicy.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The timestamp when the resource was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ServerTlsPolicy.Builder