Class PscPropagationStatus.Builder (1.54.0)

public static final class PscPropagationStatus.Builder extends GeneratedMessageV3.Builder<PscPropagationStatus.Builder> implements PscPropagationStatusOrBuilder

The status of one or more propagated Private Service Connect connections in a hub.

Protobuf type google.cloud.networkconnectivity.v1.PscPropagationStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PscPropagationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PscPropagationStatus.Builder
Overrides

build()

public PscPropagationStatus build()
Returns
Type Description
PscPropagationStatus

buildPartial()

public PscPropagationStatus buildPartial()
Returns
Type Description
PscPropagationStatus

clear()

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

clearCode()

public PscPropagationStatus.Builder clearCode()

The propagation status.

.google.cloud.networkconnectivity.v1.PscPropagationStatus.Code code = 6;

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PscPropagationStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PscPropagationStatus.Builder
Overrides

clearMessage()

public PscPropagationStatus.Builder clearMessage()

The human-readable summary of the Private Service Connect connection propagation status.

string message = 7;

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PscPropagationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PscPropagationStatus.Builder
Overrides

clearSourceForwardingRule()

public PscPropagationStatus.Builder clearSourceForwardingRule()

The name of the forwarding rule exported to the hub.

string source_forwarding_rule = 3;

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

clearSourceGroup()

public PscPropagationStatus.Builder clearSourceGroup()

The name of the group that the source spoke belongs to.

string source_group = 2;

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

clearSourceSpoke()

public PscPropagationStatus.Builder clearSourceSpoke()

The name of the spoke that the source forwarding rule belongs to.

string source_spoke = 1;

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

clearTargetGroup()

public PscPropagationStatus.Builder clearTargetGroup()

The name of the group that the target spoke belongs to.

string target_group = 5;

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

clearTargetSpoke()

public PscPropagationStatus.Builder clearTargetSpoke()

The name of the spoke that the source forwarding rule propagates to.

string target_spoke = 4;

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

clone()

public PscPropagationStatus.Builder clone()
Returns
Type Description
PscPropagationStatus.Builder
Overrides

getCode()

public PscPropagationStatus.Code getCode()

The propagation status.

.google.cloud.networkconnectivity.v1.PscPropagationStatus.Code code = 6;

Returns
Type Description
PscPropagationStatus.Code

The code.

getCodeValue()

public int getCodeValue()

The propagation status.

.google.cloud.networkconnectivity.v1.PscPropagationStatus.Code code = 6;

Returns
Type Description
int

The enum numeric value on the wire for code.

getDefaultInstanceForType()

public PscPropagationStatus getDefaultInstanceForType()
Returns
Type Description
PscPropagationStatus

getDescriptorForType()

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

getMessage()

public String getMessage()

The human-readable summary of the Private Service Connect connection propagation status.

string message = 7;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

The human-readable summary of the Private Service Connect connection propagation status.

string message = 7;

Returns
Type Description
ByteString

The bytes for message.

getSourceForwardingRule()

public String getSourceForwardingRule()

The name of the forwarding rule exported to the hub.

string source_forwarding_rule = 3;

Returns
Type Description
String

The sourceForwardingRule.

getSourceForwardingRuleBytes()

public ByteString getSourceForwardingRuleBytes()

The name of the forwarding rule exported to the hub.

string source_forwarding_rule = 3;

Returns
Type Description
ByteString

The bytes for sourceForwardingRule.

getSourceGroup()

public String getSourceGroup()

The name of the group that the source spoke belongs to.

string source_group = 2;

Returns
Type Description
String

The sourceGroup.

getSourceGroupBytes()

public ByteString getSourceGroupBytes()

The name of the group that the source spoke belongs to.

string source_group = 2;

Returns
Type Description
ByteString

The bytes for sourceGroup.

getSourceSpoke()

public String getSourceSpoke()

The name of the spoke that the source forwarding rule belongs to.

string source_spoke = 1;

Returns
Type Description
String

The sourceSpoke.

getSourceSpokeBytes()

public ByteString getSourceSpokeBytes()

The name of the spoke that the source forwarding rule belongs to.

string source_spoke = 1;

Returns
Type Description
ByteString

The bytes for sourceSpoke.

getTargetGroup()

public String getTargetGroup()

The name of the group that the target spoke belongs to.

string target_group = 5;

Returns
Type Description
String

The targetGroup.

getTargetGroupBytes()

public ByteString getTargetGroupBytes()

