public final class TargetReference extends GeneratedMessageV3 implements TargetReferenceOrBuilder
Protobuf type google.cloud.compute.v1.TargetReference
Fields
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static TargetReference getDefaultInstance()
Returns
getDefaultInstanceForType()
public TargetReference getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<TargetReference> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTarget()
public String getTarget()
optional string target = 192835985;
Returns
Type | Description |
String | The target.
|
getTargetBytes()
public ByteString getTargetBytes()
optional string target = 192835985;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasTarget()
public boolean hasTarget()
optional string target = 192835985;
Returns
Type | Description |
boolean | Whether the target field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static TargetReference.Builder newBuilder()
Returns
newBuilder(TargetReference prototype)
public static TargetReference.Builder newBuilder(TargetReference prototype)
Parameter
Returns
newBuilderForType()
public TargetReference.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TargetReference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static TargetReference parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TargetReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TargetReference parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TargetReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TargetReference parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TargetReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TargetReference parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TargetReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TargetReference parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TargetReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TargetReference parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TargetReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TargetReference> parser()
Returns
toBuilder()
public TargetReference.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions