public final class ServerNetworkTemplate extends com.google.protobuf.GeneratedMessageV3 implements ServerNetworkTemplateOrBuilder
Network template.Protobuf type
google.cloud.baremetalsolution.v2.ServerNetworkTemplate| Modifier and Type | Class and Description |
|---|---|
static class |
ServerNetworkTemplate.Builder
Network template.
|
static class |
ServerNetworkTemplate.LogicalInterface
Logical interface.
|
static interface |
ServerNetworkTemplate.LogicalInterfaceOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
APPLICABLE_INSTANCE_TYPES_FIELD_NUMBER |
static int |
LOGICAL_INTERFACES_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getApplicableInstanceTypes(int index)
Instance types this template is applicable to.
|
com.google.protobuf.ByteString |
getApplicableInstanceTypesBytes(int index)
Instance types this template is applicable to.
|
int |
getApplicableInstanceTypesCount()
Instance types this template is applicable to.
|
com.google.protobuf.ProtocolStringList |
getApplicableInstanceTypesList()
Instance types this template is applicable to.
|
static ServerNetworkTemplate |
getDefaultInstance() |
ServerNetworkTemplate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ServerNetworkTemplate.LogicalInterface |
getLogicalInterfaces(int index)
Logical interfaces.
|
int |
getLogicalInterfacesCount()
Logical interfaces.
|
List<ServerNetworkTemplate.LogicalInterface> |
getLogicalInterfacesList()
Logical interfaces.
|
ServerNetworkTemplate.LogicalInterfaceOrBuilder |
getLogicalInterfacesOrBuilder(int index)
Logical interfaces.
|
List<? extends ServerNetworkTemplate.LogicalInterfaceOrBuilder> |
getLogicalInterfacesOrBuilderList()
Logical interfaces.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<ServerNetworkTemplate> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ServerNetworkTemplate.Builder |
newBuilder() |
static ServerNetworkTemplate.Builder |
newBuilder(ServerNetworkTemplate prototype) |
ServerNetworkTemplate.Builder |
newBuilderForType() |
protected ServerNetworkTemplate.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ServerNetworkTemplate |
parseDelimitedFrom(InputStream input) |
static ServerNetworkTemplate |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerNetworkTemplate |
parseFrom(byte[] data) |
static ServerNetworkTemplate |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerNetworkTemplate |
parseFrom(ByteBuffer data) |
static ServerNetworkTemplate |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerNetworkTemplate |
parseFrom(com.google.protobuf.ByteString data) |
static ServerNetworkTemplate |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerNetworkTemplate |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ServerNetworkTemplate |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerNetworkTemplate |
parseFrom(InputStream input) |
static ServerNetworkTemplate |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ServerNetworkTemplate> |
parser() |
ServerNetworkTemplate.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int APPLICABLE_INSTANCE_TYPES_FIELD_NUMBER
public static final int LOGICAL_INTERFACES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Output only. Template's unique name. The full resource name follows the pattern:
`projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}`
Generally, the {server_network_template} follows the syntax of
"bond<interface_type_index><bond_mode>" or "nic<interface_type_index>".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface ServerNetworkTemplateOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. Template's unique name. The full resource name follows the pattern:
`projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}`
Generally, the {server_network_template} follows the syntax of
"bond<interface_type_index><bond_mode>" or "nic<interface_type_index>".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface ServerNetworkTemplateOrBuilderpublic com.google.protobuf.ProtocolStringList getApplicableInstanceTypesList()
Instance types this template is applicable to.
repeated string applicable_instance_types = 2;getApplicableInstanceTypesList in interface ServerNetworkTemplateOrBuilderpublic int getApplicableInstanceTypesCount()
Instance types this template is applicable to.
repeated string applicable_instance_types = 2;getApplicableInstanceTypesCount in interface ServerNetworkTemplateOrBuilderpublic String getApplicableInstanceTypes(int index)
Instance types this template is applicable to.
repeated string applicable_instance_types = 2;getApplicableInstanceTypes in interface ServerNetworkTemplateOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getApplicableInstanceTypesBytes(int index)
Instance types this template is applicable to.
repeated string applicable_instance_types = 2;getApplicableInstanceTypesBytes in interface ServerNetworkTemplateOrBuilderindex - The index of the value to return.public List<ServerNetworkTemplate.LogicalInterface> getLogicalInterfacesList()
Logical interfaces.
repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
getLogicalInterfacesList in interface ServerNetworkTemplateOrBuilderpublic List<? extends ServerNetworkTemplate.LogicalInterfaceOrBuilder> getLogicalInterfacesOrBuilderList()
Logical interfaces.
repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
getLogicalInterfacesOrBuilderList in interface ServerNetworkTemplateOrBuilderpublic int getLogicalInterfacesCount()
Logical interfaces.
repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
getLogicalInterfacesCount in interface ServerNetworkTemplateOrBuilderpublic ServerNetworkTemplate.LogicalInterface getLogicalInterfaces(int index)
Logical interfaces.
repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
getLogicalInterfaces in interface ServerNetworkTemplateOrBuilderpublic ServerNetworkTemplate.LogicalInterfaceOrBuilder getLogicalInterfacesOrBuilder(int index)
Logical interfaces.
repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
getLogicalInterfacesOrBuilder in interface ServerNetworkTemplateOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ServerNetworkTemplate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerNetworkTemplate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerNetworkTemplate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerNetworkTemplate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerNetworkTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerNetworkTemplate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerNetworkTemplate parseFrom(InputStream input) throws IOException
IOExceptionpublic static ServerNetworkTemplate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerNetworkTemplate parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ServerNetworkTemplate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerNetworkTemplate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ServerNetworkTemplate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ServerNetworkTemplate.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ServerNetworkTemplate.Builder newBuilder()
public static ServerNetworkTemplate.Builder newBuilder(ServerNetworkTemplate prototype)
public ServerNetworkTemplate.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ServerNetworkTemplate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ServerNetworkTemplate getDefaultInstance()
public static com.google.protobuf.Parser<ServerNetworkTemplate> parser()
public com.google.protobuf.Parser<ServerNetworkTemplate> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ServerNetworkTemplate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.