The name of the group that the target spoke belongs to.

string target_group = 5;

Returns
Type Description
ByteString

The bytes for targetGroup.

getTargetSpoke()

public String getTargetSpoke()

The name of the spoke that the source forwarding rule propagates to.

string target_spoke = 4;

Returns
Type Description
String

The targetSpoke.

getTargetSpokeBytes()

public ByteString getTargetSpokeBytes()

The name of the spoke that the source forwarding rule propagates to.

string target_spoke = 4;

Returns
Type Description
ByteString

The bytes for targetSpoke.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PscPropagationStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PscPropagationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PscPropagationStatus.Builder
Overrides

setCode(PscPropagationStatus.Code value)

public PscPropagationStatus.Builder setCode(PscPropagationStatus.Code value)

The propagation status.

.google.cloud.networkconnectivity.v1.PscPropagationStatus.Code code = 6;

Parameter
Name Description
value PscPropagationStatus.Code

The code to set.

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

setCodeValue(int value)

public PscPropagationStatus.Builder setCodeValue(int value)

The propagation status.

.google.cloud.networkconnectivity.v1.PscPropagationStatus.Code code = 6;

Parameter
Name Description
value int

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

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PscPropagationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PscPropagationStatus.Builder
Overrides

setMessage(String value)

public PscPropagationStatus.Builder setMessage(String value)

The human-readable summary of the Private Service Connect connection propagation status.

string message = 7;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public PscPropagationStatus.Builder setMessageBytes(ByteString value)

The human-readable summary of the Private Service Connect connection propagation status.

string message = 7;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PscPropagationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PscPropagationStatus.Builder
Overrides

setSourceForwardingRule(String value)

public PscPropagationStatus.Builder setSourceForwardingRule(String value)

The name of the forwarding rule exported to the hub.

string source_forwarding_rule = 3;

Parameter
Name Description
value String

The sourceForwardingRule to set.

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

setSourceForwardingRuleBytes(ByteString value)

public PscPropagationStatus.Builder setSourceForwardingRuleBytes(ByteString value)

The name of the forwarding rule exported to the hub.

string source_forwarding_rule = 3;

Parameter
Name Description
value ByteString

The bytes for sourceForwardingRule to set.

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

setSourceGroup(String value)

public PscPropagationStatus.Builder setSourceGroup(String value)

The name of the group that the source spoke belongs to.

string source_group = 2;

Parameter
Name Description
value String

The sourceGroup to set.

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

setSourceGroupBytes(ByteString value)

public PscPropagationStatus.Builder setSourceGroupBytes(ByteString value)

The name of the group that the source spoke belongs to.

string source_group = 2;

Parameter
Name Description
value ByteString

The bytes for sourceGroup to set.

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

setSourceSpoke(String value)

public PscPropagationStatus.Builder setSourceSpoke(String value)

The name of the spoke that the source forwarding rule belongs to.

string source_spoke = 1;

Parameter
Name Description
value String

The sourceSpoke to set.

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

setSourceSpokeBytes(ByteString value)

public PscPropagationStatus.Builder setSourceSpokeBytes(ByteString value)

The name of the spoke that the source forwarding rule belongs to.

string source_spoke = 1;

Parameter
Name Description
value ByteString

The bytes for sourceSpoke to set.

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

setTargetGroup(String value)

public PscPropagationStatus.Builder setTargetGroup(String value)

The name of the group that the target spoke belongs to.

string target_group = 5;

Parameter
Name Description
value String

The targetGroup to set.

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

setTargetGroupBytes(ByteString value)

public PscPropagationStatus.Builder setTargetGroupBytes(ByteString value)

The name of the group that the target spoke belongs to.

string target_group = 5;

Parameter
Name Description
value ByteString

The bytes for targetGroup to set.

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

setTargetSpoke(String value)

public PscPropagationStatus.Builder setTargetSpoke(String value)

The name of the spoke that the source forwarding rule propagates to.

string target_spoke = 4;

Parameter
Name Description
value String

The targetSpoke to set.

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

setTargetSpokeBytes(ByteString value)

public PscPropagationStatus.Builder setTargetSpokeBytes(ByteString value)

The name of the spoke that the source forwarding rule propagates to.

string target_spoke = 4;

Parameter
Name Description
value ByteString

The bytes for targetSpoke to set.

Returns
Type Description
PscPropagationStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PscPropagationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PscPropagationStatus.Builder
Overrides