Class CreateMirroringEndpointGroupAssociationRequest (0.94.0)

public final class CreateMirroringEndpointGroupAssociationRequest extends GeneratedMessage implements CreateMirroringEndpointGroupAssociationRequestOrBuilder

Request message for CreateMirroringEndpointGroupAssociation.

Protobuf type google.cloud.networksecurity.v1.CreateMirroringEndpointGroupAssociationRequest

Inheritance

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

Static Fields

MIRRORING_ENDPOINT_GROUP_ASSOCIATION_FIELD_NUMBER

public static final int MIRRORING_ENDPOINT_GROUP_ASSOCIATION_FIELD_NUMBER
Field Value
Type Description
int

MIRRORING_ENDPOINT_GROUP_ASSOCIATION_ID_FIELD_NUMBER

public static final int MIRRORING_ENDPOINT_GROUP_ASSOCIATION_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 CreateMirroringEndpointGroupAssociationRequest getDefaultInstance()
Returns
Type Description
CreateMirroringEndpointGroupAssociationRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateMirroringEndpointGroupAssociationRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateMirroringEndpointGroupAssociationRequest getDefaultInstanceForType()
Returns
Type Description
CreateMirroringEndpointGroupAssociationRequest

getMirroringEndpointGroupAssociation()

public MirroringEndpointGroupAssociation getMirroringEndpointGroupAssociation()

Required. The association to create.

.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MirroringEndpointGroupAssociation

The mirroringEndpointGroupAssociation.

getMirroringEndpointGroupAssociationId()

public String getMirroringEndpointGroupAssociationId()

Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID.

string mirroring_endpoint_group_association_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The mirroringEndpointGroupAssociationId.

getMirroringEndpointGroupAssociationIdBytes()

public ByteString getMirroringEndpointGroupAssociationIdBytes()

Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID.

string mirroring_endpoint_group_association_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for mirroringEndpointGroupAssociationId.

getMirroringEndpointGroupAssociationOrBuilder()

public MirroringEndpointGroupAssociationOrBuilder getMirroringEndpointGroupAssociationOrBuilder()

Required. The association to create.

.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MirroringEndpointGroupAssociationOrBuilder

getParent()

public String getParent()

Required. The parent resource where this association 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 association 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<CreateMirroringEndpointGroupAssociationRequest> getParserForType()
Returns
Type Description
Parser<CreateMirroringEndpointGroupAssociationRequest>
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

hasMirroringEndpointGroupAssociation()

public boolean hasMirroringEndpointGroupAssociation()

Required. The association to create.

.google.cloud.networksecurity.v1.MirroringEndpointGroupAssociation mirroring_endpoint_group_association = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the mirroringEndpointGroupAssociation 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 CreateMirroringEndpointGroupAssociationRequest.Builder newBuilderForType()
Returns
Type Description
CreateMirroringEndpointGroupAssociationRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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