Class CustomTarget (1.32.0)

public final class CustomTarget extends GeneratedMessageV3 implements CustomTargetOrBuilder

Information specifying a Custom Target.

Protobuf type google.cloud.deploy.v1.CustomTarget

Static Fields

CUSTOM_TARGET_TYPE_FIELD_NUMBER

public static final int CUSTOM_TARGET_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CustomTarget getDefaultInstance()
Returns
TypeDescription
CustomTarget

getDescriptor()

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

newBuilder()

public static CustomTarget.Builder newBuilder()
Returns
TypeDescription
CustomTarget.Builder

newBuilder(CustomTarget prototype)

public static CustomTarget.Builder newBuilder(CustomTarget prototype)
Parameter
NameDescription
prototypeCustomTarget
Returns
TypeDescription
CustomTarget.Builder

parseDelimitedFrom(InputStream input)

public static CustomTarget parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CustomTarget
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static CustomTarget parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CustomTarget
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static CustomTarget parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CustomTarget
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static CustomTarget parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CustomTarget
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static CustomTarget parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CustomTarget
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<CustomTarget> parser()
Returns
TypeDescription
Parser<CustomTarget>

Methods

equals(Object obj)

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

getCustomTargetType()

public String getCustomTargetType()

Required. The name of the CustomTargetType. Format must be projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}.

string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The customTargetType.

getCustomTargetTypeBytes()

public ByteString getCustomTargetTypeBytes()

Required. The name of the CustomTargetType. Format must be projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}.

string custom_target_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for customTargetType.

getDefaultInstanceForType()

public CustomTarget getDefaultInstanceForType()
Returns
TypeDescription
CustomTarget

getParserForType()

public Parser<CustomTarget> getParserForType()
Returns
TypeDescription
Parser<CustomTarget>
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 CustomTarget.Builder newBuilderForType()
Returns
TypeDescription
CustomTarget.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CustomTarget.Builder toBuilder()
Returns
TypeDescription
CustomTarget.Builder

writeTo(CodedOutputStream output)

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