Class GetStatusResponse.Builder (1.87.0)

public static final class GetStatusResponse.Builder extends GeneratedMessage.Builder<GetStatusResponse.Builder> implements GetStatusResponseOrBuilder

Message for the response to getting a Transport's operational status.

Protobuf type google.cloud.networkconnectivity.v1beta.GetStatusResponse

Static Methods

getDescriptor()

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

Methods

build()

public GetStatusResponse build()
Returns
Type Description
GetStatusResponse

buildPartial()

public GetStatusResponse buildPartial()
Returns
Type Description
GetStatusResponse

clear()

public GetStatusResponse.Builder clear()
Returns
Type Description
GetStatusResponse.Builder
Overrides

clearConnectivityStatus()

public GetStatusResponse.Builder clearConnectivityStatus()

Current status of connectivity to the local GCP resource. This reflects whether the VPC Peering or NCC Hub appears correctly configured.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.ConnectivityStatus connectivity_status = 3;

Returns
Type Description
GetStatusResponse.Builder

This builder for chaining.

clearMacSecStatus()

public GetStatusResponse.Builder clearMacSecStatus()

Current status of MACSec on the underlying network connectivity between GC and the partner.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.MacSecStatus mac_sec_status = 4;

Returns
Type Description
GetStatusResponse.Builder

This builder for chaining.

clearOperationalStatus()

public GetStatusResponse.Builder clearOperationalStatus()

The operational status of the underlying networking components.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.OperationalStatus operational_status = 2;

Returns
Type Description
GetStatusResponse.Builder

This builder for chaining.

clearOverallStatus()

public GetStatusResponse.Builder clearOverallStatus()

The overall status of the Transport. This field will always output the most critical status of the Transport. For example, if the connectivity is DISCONNECTED, and the underlying networking components are DOWN, then the overall status will be DOWN.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.OverallStatus overall_status = 1;

Returns
Type Description
GetStatusResponse.Builder

This builder for chaining.

getConnectivityStatus()

public GetStatusResponse.ConnectivityStatus getConnectivityStatus()

Current status of connectivity to the local GCP resource. This reflects whether the VPC Peering or NCC Hub appears correctly configured.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.ConnectivityStatus connectivity_status = 3;

Returns
Type Description
GetStatusResponse.ConnectivityStatus

The connectivityStatus.

getConnectivityStatusValue()

public int getConnectivityStatusValue()

Current status of connectivity to the local GCP resource. This reflects whether the VPC Peering or NCC Hub appears correctly configured.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.ConnectivityStatus connectivity_status = 3;

Returns
Type Description
int

The enum numeric value on the wire for connectivityStatus.

getDefaultInstanceForType()

public GetStatusResponse getDefaultInstanceForType()
Returns
Type Description
GetStatusResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMacSecStatus()

public GetStatusResponse.MacSecStatus getMacSecStatus()

Current status of MACSec on the underlying network connectivity between GC and the partner.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.MacSecStatus mac_sec_status = 4;

Returns
Type Description
GetStatusResponse.MacSecStatus

The macSecStatus.

getMacSecStatusValue()

public int getMacSecStatusValue()

Current status of MACSec on the underlying network connectivity between GC and the partner.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.MacSecStatus mac_sec_status = 4;

Returns
Type Description
int

The enum numeric value on the wire for macSecStatus.

getOperationalStatus()

public GetStatusResponse.OperationalStatus getOperationalStatus()

The operational status of the underlying networking components.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.OperationalStatus operational_status = 2;

Returns
Type Description
GetStatusResponse.OperationalStatus

The operationalStatus.

getOperationalStatusValue()

public int getOperationalStatusValue()

The operational status of the underlying networking components.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.OperationalStatus operational_status = 2;

Returns
Type Description
int

The enum numeric value on the wire for operationalStatus.

getOverallStatus()

public GetStatusResponse.OverallStatus getOverallStatus()

The overall status of the Transport. This field will always output the most critical status of the Transport. For example, if the connectivity is DISCONNECTED, and the underlying networking components are DOWN, then the overall status will be DOWN.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.OverallStatus overall_status = 1;

Returns
Type Description
GetStatusResponse.OverallStatus

The overallStatus.

