Class Instance.HostConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Instance.HostConfig.Builder>
com.google.cloud.securesourcemanager.v1.Instance.HostConfig.Builder
- All Implemented Interfaces:
Instance.HostConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Instance.HostConfig
public static final class Instance.HostConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Instance.HostConfig.Builder>
implements Instance.HostConfigOrBuilder
HostConfig has different instance endpoints.Protobuf type
google.cloud.securesourcemanager.v1.Instance.HostConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()clearApi()Output only.Output only.Output only.Output only.getApi()Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getHtml()Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Instance.HostConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.setApiBytes(com.google.protobuf.ByteString value) Output only.setGitHttp(String value) Output only.setGitHttpBytes(com.google.protobuf.ByteString value) Output only.Output only.setGitSshBytes(com.google.protobuf.ByteString value) Output only.Output only.setHtmlBytes(com.google.protobuf.ByteString value) Output only.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<Instance.HostConfig.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<Instance.HostConfig.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<Instance.HostConfig.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<Instance.HostConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Instance.HostConfig.Builder>
-
mergeFrom
public Instance.HostConfig.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<Instance.HostConfig.Builder>- Throws:
IOException
-
getHtml
Output only. HTML hostname.
string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHtmlin interfaceInstance.HostConfigOrBuilder- Returns:
- The html.
-
getHtmlBytes
public com.google.protobuf.ByteString getHtmlBytes()Output only. HTML hostname.
string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHtmlBytesin interfaceInstance.HostConfigOrBuilder- Returns:
- The bytes for html.
-
setHtml
Output only. HTML hostname.
string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The html to set.- Returns:
- This builder for chaining.
-
clearHtml
Output only. HTML hostname.
string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setHtmlBytes
Output only. HTML hostname.
string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for html to set.- Returns:
- This builder for chaining.
-
getApi
Output only. API hostname.
string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApiin interfaceInstance.HostConfigOrBuilder- Returns:
- The api.
-
getApiBytes
public com.google.protobuf.ByteString getApiBytes()Output only. API hostname.
string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApiBytesin interfaceInstance.HostConfigOrBuilder- Returns:
- The bytes for api.
-
setApi
Output only. API hostname.
string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The api to set.- Returns:
- This builder for chaining.
-
clearApi
Output only. API hostname.
string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setApiBytes
Output only. API hostname.
string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for api to set.- Returns:
- This builder for chaining.
-
getGitHttp
Output only. Git HTTP hostname.
string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGitHttpin interfaceInstance.HostConfigOrBuilder- Returns:
- The gitHttp.
-
getGitHttpBytes
public com.google.protobuf.ByteString getGitHttpBytes()Output only. Git HTTP hostname.
string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGitHttpBytesin interfaceInstance.HostConfigOrBuilder- Returns:
- The bytes for gitHttp.
-
setGitHttp
Output only. Git HTTP hostname.
string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The gitHttp to set.- Returns:
- This builder for chaining.
-
clearGitHttp
Output only. Git HTTP hostname.
string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setGitHttpBytes
Output only. Git HTTP hostname.
string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for gitHttp to set.- Returns:
- This builder for chaining.
-
getGitSsh
Output only. Git SSH hostname.
string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGitSshin interfaceInstance.HostConfigOrBuilder- Returns:
- The gitSsh.
-
getGitSshBytes
public com.google.protobuf.ByteString getGitSshBytes()Output only. Git SSH hostname.
string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGitSshBytesin interfaceInstance.HostConfigOrBuilder- Returns:
- The bytes for gitSsh.
-
setGitSsh
Output only. Git SSH hostname.
string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The gitSsh to set.- Returns:
- This builder for chaining.
-
clearGitSsh
Output only. Git SSH hostname.
string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setGitSshBytes
Output only. Git SSH hostname.
string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for gitSsh to set.- Returns:
- This builder for chaining.
-