public static final class HybridPeeringDetails.Builder extends GeneratedMessageV3.Builder<HybridPeeringDetails.Builder> implements HybridPeeringDetailsOrBuilder
HybridPeeringDetails contains details about the hybrid peering.
Protobuf type google.cloud.netapp.v1.HybridPeeringDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HybridPeeringDetails.BuilderImplements
HybridPeeringDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HybridPeeringDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
build()
public HybridPeeringDetails build()
Returns | |
---|---|
Type | Description |
HybridPeeringDetails |
buildPartial()
public HybridPeeringDetails buildPartial()
Returns | |
---|---|
Type | Description |
HybridPeeringDetails |
clear()
public HybridPeeringDetails.Builder clear()
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
clearCommand()
public HybridPeeringDetails.Builder clearCommand()
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 |
HybridPeeringDetails.Builder |
This builder for chaining. |
clearCommandExpiryTime()
public HybridPeeringDetails.Builder clearCommandExpiryTime()
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 |
HybridPeeringDetails.Builder |
clearField(Descriptors.FieldDescriptor field)
public HybridPeeringDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public HybridPeeringDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
clearPassphrase()
public HybridPeeringDetails.Builder clearPassphrase()
Optional. Temporary passphrase generated to accept cluster peering command.
string passphrase = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
This builder for chaining. |
clearSubnetIp()
public HybridPeeringDetails.Builder clearSubnetIp()
Optional. IP address of the subnet.
string subnet_ip = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
This builder for chaining. |
clone()
public HybridPeeringDetails.Builder clone()
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
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. |
getCommandExpiryTimeBuilder()
public Timestamp.Builder getCommandExpiryTimeBuilder()
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 |
Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCommandExpiryTime(Timestamp value)
public HybridPeeringDetails.Builder mergeCommandExpiryTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
mergeFrom(HybridPeeringDetails other)
public HybridPeeringDetails.Builder mergeFrom(HybridPeeringDetails other)
Parameter | |
---|---|
Name | Description |
other |
HybridPeeringDetails |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HybridPeeringDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public HybridPeeringDetails.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HybridPeeringDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
setCommand(String value)
public HybridPeeringDetails.Builder setCommand(String value)
Optional. Copy-paste-able commands to be used on user's ONTAP to accept peering requests.
string command = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The command to set. |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
This builder for chaining. |
setCommandBytes(ByteString value)
public HybridPeeringDetails.Builder setCommandBytes(ByteString value)
Optional. Copy-paste-able commands to be used on user's ONTAP to accept peering requests.
string command = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for command to set. |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
This builder for chaining. |
setCommandExpiryTime(Timestamp value)
public HybridPeeringDetails.Builder setCommandExpiryTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
setCommandExpiryTime(Timestamp.Builder builderForValue)
public HybridPeeringDetails.Builder setCommandExpiryTime(Timestamp.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public HybridPeeringDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
setPassphrase(String value)
public HybridPeeringDetails.Builder setPassphrase(String value)
Optional. Temporary passphrase generated to accept cluster peering command.
string passphrase = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The passphrase to set. |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
This builder for chaining. |
setPassphraseBytes(ByteString value)
public HybridPeeringDetails.Builder setPassphraseBytes(ByteString value)
Optional. Temporary passphrase generated to accept cluster peering command.
string passphrase = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for passphrase to set. |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HybridPeeringDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
setSubnetIp(String value)
public HybridPeeringDetails.Builder setSubnetIp(String value)
Optional. IP address of the subnet.
string subnet_ip = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The subnetIp to set. |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
This builder for chaining. |
setSubnetIpBytes(ByteString value)
public HybridPeeringDetails.Builder setSubnetIpBytes(ByteString value)
Optional. IP address of the subnet.
string subnet_ip = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for subnetIp to set. |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final HybridPeeringDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HybridPeeringDetails.Builder |