getOverallStatusValue()

public int getOverallStatusValue()

The overall status of the Transport. This field will always output the most critical status of the Transport. For example, if the connectivity is DISCONNECTED, and the underlying networking components are DOWN, then the overall status will be DOWN.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.OverallStatus overall_status = 1;

Returns
Type Description
int

The enum numeric value on the wire for overallStatus.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetStatusResponse other)

public GetStatusResponse.Builder mergeFrom(GetStatusResponse other)
Parameter
Name Description
other GetStatusResponse
Returns
Type Description
GetStatusResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetStatusResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetStatusResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetStatusResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetStatusResponse.Builder
Overrides

setConnectivityStatus(GetStatusResponse.ConnectivityStatus value)

public GetStatusResponse.Builder setConnectivityStatus(GetStatusResponse.ConnectivityStatus value)

Current status of connectivity to the local GCP resource. This reflects whether the VPC Peering or NCC Hub appears correctly configured.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.ConnectivityStatus connectivity_status = 3;

Parameter
Name Description
value GetStatusResponse.ConnectivityStatus

The connectivityStatus to set.

Returns
Type Description
GetStatusResponse.Builder

This builder for chaining.

setConnectivityStatusValue(int value)

public GetStatusResponse.Builder setConnectivityStatusValue(int value)

Current status of connectivity to the local GCP resource. This reflects whether the VPC Peering or NCC Hub appears correctly configured.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.ConnectivityStatus connectivity_status = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for connectivityStatus to set.

Returns
Type Description
GetStatusResponse.Builder

This builder for chaining.

setMacSecStatus(GetStatusResponse.MacSecStatus value)

public GetStatusResponse.Builder setMacSecStatus(GetStatusResponse.MacSecStatus value)

Current status of MACSec on the underlying network connectivity between GC and the partner.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.MacSecStatus mac_sec_status = 4;

Parameter
Name Description
value GetStatusResponse.MacSecStatus

The macSecStatus to set.

Returns
Type Description
GetStatusResponse.Builder

This builder for chaining.

setMacSecStatusValue(int value)

public GetStatusResponse.Builder setMacSecStatusValue(int value)

Current status of MACSec on the underlying network connectivity between GC and the partner.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.MacSecStatus mac_sec_status = 4;

Parameter
Name Description
value int

The enum numeric value on the wire for macSecStatus to set.

Returns
Type Description
GetStatusResponse.Builder

This builder for chaining.

setOperationalStatus(GetStatusResponse.OperationalStatus value)

public GetStatusResponse.Builder setOperationalStatus(GetStatusResponse.OperationalStatus value)

The operational status of the underlying networking components.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.OperationalStatus operational_status = 2;

Parameter
Name Description
value GetStatusResponse.OperationalStatus

The operationalStatus to set.

Returns
Type Description
GetStatusResponse.Builder

This builder for chaining.

setOperationalStatusValue(int value)

public GetStatusResponse.Builder setOperationalStatusValue(int value)

The operational status of the underlying networking components.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.OperationalStatus operational_status = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for operationalStatus to set.

Returns
Type Description
GetStatusResponse.Builder

This builder for chaining.

setOverallStatus(GetStatusResponse.OverallStatus value)

public GetStatusResponse.Builder setOverallStatus(GetStatusResponse.OverallStatus value)

The overall status of the Transport. This field will always output the most critical status of the Transport. For example, if the connectivity is DISCONNECTED, and the underlying networking components are DOWN, then the overall status will be DOWN.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.OverallStatus overall_status = 1;

Parameter
Name Description
value GetStatusResponse.OverallStatus

The overallStatus to set.

Returns
Type Description
GetStatusResponse.Builder

This builder for chaining.

setOverallStatusValue(int value)

public GetStatusResponse.Builder setOverallStatusValue(int value)

The overall status of the Transport. This field will always output the most critical status of the Transport. For example, if the connectivity is DISCONNECTED, and the underlying networking components are DOWN, then the overall status will be DOWN.

.google.cloud.networkconnectivity.v1beta.GetStatusResponse.OverallStatus overall_status = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for overallStatus to set.

Returns
Type Description
GetStatusResponse.Builder

This builder for chaining.