Class CreatePolicyRequest (1.35.0)

public final class CreatePolicyRequest extends GeneratedMessageV3 implements CreatePolicyRequestOrBuilder

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

POLICY_FIELD_NUMBER

public static final int POLICY_FIELD_NUMBER
Field Value
TypeDescription
int

POLICY_ID_FIELD_NUMBER

public static final int POLICY_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreatePolicyRequest getDefaultInstance()
Returns
TypeDescription
CreatePolicyRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreatePolicyRequest.Builder newBuilder()
Returns
TypeDescription
Builder

newBuilder(CreatePolicyRequest arg0)

public static CreatePolicyRequest.Builder newBuilder(CreatePolicyRequest arg0)
Parameter
NameDescription
arg0CreatePolicyRequest
Returns
TypeDescription
Builder

parseDelimitedFrom(InputStream arg0)

public static CreatePolicyRequest parseDelimitedFrom(InputStream arg0)
Parameter
NameDescription
arg0InputStream
Returns
TypeDescription
CreatePolicyRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream arg0, ExtensionRegistryLite arg1)

public static CreatePolicyRequest parseDelimitedFrom(InputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0InputStream
arg1ExtensionRegistryLite
Returns
TypeDescription
CreatePolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] arg0)

public static CreatePolicyRequest parseFrom(byte[] arg0)
Parameter
NameDescription
arg0byte[]
Returns
TypeDescription
CreatePolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] arg0, ExtensionRegistryLite arg1)

public static CreatePolicyRequest parseFrom(byte[] arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0byte[]
arg1ExtensionRegistryLite
Returns
TypeDescription
CreatePolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString arg0)

public static CreatePolicyRequest parseFrom(ByteString arg0)
Parameter
NameDescription
arg0ByteString
Returns
TypeDescription
CreatePolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString arg0, ExtensionRegistryLite arg1)

public static CreatePolicyRequest parseFrom(ByteString arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0ByteString
arg1ExtensionRegistryLite
Returns
TypeDescription
CreatePolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream arg0)

public static CreatePolicyRequest parseFrom(CodedInputStream arg0)
Parameter
NameDescription
arg0CodedInputStream
Returns
TypeDescription
CreatePolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)

public static CreatePolicyRequest parseFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0CodedInputStream
arg1ExtensionRegistryLite
Returns
TypeDescription
CreatePolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream arg0)

public static CreatePolicyRequest parseFrom(InputStream arg0)
Parameter
NameDescription
arg0InputStream
Returns
TypeDescription
CreatePolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream arg0, ExtensionRegistryLite arg1)

public static CreatePolicyRequest parseFrom(InputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0InputStream
arg1ExtensionRegistryLite
Returns
TypeDescription
CreatePolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer arg0)

public static CreatePolicyRequest parseFrom(ByteBuffer arg0)
Parameter
NameDescription
arg0ByteBuffer
Returns
TypeDescription
CreatePolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)

public static CreatePolicyRequest parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0ByteBuffer
arg1ExtensionRegistryLite
Returns
TypeDescription
CreatePolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreatePolicyRequest> parser()
Returns
TypeDescription
Parser<CreatePolicyRequest>

Methods

equals(Object arg0)

public boolean equals(Object arg0)
Parameter
NameDescription
arg0Object
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreatePolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
CreatePolicyRequest

getParent()

public String getParent()
Returns
TypeDescription
String

getParentBytes()

public ByteString getParentBytes()
Returns
TypeDescription
ByteString

getParserForType()

public Parser<CreatePolicyRequest> getParserForType()
Returns
TypeDescription
Parser<CreatePolicyRequest>
Overrides

getPolicy()

public Policy getPolicy()
Returns
TypeDescription
Policy

getPolicyId()

public String getPolicyId()
Returns
TypeDescription
String

getPolicyIdBytes()

public ByteString getPolicyIdBytes()
Returns
TypeDescription
ByteString

getPolicyOrBuilder()

public PolicyOrBuilder getPolicyOrBuilder()
Returns
TypeDescription
PolicyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasPolicy()

public boolean hasPolicy()
Returns
TypeDescription
boolean

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreatePolicyRequest.Builder newBuilderForType()
Returns
TypeDescription
Builder

newBuilderForType(GeneratedMessageV3.BuilderParent arg0)

protected CreatePolicyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent arg0)
Parameter
NameDescription
arg0BuilderParent
Returns
TypeDescription
Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter arg0)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter arg0)
Parameter
NameDescription
arg0UnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreatePolicyRequest.Builder toBuilder()
Returns
TypeDescription
Builder

writeTo(CodedOutputStream arg0)

public void writeTo(CodedOutputStream arg0)
Parameter
NameDescription
arg0CodedOutputStream
Overrides
Exceptions
TypeDescription
IOException