Package p4.config.v1
Class P4InfoOuterClass.PlatformProperties.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<P4InfoOuterClass.PlatformProperties.Builder>
com.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.PlatformProperties.Builder>
p4.config.v1.P4InfoOuterClass.PlatformProperties.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,P4InfoOuterClass.PlatformPropertiesOrBuilder
- Enclosing class:
P4InfoOuterClass.PlatformProperties
public static final class P4InfoOuterClass.PlatformProperties.Builder
extends com.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.PlatformProperties.Builder>
implements P4InfoOuterClass.PlatformPropertiesOrBuilder
Used to describe the required properties of the underlying platform. Added in v1.4.0Protobuf type
p4.config.v1.PlatformProperties-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The number of replicas that the platform is required to support per group/entry.The minimum number of multicast entries (i.e.The minimum number of replicas that the platform is required to support across all groups.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintThe number of replicas that the platform is required to support per group/entry.intThe minimum number of multicast entries (i.e.intThe minimum number of replicas that the platform is required to support across all groups.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setMulticastGroupTableMaxReplicasPerEntry(int value) The number of replicas that the platform is required to support per group/entry.setMulticastGroupTableSize(int value) The minimum number of multicast entries (i.e.setMulticastGroupTableTotalReplicas(int value) The minimum number of replicas that the platform is required to support across all groups.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<P4InfoOuterClass.PlatformProperties.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<P4InfoOuterClass.PlatformProperties.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<P4InfoOuterClass.PlatformProperties.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<P4InfoOuterClass.PlatformProperties.Builder>
-
mergeFrom
public P4InfoOuterClass.PlatformProperties.Builder mergeFrom(P4InfoOuterClass.PlatformProperties other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.PlatformProperties.Builder>
-
mergeFrom
public P4InfoOuterClass.PlatformProperties.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<P4InfoOuterClass.PlatformProperties.Builder>- Throws:
IOException
-
getMulticastGroupTableSize
public int getMulticastGroupTableSize()The minimum number of multicast entries (i.e. multicast groups) that the platform is required to support. If 0, there are no requirements.
int32 multicast_group_table_size = 1;- Specified by:
getMulticastGroupTableSizein interfaceP4InfoOuterClass.PlatformPropertiesOrBuilder- Returns:
- The multicastGroupTableSize.
-
setMulticastGroupTableSize
The minimum number of multicast entries (i.e. multicast groups) that the platform is required to support. If 0, there are no requirements.
int32 multicast_group_table_size = 1;- Parameters:
value- The multicastGroupTableSize to set.- Returns:
- This builder for chaining.
-
clearMulticastGroupTableSize
The minimum number of multicast entries (i.e. multicast groups) that the platform is required to support. If 0, there are no requirements.
int32 multicast_group_table_size = 1;- Returns:
- This builder for chaining.
-
getMulticastGroupTableTotalReplicas
public int getMulticastGroupTableTotalReplicas()The minimum number of replicas that the platform is required to support across all groups. If 0, there are no requirements.
int32 multicast_group_table_total_replicas = 2;- Specified by:
getMulticastGroupTableTotalReplicasin interfaceP4InfoOuterClass.PlatformPropertiesOrBuilder- Returns:
- The multicastGroupTableTotalReplicas.
-
setMulticastGroupTableTotalReplicas
The minimum number of replicas that the platform is required to support across all groups. If 0, there are no requirements.
int32 multicast_group_table_total_replicas = 2;- Parameters:
value- The multicastGroupTableTotalReplicas to set.- Returns:
- This builder for chaining.
-
clearMulticastGroupTableTotalReplicas
The minimum number of replicas that the platform is required to support across all groups. If 0, there are no requirements.
int32 multicast_group_table_total_replicas = 2;- Returns:
- This builder for chaining.
-
getMulticastGroupTableMaxReplicasPerEntry
public int getMulticastGroupTableMaxReplicasPerEntry()The number of replicas that the platform is required to support per group/entry. If 0, `multicast_group_table_total_replicas` should be used. Must be no larger than `multicast_group_table_total_replicas`.
int32 multicast_group_table_max_replicas_per_entry = 3;- Specified by:
getMulticastGroupTableMaxReplicasPerEntryin interfaceP4InfoOuterClass.PlatformPropertiesOrBuilder- Returns:
- The multicastGroupTableMaxReplicasPerEntry.
-
setMulticastGroupTableMaxReplicasPerEntry
public P4InfoOuterClass.PlatformProperties.Builder setMulticastGroupTableMaxReplicasPerEntry(int value) The number of replicas that the platform is required to support per group/entry. If 0, `multicast_group_table_total_replicas` should be used. Must be no larger than `multicast_group_table_total_replicas`.
int32 multicast_group_table_max_replicas_per_entry = 3;- Parameters:
value- The multicastGroupTableMaxReplicasPerEntry to set.- Returns:
- This builder for chaining.
-
clearMulticastGroupTableMaxReplicasPerEntry
The number of replicas that the platform is required to support per group/entry. If 0, `multicast_group_table_total_replicas` should be used. Must be no larger than `multicast_group_table_total_replicas`.
int32 multicast_group_table_max_replicas_per_entry = 3;- Returns:
- This builder for chaining.
-