Class Instance.PrivateConfig.CustomHostConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Instance.PrivateConfig.CustomHostConfig.Builder>
com.google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig.Builder
- All Implemented Interfaces:
Instance.PrivateConfig.CustomHostConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Instance.PrivateConfig.CustomHostConfig
public static final class Instance.PrivateConfig.CustomHostConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Instance.PrivateConfig.CustomHostConfig.Builder>
implements Instance.PrivateConfig.CustomHostConfigOrBuilder
Custom host config for the instance.Protobuf type
google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()clearApi()Required.Required.Required.Required.getApi()Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.getHtml()Required.com.google.protobuf.ByteStringRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.setApiBytes(com.google.protobuf.ByteString value) Required.setGitHttp(String value) Required.setGitHttpBytes(com.google.protobuf.ByteString value) Required.Required.setGitSshBytes(com.google.protobuf.ByteString value) Required.Required.setHtmlBytes(com.google.protobuf.ByteString value) Required.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.PrivateConfig.CustomHostConfig.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.PrivateConfig.CustomHostConfig.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.PrivateConfig.CustomHostConfig.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.PrivateConfig.CustomHostConfig.Builder>
-
mergeFrom
public Instance.PrivateConfig.CustomHostConfig.Builder mergeFrom(Instance.PrivateConfig.CustomHostConfig other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Instance.PrivateConfig.CustomHostConfig.Builder>
-
mergeFrom
public Instance.PrivateConfig.CustomHostConfig.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.PrivateConfig.CustomHostConfig.Builder>- Throws:
IOException
-
getHtml
Required. The custom UI hostname for the instance, e.g., "git.source.internal.mycompany.com"
string html = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHtmlin interfaceInstance.PrivateConfig.CustomHostConfigOrBuilder- Returns:
- The html.
-
getHtmlBytes
public com.google.protobuf.ByteString getHtmlBytes()Required. The custom UI hostname for the instance, e.g., "git.source.internal.mycompany.com"
string html = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHtmlBytesin interfaceInstance.PrivateConfig.CustomHostConfigOrBuilder- Returns:
- The bytes for html.
-
setHtml
Required. The custom UI hostname for the instance, e.g., "git.source.internal.mycompany.com"
string html = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The html to set.- Returns:
- This builder for chaining.
-
clearHtml
Required. The custom UI hostname for the instance, e.g., "git.source.internal.mycompany.com"
string html = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setHtmlBytes
public Instance.PrivateConfig.CustomHostConfig.Builder setHtmlBytes(com.google.protobuf.ByteString value) Required. The custom UI hostname for the instance, e.g., "git.source.internal.mycompany.com"
string html = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for html to set.- Returns:
- This builder for chaining.
-
getApi
Required. The custom API hostname for the instance, e.g., "api.source.internal.mycompany.com"
string api = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getApiin interfaceInstance.PrivateConfig.CustomHostConfigOrBuilder- Returns:
- The api.
-
getApiBytes
public com.google.protobuf.ByteString getApiBytes()Required. The custom API hostname for the instance, e.g., "api.source.internal.mycompany.com"
string api = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getApiBytesin interfaceInstance.PrivateConfig.CustomHostConfigOrBuilder- Returns:
- The bytes for api.
-
setApi
Required. The custom API hostname for the instance, e.g., "api.source.internal.mycompany.com"
string api = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The api to set.- Returns:
- This builder for chaining.
-
clearApi
Required. The custom API hostname for the instance, e.g., "api.source.internal.mycompany.com"
string api = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setApiBytes
public Instance.PrivateConfig.CustomHostConfig.Builder setApiBytes(com.google.protobuf.ByteString value) Required. The custom API hostname for the instance, e.g., "api.source.internal.mycompany.com"
string api = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for api to set.- Returns:
- This builder for chaining.
-
getGitSsh
Required. The custom git ssh hostname for the instance, e.g., "ssh.source.internal.mycompany.com"
string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getGitSshin interfaceInstance.PrivateConfig.CustomHostConfigOrBuilder- Returns:
- The gitSsh.
-
getGitSshBytes
public com.google.protobuf.ByteString getGitSshBytes()Required. The custom git ssh hostname for the instance, e.g., "ssh.source.internal.mycompany.com"
string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getGitSshBytesin interfaceInstance.PrivateConfig.CustomHostConfigOrBuilder- Returns:
- The bytes for gitSsh.
-
setGitSsh
Required. The custom git ssh hostname for the instance, e.g., "ssh.source.internal.mycompany.com"
string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The gitSsh to set.- Returns:
- This builder for chaining.
-
clearGitSsh
Required. The custom git ssh hostname for the instance, e.g., "ssh.source.internal.mycompany.com"
string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setGitSshBytes
public Instance.PrivateConfig.CustomHostConfig.Builder setGitSshBytes(com.google.protobuf.ByteString value) Required. The custom git ssh hostname for the instance, e.g., "ssh.source.internal.mycompany.com"
string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for gitSsh to set.- Returns:
- This builder for chaining.
-
getGitHttp
Required. The custom git http hostname for the instance, e.g., "git.source.internal.mycompany.com"
string git_http = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getGitHttpin interfaceInstance.PrivateConfig.CustomHostConfigOrBuilder- Returns:
- The gitHttp.
-
getGitHttpBytes
public com.google.protobuf.ByteString getGitHttpBytes()Required. The custom git http hostname for the instance, e.g., "git.source.internal.mycompany.com"
string git_http = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getGitHttpBytesin interfaceInstance.PrivateConfig.CustomHostConfigOrBuilder- Returns:
- The bytes for gitHttp.
-
setGitHttp
Required. The custom git http hostname for the instance, e.g., "git.source.internal.mycompany.com"
string git_http = 4 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The gitHttp to set.- Returns:
- This builder for chaining.
-
clearGitHttp
Required. The custom git http hostname for the instance, e.g., "git.source.internal.mycompany.com"
string git_http = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setGitHttpBytes
public Instance.PrivateConfig.CustomHostConfig.Builder setGitHttpBytes(com.google.protobuf.ByteString value) Required. The custom git http hostname for the instance, e.g., "git.source.internal.mycompany.com"
string git_http = 4 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for gitHttp to set.- Returns:
- This builder for chaining.
-