public final class CreateEndpointPolicyRequest extends GeneratedMessageV3 implements CreateEndpointPolicyRequestOrBuilder
Request used with the CreateEndpointPolicy method.
Protobuf type google.cloud.networkservices.v1.CreateEndpointPolicyRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateEndpointPolicyRequestImplements
CreateEndpointPolicyRequestOrBuilderStatic Fields
ENDPOINT_POLICY_FIELD_NUMBER
public static final int ENDPOINT_POLICY_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ENDPOINT_POLICY_ID_FIELD_NUMBER
public static final int ENDPOINT_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 CreateEndpointPolicyRequest getDefaultInstance()
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static CreateEndpointPolicyRequest.Builder newBuilder()
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest.Builder |
newBuilder(CreateEndpointPolicyRequest prototype)
public static CreateEndpointPolicyRequest.Builder newBuilder(CreateEndpointPolicyRequest prototype)
Parameter | |
---|---|
Name | Description |
prototype |
CreateEndpointPolicyRequest |
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest.Builder |
parseDelimitedFrom(InputStream input)
public static CreateEndpointPolicyRequest parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateEndpointPolicyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static CreateEndpointPolicyRequest parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateEndpointPolicyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CreateEndpointPolicyRequest parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateEndpointPolicyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CreateEndpointPolicyRequest parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateEndpointPolicyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static CreateEndpointPolicyRequest parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateEndpointPolicyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CreateEndpointPolicyRequest parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateEndpointPolicyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CreateEndpointPolicyRequest> parser()
Returns | |
---|---|
Type | Description |
Parser<CreateEndpointPolicyRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public CreateEndpointPolicyRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest |
getEndpointPolicy()
public EndpointPolicy getEndpointPolicy()
Required. EndpointPolicy resource to be created.
.google.cloud.networkservices.v1.EndpointPolicy endpoint_policy = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
EndpointPolicy |
The endpointPolicy. |
getEndpointPolicyId()
public String getEndpointPolicyId()
Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".
string endpoint_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The endpointPolicyId. |
getEndpointPolicyIdBytes()
public ByteString getEndpointPolicyIdBytes()
Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".
string endpoint_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for endpointPolicyId. |
getEndpointPolicyOrBuilder()
public EndpointPolicyOrBuilder getEndpointPolicyOrBuilder()
Required. EndpointPolicy resource to be created.
.google.cloud.networkservices.v1.EndpointPolicy endpoint_policy = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
EndpointPolicyOrBuilder |
getParent()
public String getParent()
Required. The parent resource of the EndpointPolicy. Must be in the
format projects/*/locations/global
.
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 EndpointPolicy. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getParserForType()
public Parser<CreateEndpointPolicyRequest> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<CreateEndpointPolicyRequest> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hasEndpointPolicy()
public boolean hasEndpointPolicy()
Required. EndpointPolicy resource to be created.
.google.cloud.networkservices.v1.EndpointPolicy endpoint_policy = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the endpointPolicy field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public CreateEndpointPolicyRequest.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateEndpointPolicyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public CreateEndpointPolicyRequest.Builder toBuilder()
Returns | |
---|---|
Type | Description |
CreateEndpointPolicyRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |