Class CreateMirroringDeploymentRequest (0.94.0)

public final class CreateMirroringDeploymentRequest extends GeneratedMessage implements CreateMirroringDeploymentRequestOrBuilder

Request message for CreateMirroringDeployment.

Protobuf type google.cloud.networksecurity.v1.CreateMirroringDeploymentRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CreateMirroringDeploymentRequest

Static Fields

MIRRORING_DEPLOYMENT_FIELD_NUMBER

public static final int MIRRORING_DEPLOYMENT_FIELD_NUMBER
Field Value
Type Description
int

MIRRORING_DEPLOYMENT_ID_FIELD_NUMBER

public static final int MIRRORING_DEPLOYMENT_ID_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

REQUEST_ID_FIELD_NUMBER

public static final int REQUEST_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateMirroringDeploymentRequest getDefaultInstance()
Returns
Type Description
CreateMirroringDeploymentRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateMirroringDeploymentRequest prototype)

public static CreateMirroringDeploymentRequest.Builder newBuilder(CreateMirroringDeploymentRequest prototype)
Parameter
Name Description
prototype CreateMirroringDeploymentRequest
Returns
Type Description
CreateMirroringDeploymentRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateMirroringDeploymentRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateMirroringDeploymentRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateMirroringDeploymentRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateMirroringDeploymentRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateMirroringDeploymentRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateMirroringDeploymentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateMirroringDeploymentRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateMirroringDeploymentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateMirroringDeploymentRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateMirroringDeploymentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateMirroringDeploymentRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateMirroringDeploymentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateMirroringDeploymentRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateMirroringDeploymentRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateMirroringDeploymentRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateMirroringDeploymentRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateMirroringDeploymentRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateMirroringDeploymentRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateMirroringDeploymentRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateMirroringDeploymentRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateMirroringDeploymentRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateMirroringDeploymentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateMirroringDeploymentRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateMirroringDeploymentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateMirroringDeploymentRequest getDefaultInstanceForType()
Returns
Type Description
CreateMirroringDeploymentRequest

getMirroringDeployment()

public MirroringDeployment getMirroringDeployment()

Required. The deployment to create.

.google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MirroringDeployment

The mirroringDeployment.

getMirroringDeploymentId()

public String getMirroringDeploymentId()

Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name.

string mirroring_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The mirroringDeploymentId.

getMirroringDeploymentIdBytes()

public ByteString getMirroringDeploymentIdBytes()

Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name.

string mirroring_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for mirroringDeploymentId.

getMirroringDeploymentOrBuilder()

public MirroringDeploymentOrBuilder getMirroringDeploymentOrBuilder()

Required. The deployment to create.

.google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MirroringDeploymentOrBuilder

getParent()

public String getParent()

Required. The parent resource where this deployment will be created. Format: projects/{project}/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 where this deployment will be created. Format: projects/{project}/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<CreateMirroringDeploymentRequest> getParserForType()
Returns
Type Description
Parser<CreateMirroringDeploymentRequest>
Overrides

getRequestId()

public String getRequestId()

Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a request_id is provided. See https://google.aip.dev/155 for more details.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a request_id is provided. See https://google.aip.dev/155 for more details.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasMirroringDeployment()

public boolean hasMirroringDeployment()

Required. The deployment to create.

.google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the mirroringDeployment field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateMirroringDeploymentRequest.Builder newBuilderForType()
Returns
Type Description
CreateMirroringDeploymentRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected CreateMirroringDeploymentRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateMirroringDeploymentRequest.Builder
Overrides

toBuilder()

public CreateMirroringDeploymentRequest.Builder toBuilder()
Returns
Type Description
CreateMirroringDeploymentRequest.Builder

writeTo(CodedOutputStream output)

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