public final class CreateClientTlsPolicyRequest extends GeneratedMessageV3 implements CreateClientTlsPolicyRequestOrBuilder
Request used by the CreateClientTlsPolicy method.
Protobuf type google.cloud.networksecurity.v1.CreateClientTlsPolicyRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CLIENT_TLS_POLICY_FIELD_NUMBER
public static final int CLIENT_TLS_POLICY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CLIENT_TLS_POLICY_ID_FIELD_NUMBER
public static final int CLIENT_TLS_POLICY_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static CreateClientTlsPolicyRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CreateClientTlsPolicyRequest.Builder newBuilder()
newBuilder(CreateClientTlsPolicyRequest prototype)
public static CreateClientTlsPolicyRequest.Builder newBuilder(CreateClientTlsPolicyRequest prototype)
public static CreateClientTlsPolicyRequest parseDelimitedFrom(InputStream input)
public static CreateClientTlsPolicyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CreateClientTlsPolicyRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateClientTlsPolicyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CreateClientTlsPolicyRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateClientTlsPolicyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateClientTlsPolicyRequest parseFrom(CodedInputStream input)
public static CreateClientTlsPolicyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateClientTlsPolicyRequest parseFrom(InputStream input)
public static CreateClientTlsPolicyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CreateClientTlsPolicyRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateClientTlsPolicyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CreateClientTlsPolicyRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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];
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];
getDefaultInstanceForType()
public CreateClientTlsPolicyRequest getDefaultInstanceForType()
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.
|
getParserForType()
public Parser<CreateClientTlsPolicyRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CreateClientTlsPolicyRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateClientTlsPolicyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public CreateClientTlsPolicyRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides