Class GetStatusResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GetStatusResponse.Builder>
com.google.cloud.networkconnectivity.v1beta.GetStatusResponse.Builder
- All Implemented Interfaces:
GetStatusResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GetStatusResponse
public static final class GetStatusResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GetStatusResponse.Builder>
implements GetStatusResponseOrBuilder
Message for the response to getting a Transport's operational status.Protobuf type
google.cloud.networkconnectivity.v1beta.GetStatusResponse-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Current status of connectivity to the local GCP resource.Current status of MACSec on the underlying network connectivity between GC and the partner.The operational status of the underlying networking components.The overall status of the Transport.Current status of connectivity to the local GCP resource.intCurrent status of connectivity to the local GCP resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorCurrent status of MACSec on the underlying network connectivity between GC and the partner.intCurrent status of MACSec on the underlying network connectivity between GC and the partner.The operational status of the underlying networking components.intThe operational status of the underlying networking components.The overall status of the Transport.intThe overall status of the Transport.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(GetStatusResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Current status of connectivity to the local GCP resource.setConnectivityStatusValue(int value) Current status of connectivity to the local GCP resource.Current status of MACSec on the underlying network connectivity between GC and the partner.setMacSecStatusValue(int value) Current status of MACSec on the underlying network connectivity between GC and the partner.The operational status of the underlying networking components.setOperationalStatusValue(int value) The operational status of the underlying networking components.The overall status of the Transport.setOverallStatusValue(int value) The overall status of the Transport.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GetStatusResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GetStatusResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GetStatusResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetStatusResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GetStatusResponse.Builder>
-
mergeFrom
public GetStatusResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetStatusResponse.Builder>- Throws:
IOException
-
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;- Specified by:
getOverallStatusValuein interfaceGetStatusResponseOrBuilder- Returns:
- The enum numeric value on the wire for overallStatus.
-
setOverallStatusValue
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;- Parameters:
value- The enum numeric value on the wire for overallStatus to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getOverallStatusin interfaceGetStatusResponseOrBuilder- Returns:
- The overallStatus.
-
setOverallStatus
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;- Parameters:
value- The overallStatus to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
getOperationalStatusValue
public int getOperationalStatusValue()The operational status of the underlying networking components.
.google.cloud.networkconnectivity.v1beta.GetStatusResponse.OperationalStatus operational_status = 2;- Specified by:
getOperationalStatusValuein interfaceGetStatusResponseOrBuilder- Returns:
- The enum numeric value on the wire for operationalStatus.
-
setOperationalStatusValue
The operational status of the underlying networking components.
.google.cloud.networkconnectivity.v1beta.GetStatusResponse.OperationalStatus operational_status = 2;- Parameters:
value- The enum numeric value on the wire for operationalStatus to set.- Returns:
- This builder for chaining.
-
getOperationalStatus
The operational status of the underlying networking components.
.google.cloud.networkconnectivity.v1beta.GetStatusResponse.OperationalStatus operational_status = 2;- Specified by:
getOperationalStatusin interfaceGetStatusResponseOrBuilder- Returns:
- The operationalStatus.
-
setOperationalStatus
The operational status of the underlying networking components.
.google.cloud.networkconnectivity.v1beta.GetStatusResponse.OperationalStatus operational_status = 2;- Parameters:
value- The operationalStatus to set.- Returns:
- This builder for chaining.
-
clearOperationalStatus
The operational status of the underlying networking components.
.google.cloud.networkconnectivity.v1beta.GetStatusResponse.OperationalStatus operational_status = 2;- Returns:
- This builder for chaining.
-
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;- Specified by:
getConnectivityStatusValuein interfaceGetStatusResponseOrBuilder- Returns:
- The enum numeric value on the wire for connectivityStatus.
-
setConnectivityStatusValue
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;- Parameters:
value- The enum numeric value on the wire for connectivityStatus to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getConnectivityStatusin interfaceGetStatusResponseOrBuilder- Returns:
- The connectivityStatus.
-
setConnectivityStatus
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;- Parameters:
value- The connectivityStatus to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
getMacSecStatusValuein interfaceGetStatusResponseOrBuilder- Returns:
- The enum numeric value on the wire for macSecStatus.
-
setMacSecStatusValue
Current status of MACSec on the underlying network connectivity between GC and the partner.
.google.cloud.networkconnectivity.v1beta.GetStatusResponse.MacSecStatus mac_sec_status = 4;- Parameters:
value- The enum numeric value on the wire for macSecStatus to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getMacSecStatusin interfaceGetStatusResponseOrBuilder- Returns:
- The macSecStatus.
-
setMacSecStatus
Current status of MACSec on the underlying network connectivity between GC and the partner.
.google.cloud.networkconnectivity.v1beta.GetStatusResponse.MacSecStatus mac_sec_status = 4;- Parameters:
value- The macSecStatus to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-