Package com.google.rpc
Class Help.Link.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Help.Link,Help.Link.Builder>
com.google.rpc.Help.Link.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Help.LinkOrBuilder
,Cloneable
- Enclosing class:
- Help.Link
public static final class Help.Link.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Help.Link,Help.Link.Builder>
implements Help.LinkOrBuilder
Describes a URL link.Protobuf type
google.rpc.Help.Link
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionDescribes what the link offers.clearUrl()
The URL of the link.Describes what the link offers.com.google.protobuf.ByteString
Describes what the link offers.getUrl()
The URL of the link.com.google.protobuf.ByteString
The URL of the link.setDescription
(String value) Describes what the link offers.setDescriptionBytes
(com.google.protobuf.ByteString value) Describes what the link offers.The URL of the link.setUrlBytes
(com.google.protobuf.ByteString value) The URL of the link.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getDescription
Describes what the link offers.
string description = 1 [json_name = "description"];
- Specified by:
getDescription
in interfaceHelp.LinkOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Describes what the link offers.
string description = 1 [json_name = "description"];
- Specified by:
getDescriptionBytes
in interfaceHelp.LinkOrBuilder
- Returns:
- The bytes for description.
-
setDescription
Describes what the link offers.
string description = 1 [json_name = "description"];
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Describes what the link offers.
string description = 1 [json_name = "description"];
- Returns:
- This builder for chaining.
-
setDescriptionBytes
Describes what the link offers.
string description = 1 [json_name = "description"];
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getUrl
The URL of the link.
string url = 2 [json_name = "url"];
- Specified by:
getUrl
in interfaceHelp.LinkOrBuilder
- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()The URL of the link.
string url = 2 [json_name = "url"];
- Specified by:
getUrlBytes
in interfaceHelp.LinkOrBuilder
- Returns:
- The bytes for url.
-
setUrl
The URL of the link.
string url = 2 [json_name = "url"];
- Parameters:
value
- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
The URL of the link.
string url = 2 [json_name = "url"];
- Returns:
- This builder for chaining.
-
setUrlBytes
The URL of the link.
string url = 2 [json_name = "url"];
- Parameters:
value
- The bytes for url to set.- Returns:
- This builder for chaining.
-