Class InterconnectGroupsCreateMembersInterconnectInput

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.InterconnectGroupsCreateMembersInterconnectInput
All Implemented Interfaces:
InterconnectGroupsCreateMembersInterconnectInputOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class InterconnectGroupsCreateMembersInterconnectInput extends com.google.protobuf.GeneratedMessage implements InterconnectGroupsCreateMembersInterconnectInputOrBuilder
 LINT.IfChange
 
Protobuf type google.cloud.compute.v1.InterconnectGroupsCreateMembersInterconnectInput
See Also:
  • Field Details

    • ADMIN_ENABLED_FIELD_NUMBER

      public static final int ADMIN_ENABLED_FIELD_NUMBER
      See Also:
    • CUSTOMER_NAME_FIELD_NUMBER

      public static final int CUSTOMER_NAME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • FACILITY_FIELD_NUMBER

      public static final int FACILITY_FIELD_NUMBER
      See Also:
    • INTERCONNECT_TYPE_FIELD_NUMBER

      public static final int INTERCONNECT_TYPE_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • NOC_CONTACT_EMAIL_FIELD_NUMBER

      public static final int NOC_CONTACT_EMAIL_FIELD_NUMBER
      See Also:
    • REMOTE_LOCATION_FIELD_NUMBER

      public static final int REMOTE_LOCATION_FIELD_NUMBER
      See Also:
    • REQUESTED_FEATURES_FIELD_NUMBER

      public static final int REQUESTED_FEATURES_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasAdminEnabled

      public boolean hasAdminEnabled()
       Administrative status of the interconnect. When this is set to true, the
       Interconnect is functional and can carry traffic.
       When set to false, no packets can be carried over the interconnect and
       no BGP routes are exchanged over it. By default, the status is set to
       true.
       
      optional bool admin_enabled = 445675089;
      Specified by:
      hasAdminEnabled in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      Whether the adminEnabled field is set.
    • getAdminEnabled

      public boolean getAdminEnabled()
       Administrative status of the interconnect. When this is set to true, the
       Interconnect is functional and can carry traffic.
       When set to false, no packets can be carried over the interconnect and
       no BGP routes are exchanged over it. By default, the status is set to
       true.
       
      optional bool admin_enabled = 445675089;
      Specified by:
      getAdminEnabled in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The adminEnabled.
    • hasCustomerName

      public boolean hasCustomerName()
       Customer name, to put in the Letter of Authorization as the party
       authorized to request a crossconnect.
       
      optional string customer_name = 3665484;
      Specified by:
      hasCustomerName in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      Whether the customerName field is set.
    • getCustomerName

      public String getCustomerName()
       Customer name, to put in the Letter of Authorization as the party
       authorized to request a crossconnect.
       
      optional string customer_name = 3665484;
      Specified by:
      getCustomerName in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The customerName.
    • getCustomerNameBytes

      public com.google.protobuf.ByteString getCustomerNameBytes()
       Customer name, to put in the Letter of Authorization as the party
       authorized to request a crossconnect.
       
      optional string customer_name = 3665484;
      Specified by:
      getCustomerNameBytes in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The bytes for customerName.
    • hasDescription

      public boolean hasDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      hasDescription in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      getDescription in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      getDescriptionBytes in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The bytes for description.
    • hasFacility

      public boolean hasFacility()
       A zone-free location to use for all Interconnects created in this call,
       like "iad-1234".
       
      optional string facility = 501116579;
      Specified by:
      hasFacility in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      Whether the facility field is set.
    • getFacility

      public String getFacility()
       A zone-free location to use for all Interconnects created in this call,
       like "iad-1234".
       
      optional string facility = 501116579;
      Specified by:
      getFacility in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The facility.
    • getFacilityBytes

      public com.google.protobuf.ByteString getFacilityBytes()
       A zone-free location to use for all Interconnects created in this call,
       like "iad-1234".
       
      optional string facility = 501116579;
      Specified by:
      getFacilityBytes in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The bytes for facility.
    • hasInterconnectType

      public boolean hasInterconnectType()
       Type of interconnect, which can take one of the following values:
      
       - PARTNER: A partner-managed interconnection shared between
       customers though a partner.
       - DEDICATED: A dedicated physical
       interconnection with the customer.
      
       Note that a value IT_PRIVATE
       has been deprecated in favor of DEDICATED.
       Check the InterconnectType enum for the list of possible values.
       
      optional string interconnect_type = 515165259;
      Specified by:
      hasInterconnectType in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      Whether the interconnectType field is set.
    • getInterconnectType

      public String getInterconnectType()
       Type of interconnect, which can take one of the following values:
      
       - PARTNER: A partner-managed interconnection shared between
       customers though a partner.
       - DEDICATED: A dedicated physical
       interconnection with the customer.
      
       Note that a value IT_PRIVATE
       has been deprecated in favor of DEDICATED.
       Check the InterconnectType enum for the list of possible values.
       
      optional string interconnect_type = 515165259;
      Specified by:
      getInterconnectType in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The interconnectType.
    • getInterconnectTypeBytes

      public com.google.protobuf.ByteString getInterconnectTypeBytes()
       Type of interconnect, which can take one of the following values:
      
       - PARTNER: A partner-managed interconnection shared between
       customers though a partner.
       - DEDICATED: A dedicated physical
       interconnection with the customer.
      
       Note that a value IT_PRIVATE
       has been deprecated in favor of DEDICATED.
       Check the InterconnectType enum for the list of possible values.
       
      optional string interconnect_type = 515165259;
      Specified by:
      getInterconnectTypeBytes in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The bytes for interconnectType.
    • hasLinkType

      public boolean hasLinkType()
       Type of link requested, which can take one of the following values:
      
       - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics
       - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics.
       - LINK_TYPE_ETHERNET_400G_LR4: A 400G Ethernet with LR4
       optics.
      
       Note that this field indicates the speed of each of the
       links in the bundle, not the speed of the entire bundle.
       Check the LinkType enum for the list of possible values.
       
      optional string link_type = 523207775;
      Specified by:
      hasLinkType in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      Whether the linkType field is set.
    • getLinkType

      public String getLinkType()
       Type of link requested, which can take one of the following values:
      
       - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics
       - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics.
       - LINK_TYPE_ETHERNET_400G_LR4: A 400G Ethernet with LR4
       optics.
      
       Note that this field indicates the speed of each of the
       links in the bundle, not the speed of the entire bundle.
       Check the LinkType enum for the list of possible values.
       
      optional string link_type = 523207775;
      Specified by:
      getLinkType in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The linkType.
    • getLinkTypeBytes

      public com.google.protobuf.ByteString getLinkTypeBytes()
       Type of link requested, which can take one of the following values:
      
       - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics
       - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics.
       - LINK_TYPE_ETHERNET_400G_LR4: A 400G Ethernet with LR4
       optics.
      
       Note that this field indicates the speed of each of the
       links in the bundle, not the speed of the entire bundle.
       Check the LinkType enum for the list of possible values.
       
      optional string link_type = 523207775;
      Specified by:
      getLinkTypeBytes in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The bytes for linkType.
    • hasName

      public boolean hasName()
       Name of the Interconnects to be created. This must be specified on the
       template and/or on each individual interconnect. The name, if not empty,
       must be 1-63 characters long, and comply with RFC1035.
       Specifically, any nonempty name must be 1-63 characters long and match
       the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      hasName in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Name of the Interconnects to be created. This must be specified on the
       template and/or on each individual interconnect. The name, if not empty,
       must be 1-63 characters long, and comply with RFC1035.
       Specifically, any nonempty name must be 1-63 characters long and match
       the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      getName in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of the Interconnects to be created. This must be specified on the
       template and/or on each individual interconnect. The name, if not empty,
       must be 1-63 characters long, and comply with RFC1035.
       Specifically, any nonempty name must be 1-63 characters long and match
       the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The bytes for name.
    • hasNocContactEmail

      public boolean hasNocContactEmail()
       Email address to contact the customer NOC for operations and maintenance
       notifications regarding this Interconnect. If specified, this will be
       used for notifications in addition to all other forms described, such as
       Cloud Monitoring logs alerting and Cloud Notifications. This field is
       required for users who sign up for Cloud Interconnect using
       workforce identity federation.
       
      optional string noc_contact_email = 14072832;
      Specified by:
      hasNocContactEmail in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      Whether the nocContactEmail field is set.
    • getNocContactEmail

      public String getNocContactEmail()
       Email address to contact the customer NOC for operations and maintenance
       notifications regarding this Interconnect. If specified, this will be
       used for notifications in addition to all other forms described, such as
       Cloud Monitoring logs alerting and Cloud Notifications. This field is
       required for users who sign up for Cloud Interconnect using
       workforce identity federation.
       
      optional string noc_contact_email = 14072832;
      Specified by:
      getNocContactEmail in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The nocContactEmail.
    • getNocContactEmailBytes

      public com.google.protobuf.ByteString getNocContactEmailBytes()
       Email address to contact the customer NOC for operations and maintenance
       notifications regarding this Interconnect. If specified, this will be
       used for notifications in addition to all other forms described, such as
       Cloud Monitoring logs alerting and Cloud Notifications. This field is
       required for users who sign up for Cloud Interconnect using
       workforce identity federation.
       
      optional string noc_contact_email = 14072832;
      Specified by:
      getNocContactEmailBytes in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The bytes for nocContactEmail.
    • hasRemoteLocation

      public boolean hasRemoteLocation()
       Indicates that this is a Cross-Cloud Interconnect. This field specifies
       the location outside of Google's network that the interconnect is
       connected to.
       
      optional string remote_location = 324388750;
      Specified by:
      hasRemoteLocation in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      Whether the remoteLocation field is set.
    • getRemoteLocation

      public String getRemoteLocation()
       Indicates that this is a Cross-Cloud Interconnect. This field specifies
       the location outside of Google's network that the interconnect is
       connected to.
       
      optional string remote_location = 324388750;
      Specified by:
      getRemoteLocation in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The remoteLocation.
    • getRemoteLocationBytes

      public com.google.protobuf.ByteString getRemoteLocationBytes()
       Indicates that this is a Cross-Cloud Interconnect. This field specifies
       the location outside of Google's network that the interconnect is
       connected to.
       
      optional string remote_location = 324388750;
      Specified by:
      getRemoteLocationBytes in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The bytes for remoteLocation.
    • getRequestedFeaturesList

      public com.google.protobuf.ProtocolStringList getRequestedFeaturesList()
       Optional. List of features requested for this Interconnect connection,
       which can take one of the following values:
      
       - IF_MACSEC: If specified, then the connection is created on MACsec
       capable hardware ports. If not specified, non-MACsec capable ports will
       also be considered.
       - IF_CROSS_SITE_NETWORK: If specified, then the connection is created
       exclusively for Cross-Site Networking. The connection can not be used for
       Cross-Site Networking unless this feature is specified.
       Check the RequestedFeatures enum for the list of possible values.
       
      repeated string requested_features = 461240814;
      Specified by:
      getRequestedFeaturesList in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      A list containing the requestedFeatures.
    • getRequestedFeaturesCount

      public int getRequestedFeaturesCount()
       Optional. List of features requested for this Interconnect connection,
       which can take one of the following values:
      
       - IF_MACSEC: If specified, then the connection is created on MACsec
       capable hardware ports. If not specified, non-MACsec capable ports will
       also be considered.
       - IF_CROSS_SITE_NETWORK: If specified, then the connection is created
       exclusively for Cross-Site Networking. The connection can not be used for
       Cross-Site Networking unless this feature is specified.
       Check the RequestedFeatures enum for the list of possible values.
       
      repeated string requested_features = 461240814;
      Specified by:
      getRequestedFeaturesCount in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The count of requestedFeatures.
    • getRequestedFeatures

      public String getRequestedFeatures(int index)
       Optional. List of features requested for this Interconnect connection,
       which can take one of the following values:
      
       - IF_MACSEC: If specified, then the connection is created on MACsec
       capable hardware ports. If not specified, non-MACsec capable ports will
       also be considered.
       - IF_CROSS_SITE_NETWORK: If specified, then the connection is created
       exclusively for Cross-Site Networking. The connection can not be used for
       Cross-Site Networking unless this feature is specified.
       Check the RequestedFeatures enum for the list of possible values.
       
      repeated string requested_features = 461240814;
      Specified by:
      getRequestedFeatures in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The requestedFeatures at the given index.
    • getRequestedFeaturesBytes

      public com.google.protobuf.ByteString getRequestedFeaturesBytes(int index)
       Optional. List of features requested for this Interconnect connection,
       which can take one of the following values:
      
       - IF_MACSEC: If specified, then the connection is created on MACsec
       capable hardware ports. If not specified, non-MACsec capable ports will
       also be considered.
       - IF_CROSS_SITE_NETWORK: If specified, then the connection is created
       exclusively for Cross-Site Networking. The connection can not be used for
       Cross-Site Networking unless this feature is specified.
       Check the RequestedFeatures enum for the list of possible values.
       
      repeated string requested_features = 461240814;
      Specified by:
      getRequestedFeaturesBytes in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the requestedFeatures at the given index.
    • hasRequestedLinkCount

      public boolean hasRequestedLinkCount()
       Target number of physical links in the link bundle, as requested by the
       customer.
       
      optional int32 requested_link_count = 45051387;
      Specified by:
      hasRequestedLinkCount in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      Whether the requestedLinkCount field is set.
    • getRequestedLinkCount

      public int getRequestedLinkCount()
       Target number of physical links in the link bundle, as requested by the
       customer.
       
      optional int32 requested_link_count = 45051387;
      Specified by:
      getRequestedLinkCount in interface InterconnectGroupsCreateMembersInterconnectInputOrBuilder
      Returns:
      The requestedLinkCount.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static InterconnectGroupsCreateMembersInterconnectInput parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InterconnectGroupsCreateMembersInterconnectInput parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InterconnectGroupsCreateMembersInterconnectInput parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InterconnectGroupsCreateMembersInterconnectInput parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InterconnectGroupsCreateMembersInterconnectInput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InterconnectGroupsCreateMembersInterconnectInput parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      Throws:
      IOException
    • parseFrom

      public static InterconnectGroupsCreateMembersInterconnectInput parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InterconnectGroupsCreateMembersInterconnectInput parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InterconnectGroupsCreateMembersInterconnectInput parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InterconnectGroupsCreateMembersInterconnectInput parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InterconnectGroupsCreateMembersInterconnectInput parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected InterconnectGroupsCreateMembersInterconnectInput.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static InterconnectGroupsCreateMembersInterconnectInput getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<InterconnectGroupsCreateMembersInterconnectInput> parser()
    • getParserForType

      public com.google.protobuf.Parser<InterconnectGroupsCreateMembersInterconnectInput> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public InterconnectGroupsCreateMembersInterconnectInput getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder