Class PscPropagationStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PscPropagationStatus.Builder>
com.google.cloud.networkconnectivity.v1beta.PscPropagationStatus.Builder
- All Implemented Interfaces:
PscPropagationStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PscPropagationStatus
public static final class PscPropagationStatus.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PscPropagationStatus.Builder>
implements PscPropagationStatusOrBuilder
The status of one or more propagated Private Service Connect connections in a hub.Protobuf type
google.cloud.networkconnectivity.v1beta.PscPropagationStatus-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The propagation status.The human-readable summary of the Private Service Connect connection propagation status.The name of the forwarding rule exported to the hub.The name of the group that the source spoke belongs to.The name of the spoke that the source forwarding rule belongs to.The name of the group that the target spoke belongs to.The name of the spoke that the source forwarding rule propagates to.getCode()The propagation status.intThe propagation status.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe human-readable summary of the Private Service Connect connection propagation status.com.google.protobuf.ByteStringThe human-readable summary of the Private Service Connect connection propagation status.The name of the forwarding rule exported to the hub.com.google.protobuf.ByteStringThe name of the forwarding rule exported to the hub.The name of the group that the source spoke belongs to.com.google.protobuf.ByteStringThe name of the group that the source spoke belongs to.The name of the spoke that the source forwarding rule belongs to.com.google.protobuf.ByteStringThe name of the spoke that the source forwarding rule belongs to.The name of the group that the target spoke belongs to.com.google.protobuf.ByteStringThe name of the group that the target spoke belongs to.The name of the spoke that the source forwarding rule propagates to.com.google.protobuf.ByteStringThe name of the spoke that the source forwarding rule propagates to.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(PscPropagationStatus other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCode(PscPropagationStatus.Code value) The propagation status.setCodeValue(int value) The propagation status.setMessage(String value) The human-readable summary of the Private Service Connect connection propagation status.setMessageBytes(com.google.protobuf.ByteString value) The human-readable summary of the Private Service Connect connection propagation status.setSourceForwardingRule(String value) The name of the forwarding rule exported to the hub.setSourceForwardingRuleBytes(com.google.protobuf.ByteString value) The name of the forwarding rule exported to the hub.setSourceGroup(String value) The name of the group that the source spoke belongs to.setSourceGroupBytes(com.google.protobuf.ByteString value) The name of the group that the source spoke belongs to.setSourceSpoke(String value) The name of the spoke that the source forwarding rule belongs to.setSourceSpokeBytes(com.google.protobuf.ByteString value) The name of the spoke that the source forwarding rule belongs to.setTargetGroup(String value) The name of the group that the target spoke belongs to.setTargetGroupBytes(com.google.protobuf.ByteString value) The name of the group that the target spoke belongs to.setTargetSpoke(String value) The name of the spoke that the source forwarding rule propagates to.setTargetSpokeBytes(com.google.protobuf.ByteString value) The name of the spoke that the source forwarding rule propagates to.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<PscPropagationStatus.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<PscPropagationStatus.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<PscPropagationStatus.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<PscPropagationStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PscPropagationStatus.Builder>
-
mergeFrom
public PscPropagationStatus.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<PscPropagationStatus.Builder>- Throws:
IOException
-
getSourceSpoke
The name of the spoke that the source forwarding rule belongs to.
string source_spoke = 1;- Specified by:
getSourceSpokein interfacePscPropagationStatusOrBuilder- Returns:
- The sourceSpoke.
-
getSourceSpokeBytes
public com.google.protobuf.ByteString getSourceSpokeBytes()The name of the spoke that the source forwarding rule belongs to.
string source_spoke = 1;- Specified by:
getSourceSpokeBytesin interfacePscPropagationStatusOrBuilder- Returns:
- The bytes for sourceSpoke.
-
setSourceSpoke
The name of the spoke that the source forwarding rule belongs to.
string source_spoke = 1;- Parameters:
value- The sourceSpoke to set.- Returns:
- This builder for chaining.
-
clearSourceSpoke
The name of the spoke that the source forwarding rule belongs to.
string source_spoke = 1;- Returns:
- This builder for chaining.
-
setSourceSpokeBytes
The name of the spoke that the source forwarding rule belongs to.
string source_spoke = 1;- Parameters:
value- The bytes for sourceSpoke to set.- Returns:
- This builder for chaining.
-
getSourceGroup
The name of the group that the source spoke belongs to.
string source_group = 2;- Specified by:
getSourceGroupin interfacePscPropagationStatusOrBuilder- Returns:
- The sourceGroup.
-
getSourceGroupBytes
public com.google.protobuf.ByteString getSourceGroupBytes()The name of the group that the source spoke belongs to.
string source_group = 2;- Specified by:
getSourceGroupBytesin interfacePscPropagationStatusOrBuilder- Returns:
- The bytes for sourceGroup.
-
setSourceGroup
The name of the group that the source spoke belongs to.
string source_group = 2;- Parameters:
value- The sourceGroup to set.- Returns:
- This builder for chaining.
-
clearSourceGroup
The name of the group that the source spoke belongs to.
string source_group = 2;- Returns:
- This builder for chaining.
-
setSourceGroupBytes
The name of the group that the source spoke belongs to.
string source_group = 2;- Parameters:
value- The bytes for sourceGroup to set.- Returns:
- This builder for chaining.
-
getSourceForwardingRule
The name of the forwarding rule exported to the hub.
string source_forwarding_rule = 3;- Specified by:
getSourceForwardingRulein interfacePscPropagationStatusOrBuilder- Returns:
- The sourceForwardingRule.
-
getSourceForwardingRuleBytes
public com.google.protobuf.ByteString getSourceForwardingRuleBytes()The name of the forwarding rule exported to the hub.
string source_forwarding_rule = 3;- Specified by:
getSourceForwardingRuleBytesin interfacePscPropagationStatusOrBuilder- Returns:
- The bytes for sourceForwardingRule.
-
setSourceForwardingRule
The name of the forwarding rule exported to the hub.
string source_forwarding_rule = 3;- Parameters:
value- The sourceForwardingRule to set.- Returns:
- This builder for chaining.
-
clearSourceForwardingRule
The name of the forwarding rule exported to the hub.
string source_forwarding_rule = 3;- Returns:
- This builder for chaining.
-
setSourceForwardingRuleBytes
public PscPropagationStatus.Builder setSourceForwardingRuleBytes(com.google.protobuf.ByteString value) The name of the forwarding rule exported to the hub.
string source_forwarding_rule = 3;- Parameters:
value- The bytes for sourceForwardingRule to set.- Returns:
- This builder for chaining.
-
getTargetSpoke
The name of the spoke that the source forwarding rule propagates to.
string target_spoke = 4;- Specified by:
getTargetSpokein interfacePscPropagationStatusOrBuilder- Returns:
- The targetSpoke.
-
getTargetSpokeBytes
public com.google.protobuf.ByteString getTargetSpokeBytes()The name of the spoke that the source forwarding rule propagates to.
string target_spoke = 4;- Specified by:
getTargetSpokeBytesin interfacePscPropagationStatusOrBuilder- Returns:
- The bytes for targetSpoke.
-
setTargetSpoke
The name of the spoke that the source forwarding rule propagates to.
string target_spoke = 4;- Parameters:
value- The targetSpoke to set.- Returns:
- This builder for chaining.
-
clearTargetSpoke
The name of the spoke that the source forwarding rule propagates to.
string target_spoke = 4;- Returns:
- This builder for chaining.
-
setTargetSpokeBytes
The name of the spoke that the source forwarding rule propagates to.
string target_spoke = 4;- Parameters:
value- The bytes for targetSpoke to set.- Returns:
- This builder for chaining.
-
getTargetGroup
The name of the group that the target spoke belongs to.
string target_group = 5;- Specified by:
getTargetGroupin interfacePscPropagationStatusOrBuilder- Returns:
- The targetGroup.
-
getTargetGroupBytes
public com.google.protobuf.ByteString getTargetGroupBytes()The name of the group that the target spoke belongs to.
string target_group = 5;- Specified by:
getTargetGroupBytesin interfacePscPropagationStatusOrBuilder- Returns:
- The bytes for targetGroup.
-
setTargetGroup
The name of the group that the target spoke belongs to.
string target_group = 5;- Parameters:
value- The targetGroup to set.- Returns:
- This builder for chaining.
-
clearTargetGroup
The name of the group that the target spoke belongs to.
string target_group = 5;- Returns:
- This builder for chaining.
-
setTargetGroupBytes
The name of the group that the target spoke belongs to.
string target_group = 5;- Parameters:
value- The bytes for targetGroup to set.- Returns:
- This builder for chaining.
-
getCodeValue
public int getCodeValue()The propagation status.
.google.cloud.networkconnectivity.v1beta.PscPropagationStatus.Code code = 6;- Specified by:
getCodeValuein interfacePscPropagationStatusOrBuilder- Returns:
- The enum numeric value on the wire for code.
-
setCodeValue
The propagation status.
.google.cloud.networkconnectivity.v1beta.PscPropagationStatus.Code code = 6;- Parameters:
value- The enum numeric value on the wire for code to set.- Returns:
- This builder for chaining.
-
getCode
The propagation status.
.google.cloud.networkconnectivity.v1beta.PscPropagationStatus.Code code = 6;- Specified by:
getCodein interfacePscPropagationStatusOrBuilder- Returns:
- The code.
-
setCode
The propagation status.
.google.cloud.networkconnectivity.v1beta.PscPropagationStatus.Code code = 6;- Parameters:
value- The code to set.- Returns:
- This builder for chaining.
-
clearCode
The propagation status.
.google.cloud.networkconnectivity.v1beta.PscPropagationStatus.Code code = 6;- Returns:
- This builder for chaining.
-
getMessage
The human-readable summary of the Private Service Connect connection propagation status.
string message = 7;- Specified by:
getMessagein interfacePscPropagationStatusOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()The human-readable summary of the Private Service Connect connection propagation status.
string message = 7;- Specified by:
getMessageBytesin interfacePscPropagationStatusOrBuilder- Returns:
- The bytes for message.
-
setMessage
The human-readable summary of the Private Service Connect connection propagation status.
string message = 7;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
The human-readable summary of the Private Service Connect connection propagation status.
string message = 7;- Returns:
- This builder for chaining.
-
setMessageBytes
The human-readable summary of the Private Service Connect connection propagation status.
string message = 7;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-