public static final class CreateClientTlsPolicyRequest.Builder extends GeneratedMessageV3.Builder<CreateClientTlsPolicyRequest.Builder> implements CreateClientTlsPolicyRequestOrBuilder
Request used by the CreateClientTlsPolicy method.
Protobuf type google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateClientTlsPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateClientTlsPolicyRequest build()
buildPartial()
public CreateClientTlsPolicyRequest buildPartial()
clear()
public CreateClientTlsPolicyRequest.Builder clear()
Overrides
clearClientTlsPolicy()
public CreateClientTlsPolicyRequest.Builder clearClientTlsPolicy()
Required. ClientTlsPolicy resource to be created.
.google.cloud.networksecurity.v1beta1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
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];
clearField(Descriptors.FieldDescriptor field)
public CreateClientTlsPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateClientTlsPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public CreateClientTlsPolicyRequest.Builder clone()
Overrides
getClientTlsPolicy()
public ClientTlsPolicy getClientTlsPolicy()
Required. ClientTlsPolicy resource to be created.
.google.cloud.networksecurity.v1beta1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
getClientTlsPolicyBuilder()
public ClientTlsPolicy.Builder getClientTlsPolicyBuilder()
Required. ClientTlsPolicy resource to be created.
.google.cloud.networksecurity.v1beta1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
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.v1beta1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateClientTlsPolicyRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
hasClientTlsPolicy()
public boolean hasClientTlsPolicy()
Required. ClientTlsPolicy resource to be created.
.google.cloud.networksecurity.v1beta1.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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeClientTlsPolicy(ClientTlsPolicy value)
public CreateClientTlsPolicyRequest.Builder mergeClientTlsPolicy(ClientTlsPolicy value)
Required. ClientTlsPolicy resource to be created.
.google.cloud.networksecurity.v1beta1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateClientTlsPolicyRequest other)
public CreateClientTlsPolicyRequest.Builder mergeFrom(CreateClientTlsPolicyRequest other)
public CreateClientTlsPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateClientTlsPolicyRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateClientTlsPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setClientTlsPolicy(ClientTlsPolicy value)
public CreateClientTlsPolicyRequest.Builder setClientTlsPolicy(ClientTlsPolicy value)
Required. ClientTlsPolicy resource to be created.
.google.cloud.networksecurity.v1beta1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
setClientTlsPolicy(ClientTlsPolicy.Builder builderForValue)
public CreateClientTlsPolicyRequest.Builder setClientTlsPolicy(ClientTlsPolicy.Builder builderForValue)
Required. ClientTlsPolicy resource to be created.
.google.cloud.networksecurity.v1beta1.ClientTlsPolicy client_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateClientTlsPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateClientTlsPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateClientTlsPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides