Class Instance.HostConfig (0.6.0)

public static final class Instance.HostConfig extends GeneratedMessageV3 implements Instance.HostConfigOrBuilder

HostConfig has different instance endpoints.

Protobuf type google.cloud.securesourcemanager.v1.Instance.HostConfig

Static Fields

API_FIELD_NUMBER

public static final int API_FIELD_NUMBER
Field Value
TypeDescription
int

GIT_HTTP_FIELD_NUMBER

public static final int GIT_HTTP_FIELD_NUMBER
Field Value
TypeDescription
int

GIT_SSH_FIELD_NUMBER

public static final int GIT_SSH_FIELD_NUMBER
Field Value
TypeDescription
int

HTML_FIELD_NUMBER

public static final int HTML_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Instance.HostConfig getDefaultInstance()
Returns
TypeDescription
Instance.HostConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Instance.HostConfig.Builder newBuilder()
Returns
TypeDescription
Instance.HostConfig.Builder

newBuilder(Instance.HostConfig prototype)

public static Instance.HostConfig.Builder newBuilder(Instance.HostConfig prototype)
Parameter
NameDescription
prototypeInstance.HostConfig
Returns
TypeDescription
Instance.HostConfig.Builder

parseDelimitedFrom(InputStream input)

public static Instance.HostConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Instance.HostConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.HostConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.HostConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Instance.HostConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Instance.HostConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Instance.HostConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.HostConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Instance.HostConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Instance.HostConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Instance.HostConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.HostConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Instance.HostConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Instance.HostConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.HostConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.HostConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Instance.HostConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Instance.HostConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.HostConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.HostConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Instance.HostConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Instance.HostConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Instance.HostConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.HostConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Instance.HostConfig> parser()
Returns
TypeDescription
Parser<HostConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getApi()

public String getApi()

Output only. API hostname. This is the hostname to use for Host: Data Plane endpoints.

string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The api.

getApiBytes()

public ByteString getApiBytes()

Output only. API hostname. This is the hostname to use for Host: Data Plane endpoints.

string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for api.

getDefaultInstanceForType()

public Instance.HostConfig getDefaultInstanceForType()
Returns
TypeDescription
Instance.HostConfig

getGitHttp()

public String getGitHttp()

Output only. Git HTTP hostname.

string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The gitHttp.

getGitHttpBytes()

public ByteString getGitHttpBytes()

Output only. Git HTTP hostname.

string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for gitHttp.

getGitSsh()

public String getGitSsh()

Output only. Git SSH hostname.

string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The gitSsh.

getGitSshBytes()

public ByteString getGitSshBytes()

Output only. Git SSH hostname.

string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for gitSsh.

getHtml()

public String getHtml()

Output only. HTML hostname.

string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The html.

getHtmlBytes()

public ByteString getHtmlBytes()

Output only. HTML hostname.

string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for html.

getParserForType()

public Parser<Instance.HostConfig> getParserForType()
Returns
TypeDescription
Parser<HostConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Instance.HostConfig.Builder newBuilderForType()
Returns
TypeDescription
Instance.HostConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Instance.HostConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Instance.HostConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Instance.HostConfig.Builder toBuilder()
Returns
TypeDescription
Instance.HostConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException