public final class NetworkPeeringConnectionStatusConsensusState extends GeneratedMessage implements NetworkPeeringConnectionStatusConsensusStateOrBuilderThe status of update/delete for a consensus peering connection. Only set when connection_status.update_strategy isCONSENSUS or a network peering is proposing to update the strategy to CONSENSUS.
Protobuf type google.cloud.compute.v1.NetworkPeeringConnectionStatusConsensusState
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > NetworkPeeringConnectionStatusConsensusStateStatic Fields
DELETE_STATUS_FIELD_NUMBER
public static final int DELETE_STATUS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
UPDATE_STATUS_FIELD_NUMBER
public static final int UPDATE_STATUS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static NetworkPeeringConnectionStatusConsensusState getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static NetworkPeeringConnectionStatusConsensusState.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState.Builder |
|
newBuilder(NetworkPeeringConnectionStatusConsensusState prototype)
public static NetworkPeeringConnectionStatusConsensusState.Builder newBuilder(NetworkPeeringConnectionStatusConsensusState prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
NetworkPeeringConnectionStatusConsensusState |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState.Builder |
|
parseDelimitedFrom(InputStream input)
public static NetworkPeeringConnectionStatusConsensusState parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NetworkPeeringConnectionStatusConsensusState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static NetworkPeeringConnectionStatusConsensusState parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NetworkPeeringConnectionStatusConsensusState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static NetworkPeeringConnectionStatusConsensusState parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NetworkPeeringConnectionStatusConsensusState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static NetworkPeeringConnectionStatusConsensusState parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NetworkPeeringConnectionStatusConsensusState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static NetworkPeeringConnectionStatusConsensusState parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NetworkPeeringConnectionStatusConsensusState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static NetworkPeeringConnectionStatusConsensusState parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NetworkPeeringConnectionStatusConsensusState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<NetworkPeeringConnectionStatusConsensusState> parser()| Returns | |
|---|---|
| Type | Description |
Parser<NetworkPeeringConnectionStatusConsensusState> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public NetworkPeeringConnectionStatusConsensusState getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState |
|
getDeleteStatus()
public String getDeleteStatus()The status of the delete request. Check the DeleteStatus enum for the list of possible values.
optional string delete_status = 483434758;
| Returns | |
|---|---|
| Type | Description |
String |
The deleteStatus. |
getDeleteStatusBytes()
public ByteString getDeleteStatusBytes()The status of the delete request. Check the DeleteStatus enum for the list of possible values.
optional string delete_status = 483434758;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deleteStatus. |
getParserForType()
public Parser<NetworkPeeringConnectionStatusConsensusState> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<NetworkPeeringConnectionStatusConsensusState> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getUpdateStatus()
public String getUpdateStatus()The status of the update request. Check the UpdateStatus enum for the list of possible values.
optional string update_status = 265998376;
| Returns | |
|---|---|
| Type | Description |
String |
The updateStatus. |
getUpdateStatusBytes()
public ByteString getUpdateStatusBytes()The status of the update request. Check the UpdateStatus enum for the list of possible values.
optional string update_status = 265998376;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for updateStatus. |
hasDeleteStatus()
public boolean hasDeleteStatus()The status of the delete request. Check the DeleteStatus enum for the list of possible values.
optional string delete_status = 483434758;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the deleteStatus field is set. |
hasUpdateStatus()
public boolean hasUpdateStatus()The status of the update request. Check the UpdateStatus enum for the list of possible values.
optional string update_status = 265998376;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateStatus field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public NetworkPeeringConnectionStatusConsensusState.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected NetworkPeeringConnectionStatusConsensusState.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState.Builder |
|
toBuilder()
public NetworkPeeringConnectionStatusConsensusState.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
NetworkPeeringConnectionStatusConsensusState.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|