publicfinalclass CreateServerTlsPolicyRequestextendsGeneratedMessageV3implementsCreateServerTlsPolicyRequestOrBuilder
Request used by the CreateServerTlsPolicy method.
Protobuf type google.cloud.networksecurity.v1.CreateServerTlsPolicyRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PARENT_FIELD_NUMBER
publicstaticfinalintPARENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SERVER_TLS_POLICY_FIELD_NUMBER
publicstaticfinalintSERVER_TLS_POLICY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SERVER_TLS_POLICY_ID_FIELD_NUMBER
publicstaticfinalintSERVER_TLS_POLICY_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticCreateServerTlsPolicyRequestgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticCreateServerTlsPolicyRequest.BuildernewBuilder()
newBuilder(CreateServerTlsPolicyRequest prototype)
publicstaticCreateServerTlsPolicyRequest.BuildernewBuilder(CreateServerTlsPolicyRequestprototype)
publicstaticCreateServerTlsPolicyRequestparseDelimitedFrom(InputStreaminput)
publicstaticCreateServerTlsPolicyRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticCreateServerTlsPolicyRequestparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateServerTlsPolicyRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticCreateServerTlsPolicyRequestparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateServerTlsPolicyRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticCreateServerTlsPolicyRequestparseFrom(CodedInputStreaminput)
publicstaticCreateServerTlsPolicyRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticCreateServerTlsPolicyRequestparseFrom(InputStreaminput)
publicstaticCreateServerTlsPolicyRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticCreateServerTlsPolicyRequestparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateServerTlsPolicyRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<CreateServerTlsPolicyRequest>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicCreateServerTlsPolicyRequestgetDefaultInstanceForType()
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()
publicByteStringgetParentBytes()
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.
|
getParserForType()
publicParser<CreateServerTlsPolicyRequest>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getServerTlsPolicy()
publicServerTlsPolicygetServerTlsPolicy()
Required. ServerTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
getServerTlsPolicyId()
publicStringgetServerTlsPolicyId()
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()
publicByteStringgetServerTlsPolicyIdBytes()
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()
publicServerTlsPolicyOrBuildergetServerTlsPolicyOrBuilder()
Required. ServerTlsPolicy resource to be created.
.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];
hasServerTlsPolicy()
publicbooleanhasServerTlsPolicy()
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicCreateServerTlsPolicyRequest.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedCreateServerTlsPolicyRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicCreateServerTlsPolicyRequest.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides