public static final class CreateServerTlsPolicyRequest.Builder extends GeneratedMessageV3.Builder<CreateServerTlsPolicyRequest.Builder> implements CreateServerTlsPolicyRequestOrBuilder
Request used by the CreateServerTlsPolicy method.
Protobuf type google.cloud.networksecurity.v1.CreateServerTlsPolicyRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 CreateServerTlsPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateServerTlsPolicyRequest build()
buildPartial()
public CreateServerTlsPolicyRequest buildPartial()
clear()
public CreateServerTlsPolicyRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateServerTlsPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateServerTlsPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateServerTlsPolicyRequest.Builder clearParent()
Required. The parent resource of the ServerTlsPolicy. Must be in
the format projects/*/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearServerTlsPolicy()
public CreateServerTlsPolicyRequest.Builder clearServerTlsPolicy()
Required. ServerTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
clearServerTlsPolicyId()
public CreateServerTlsPolicyRequest.Builder clearServerTlsPolicyId()
Required. Short name of the ServerTlsPolicy 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. "server_mtls_policy".
string server_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreateServerTlsPolicyRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateServerTlsPolicyRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The parent resource of the ServerTlsPolicy. 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 ServerTlsPolicy. 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.
|
getServerTlsPolicy()
public ServerTlsPolicy getServerTlsPolicy()
Required. ServerTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
getServerTlsPolicyBuilder()
public ServerTlsPolicy.Builder getServerTlsPolicyBuilder()
Required. ServerTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
getServerTlsPolicyId()
public String getServerTlsPolicyId()
Required. Short name of the ServerTlsPolicy 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. "server_mtls_policy".
string server_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The serverTlsPolicyId.
|
getServerTlsPolicyIdBytes()
public ByteString getServerTlsPolicyIdBytes()
Required. Short name of the ServerTlsPolicy 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. "server_mtls_policy".
string server_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for serverTlsPolicyId.
|
getServerTlsPolicyOrBuilder()
public ServerTlsPolicyOrBuilder getServerTlsPolicyOrBuilder()
Required. ServerTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
hasServerTlsPolicy()
public boolean hasServerTlsPolicy()
Required. ServerTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the serverTlsPolicy field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateServerTlsPolicyRequest other)
public CreateServerTlsPolicyRequest.Builder mergeFrom(CreateServerTlsPolicyRequest other)
public CreateServerTlsPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateServerTlsPolicyRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeServerTlsPolicy(ServerTlsPolicy value)
public CreateServerTlsPolicyRequest.Builder mergeServerTlsPolicy(ServerTlsPolicy value)
Required. ServerTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateServerTlsPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateServerTlsPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateServerTlsPolicyRequest.Builder setParent(String value)
Required. The parent resource of the ServerTlsPolicy. 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 CreateServerTlsPolicyRequest.Builder setParentBytes(ByteString value)
Required. The parent resource of the ServerTlsPolicy. 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 CreateServerTlsPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setServerTlsPolicy(ServerTlsPolicy value)
public CreateServerTlsPolicyRequest.Builder setServerTlsPolicy(ServerTlsPolicy value)
Required. ServerTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
setServerTlsPolicy(ServerTlsPolicy.Builder builderForValue)
public CreateServerTlsPolicyRequest.Builder setServerTlsPolicy(ServerTlsPolicy.Builder builderForValue)
Required. ServerTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
setServerTlsPolicyId(String value)
public CreateServerTlsPolicyRequest.Builder setServerTlsPolicyId(String value)
Required. Short name of the ServerTlsPolicy 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. "server_mtls_policy".
string server_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The serverTlsPolicyId to set.
|
setServerTlsPolicyIdBytes(ByteString value)
public CreateServerTlsPolicyRequest.Builder setServerTlsPolicyIdBytes(ByteString value)
Required. Short name of the ServerTlsPolicy 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. "server_mtls_policy".
string server_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for serverTlsPolicyId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateServerTlsPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides