Class HelpLink.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<HelpLink.Builder>
com.google.cloud.compute.v1.HelpLink.Builder
All Implemented Interfaces:
HelpLinkOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
HelpLink

public static final class HelpLink.Builder extends com.google.protobuf.GeneratedMessage.Builder<HelpLink.Builder> implements HelpLinkOrBuilder
 Describes a URL link.
 
Protobuf type google.cloud.compute.v1.HelpLink
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Describes what the link offers.
    The URL of the link.
     
    Describes what the link offers.
    com.google.protobuf.ByteString
    Describes what the link offers.
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The URL of the link.
    com.google.protobuf.ByteString
    The URL of the link.
    boolean
    Describes what the link offers.
    boolean
    The URL of the link.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    Describes what the link offers.
    setDescriptionBytes(com.google.protobuf.ByteString value)
    Describes what the link offers.
    setUrl(String value)
    The URL of the link.
    setUrlBytes(com.google.protobuf.ByteString value)
    The URL of the link.

    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, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<HelpLink.Builder>
    • clear

      public HelpLink.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<HelpLink.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<HelpLink.Builder>
    • getDefaultInstanceForType

      public HelpLink getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public HelpLink build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public HelpLink buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public HelpLink.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HelpLink.Builder>
    • mergeFrom

      public HelpLink.Builder mergeFrom(HelpLink other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<HelpLink.Builder>
    • mergeFrom

      public HelpLink.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HelpLink.Builder>
      Throws:
      IOException
    • hasDescription

      public boolean hasDescription()
       Describes what the link offers.
       
      optional string description = 422937596;
      Specified by:
      hasDescription in interface HelpLinkOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       Describes what the link offers.
       
      optional string description = 422937596;
      Specified by:
      getDescription in interface HelpLinkOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Describes what the link offers.
       
      optional string description = 422937596;
      Specified by:
      getDescriptionBytes in interface HelpLinkOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public HelpLink.Builder setDescription(String value)
       Describes what the link offers.
       
      optional string description = 422937596;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public HelpLink.Builder clearDescription()
       Describes what the link offers.
       
      optional string description = 422937596;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public HelpLink.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Describes what the link offers.
       
      optional string description = 422937596;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasUrl

      public boolean hasUrl()
       The URL of the link.
       
      optional string url = 116079;
      Specified by:
      hasUrl in interface HelpLinkOrBuilder
      Returns:
      Whether the url field is set.
    • getUrl

      public String getUrl()
       The URL of the link.
       
      optional string url = 116079;
      Specified by:
      getUrl in interface HelpLinkOrBuilder
      Returns:
      The url.
    • getUrlBytes

      public com.google.protobuf.ByteString getUrlBytes()
       The URL of the link.
       
      optional string url = 116079;
      Specified by:
      getUrlBytes in interface HelpLinkOrBuilder
      Returns:
      The bytes for url.
    • setUrl

      public HelpLink.Builder setUrl(String value)
       The URL of the link.
       
      optional string url = 116079;
      Parameters:
      value - The url to set.
      Returns:
      This builder for chaining.
    • clearUrl

      public HelpLink.Builder clearUrl()
       The URL of the link.
       
      optional string url = 116079;
      Returns:
      This builder for chaining.
    • setUrlBytes

      public HelpLink.Builder setUrlBytes(com.google.protobuf.ByteString value)
       The URL of the link.
       
      optional string url = 116079;
      Parameters:
      value - The bytes for url to set.
      Returns:
      This builder for chaining.