Class CreatePolicyRequest (1.47.0)

public final class CreatePolicyRequest extends GeneratedMessageV3 implements CreatePolicyRequestOrBuilder

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

POLICY_FIELD_NUMBER

public static final int POLICY_FIELD_NUMBER
Field Value
Type Description
int

POLICY_ID_FIELD_NUMBER

public static final int POLICY_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreatePolicyRequest getDefaultInstance()
Returns
Type Description
CreatePolicyRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CreatePolicyRequest.Builder newBuilder()
Returns
Type Description
Builder

newBuilder(CreatePolicyRequest arg0)

public static CreatePolicyRequest.Builder newBuilder(CreatePolicyRequest arg0)
Parameter
Name Description
arg0 CreatePolicyRequest
Returns
Type Description
Builder

parseDelimitedFrom(InputStream arg0)

public static CreatePolicyRequest parseDelimitedFrom(InputStream arg0)
Parameter
Name Description
arg0 InputStream
Returns
Type Description
CreatePolicyRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream arg0, ExtensionRegistryLite arg1)

public static CreatePolicyRequest parseDelimitedFrom(InputStream arg0, ExtensionRegistryLite arg1)
Parameters
Name Description
arg0 InputStream
arg1 ExtensionRegistryLite
Returns
Type Description
CreatePolicyRequest
Exceptions
Type Description
IOException

parseFrom(byte[] arg0)

public static CreatePolicyRequest parseFrom(byte[] arg0)
Parameter
Name Description
arg0 byte[]
Returns
Type Description
CreatePolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] arg0, ExtensionRegistryLite arg1)

public static CreatePolicyRequest parseFrom(byte[] arg0, ExtensionRegistryLite arg1)
Parameters
Name Description
arg0 byte[]
arg1 ExtensionRegistryLite
Returns
Type Description
CreatePolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString arg0)

public static CreatePolicyRequest parseFrom(ByteString arg0)
Parameter
Name Description
arg0 ByteString
Returns
Type Description
CreatePolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString arg0, ExtensionRegistryLite arg1)

public static CreatePolicyRequest parseFrom(ByteString arg0, ExtensionRegistryLite arg1)
Parameters
Name Description
arg0 ByteString
arg1 ExtensionRegistryLite
Returns
Type Description
CreatePolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream arg0)

public static CreatePolicyRequest parseFrom(CodedInputStream arg0)
Parameter
Name Description
arg0 CodedInputStream
Returns
Type Description
CreatePolicyRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)

public static CreatePolicyRequest parseFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
Parameters
Name Description
arg0 CodedInputStream
arg1 ExtensionRegistryLite
Returns
Type Description
CreatePolicyRequest
Exceptions
Type Description
IOException

parseFrom(InputStream arg0)

public static CreatePolicyRequest parseFrom(InputStream arg0)
Parameter
Name Description
arg0 InputStream
Returns
Type Description
CreatePolicyRequest
Exceptions
Type Description
IOException

parseFrom(InputStream arg0, ExtensionRegistryLite arg1)

public static CreatePolicyRequest parseFrom(InputStream arg0, ExtensionRegistryLite arg1)
Parameters
Name Description
arg0 InputStream
arg1 ExtensionRegistryLite
Returns
Type Description
CreatePolicyRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer arg0)

public static CreatePolicyRequest parseFrom(ByteBuffer arg0)
Parameter
Name Description
arg0 ByteBuffer
Returns
Type Description
CreatePolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)

public static CreatePolicyRequest parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)
Parameters
Name Description
arg0 ByteBuffer
arg1 ExtensionRegistryLite
Returns
Type Description
CreatePolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreatePolicyRequest> parser()
Returns
Type Description
Parser<CreatePolicyRequest>

Methods

equals(Object arg0)

public boolean equals(Object arg0)
Parameter
Name Description
arg0 Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CreatePolicyRequest getDefaultInstanceForType()
Returns
Type Description
CreatePolicyRequest

getParent()

public String getParent()
Returns
Type Description
String

getParentBytes()

public ByteString getParentBytes()
Returns
Type Description
ByteString

getParserForType()

public Parser<CreatePolicyRequest> getParserForType()
Returns
Type Description
Parser<CreatePolicyRequest>
Overrides

getPolicy()

public Policy getPolicy()
Returns
Type Description
Policy

getPolicyId()

public String getPolicyId()
Returns
Type Description
String

getPolicyIdBytes()

public ByteString getPolicyIdBytes()
Returns
Type Description
ByteString

getPolicyOrBuilder()

public PolicyOrBuilder getPolicyOrBuilder()
Returns
Type Description
PolicyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasPolicy()

public boolean hasPolicy()
Returns
Type Description
boolean

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreatePolicyRequest.Builder newBuilderForType()
Returns
Type Description
Builder

newBuilderForType(GeneratedMessageV3.BuilderParent arg0)

protected CreatePolicyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent arg0)
Parameter
Name Description
arg0 BuilderParent
Returns
Type Description
Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter arg0)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter arg0)
Parameter
Name Description
arg0 UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CreatePolicyRequest.Builder toBuilder()
Returns
Type Description
Builder

writeTo(CodedOutputStream arg0)

public void writeTo(CodedOutputStream arg0)
Parameter
Name Description
arg0 CodedOutputStream
Overrides
Exceptions
Type Description
IOException