public static final class CreateClientTlsPolicyRequest.Builder extends GeneratedMessageV3.Builder<CreateClientTlsPolicyRequest.Builder> implements CreateClientTlsPolicyRequestOrBuilder
Request used by the CreateClientTlsPolicy method.
Protobuf type google.cloud.networksecurity.v1.CreateClientTlsPolicyRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateClientTlsPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateClientTlsPolicyRequest build()
Returns
buildPartial()
public CreateClientTlsPolicyRequest buildPartial()
Returns
clear()
public CreateClientTlsPolicyRequest.Builder clear()
Returns
Overrides
clearClientTlsPolicy()
public CreateClientTlsPolicyRequest.Builder clearClientTlsPolicy()
Required. ClientTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearClientTlsPolicyId()
public CreateClientTlsPolicyRequest.Builder clearClientTlsPolicyId()
Required. Short name of the ClientTlsPolicy resource to be created. This value should
be 1-63 characters long, containing only letters, numbers, hyphens, and
underscores, and should not start with a number. E.g. "client_mtls_policy".
string client_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateClientTlsPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateClientTlsPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateClientTlsPolicyRequest.Builder clearParent()
Required. The parent resource of the ClientTlsPolicy. Must be in
the format projects/*/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public CreateClientTlsPolicyRequest.Builder clone()
Returns
Overrides
getClientTlsPolicy()
public ClientTlsPolicy getClientTlsPolicy()
Required. ClientTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getClientTlsPolicyBuilder()
public ClientTlsPolicy.Builder getClientTlsPolicyBuilder()
Required. ClientTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getClientTlsPolicyId()
public String getClientTlsPolicyId()
Required. Short name of the ClientTlsPolicy resource to be created. This value should
be 1-63 characters long, containing only letters, numbers, hyphens, and
underscores, and should not start with a number. E.g. "client_mtls_policy".
string client_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The clientTlsPolicyId.
|
getClientTlsPolicyIdBytes()
public ByteString getClientTlsPolicyIdBytes()
Required. Short name of the ClientTlsPolicy resource to be created. This value should
be 1-63 characters long, containing only letters, numbers, hyphens, and
underscores, and should not start with a number. E.g. "client_mtls_policy".
string client_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for clientTlsPolicyId.
|
getClientTlsPolicyOrBuilder()
public ClientTlsPolicyOrBuilder getClientTlsPolicyOrBuilder()
Required. ClientTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateClientTlsPolicyRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getParent()
public String getParent()
Required. The parent resource of the ClientTlsPolicy. Must be in
the format projects/*/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The parent resource of the ClientTlsPolicy. Must be in
the format projects/*/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
hasClientTlsPolicy()
public boolean hasClientTlsPolicy()
Required. ClientTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the clientTlsPolicy field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeClientTlsPolicy(ClientTlsPolicy value)
public CreateClientTlsPolicyRequest.Builder mergeClientTlsPolicy(ClientTlsPolicy value)
Required. ClientTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(CreateClientTlsPolicyRequest other)
public CreateClientTlsPolicyRequest.Builder mergeFrom(CreateClientTlsPolicyRequest other)
Parameter
Returns
public CreateClientTlsPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateClientTlsPolicyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateClientTlsPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setClientTlsPolicy(ClientTlsPolicy value)
public CreateClientTlsPolicyRequest.Builder setClientTlsPolicy(ClientTlsPolicy value)
Required. ClientTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setClientTlsPolicy(ClientTlsPolicy.Builder builderForValue)
public CreateClientTlsPolicyRequest.Builder setClientTlsPolicy(ClientTlsPolicy.Builder builderForValue)
Required. ClientTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setClientTlsPolicyId(String value)
public CreateClientTlsPolicyRequest.Builder setClientTlsPolicyId(String value)
Required. Short name of the ClientTlsPolicy resource to be created. This value should
be 1-63 characters long, containing only letters, numbers, hyphens, and
underscores, and should not start with a number. E.g. "client_mtls_policy".
string client_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The clientTlsPolicyId to set.
|
Returns
setClientTlsPolicyIdBytes(ByteString value)
public CreateClientTlsPolicyRequest.Builder setClientTlsPolicyIdBytes(ByteString value)
Required. Short name of the ClientTlsPolicy resource to be created. This value should
be 1-63 characters long, containing only letters, numbers, hyphens, and
underscores, and should not start with a number. E.g. "client_mtls_policy".
string client_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for clientTlsPolicyId to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateClientTlsPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public CreateClientTlsPolicyRequest.Builder setParent(String value)
Required. The parent resource of the ClientTlsPolicy. Must be in
the format projects/*/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public CreateClientTlsPolicyRequest.Builder setParentBytes(ByteString value)
Required. The parent resource of the ClientTlsPolicy. Must be in
the format projects/*/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateClientTlsPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateClientTlsPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides