Class HybridPeeringDetails (0.34.0)

public final class HybridPeeringDetails extends GeneratedMessageV3 implements HybridPeeringDetailsOrBuilder

HybridPeeringDetails contains details about the hybrid peering.

Protobuf type google.cloud.netapp.v1.HybridPeeringDetails

Static Fields

COMMAND_EXPIRY_TIME_FIELD_NUMBER

public static final int COMMAND_EXPIRY_TIME_FIELD_NUMBER
Field Value
Type Description
int

COMMAND_FIELD_NUMBER

public static final int COMMAND_FIELD_NUMBER
Field Value
Type Description
int

PASSPHRASE_FIELD_NUMBER

public static final int PASSPHRASE_FIELD_NUMBER
Field Value
Type Description
int

SUBNET_IP_FIELD_NUMBER

public static final int SUBNET_IP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HybridPeeringDetails getDefaultInstance()
Returns
Type Description
HybridPeeringDetails

getDescriptor()

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

newBuilder()

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

newBuilder(HybridPeeringDetails prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCommand()

public String getCommand()

Optional. Copy-paste-able commands to be used on user's ONTAP to accept peering requests.

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

Returns
Type Description
String

The command.

getCommandBytes()

public ByteString getCommandBytes()

Optional. Copy-paste-able commands to be used on user's ONTAP to accept peering requests.

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

Returns
Type Description
ByteString

The bytes for command.

getCommandExpiryTime()

public Timestamp getCommandExpiryTime()

Optional. Expiration time for the peering command to be executed on user's ONTAP.

.google.protobuf.Timestamp command_expiry_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The commandExpiryTime.

getCommandExpiryTimeOrBuilder()

public TimestampOrBuilder getCommandExpiryTimeOrBuilder()

Optional. Expiration time for the peering command to be executed on user's ONTAP.

.google.protobuf.Timestamp command_expiry_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public HybridPeeringDetails getDefaultInstanceForType()
Returns
Type Description
HybridPeeringDetails

getParserForType()

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

getPassphrase()

public String getPassphrase()

Optional. Temporary passphrase generated to accept cluster peering command.

string passphrase = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The passphrase.

getPassphraseBytes()

public ByteString getPassphraseBytes()

Optional. Temporary passphrase generated to accept cluster peering command.

string passphrase = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for passphrase.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubnetIp()

public String getSubnetIp()

Optional. IP address of the subnet.

string subnet_ip = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The subnetIp.

getSubnetIpBytes()

public ByteString getSubnetIpBytes()

Optional. IP address of the subnet.

string subnet_ip = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for subnetIp.

hasCommandExpiryTime()

public boolean hasCommandExpiryTime()

Optional. Expiration time for the peering command to be executed on user's ONTAP.

.google.protobuf.Timestamp command_expiry_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the commandExpiryTime field is set.

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 HybridPeeringDetails.Builder newBuilderForType()
Returns
Type Description
HybridPeeringDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HybridPeeringDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HybridPeeringDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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