Class NodeGroupsSetNodeTemplateRequest (1.31.0)

public final class NodeGroupsSetNodeTemplateRequest extends GeneratedMessageV3 implements NodeGroupsSetNodeTemplateRequestOrBuilder

Protobuf type google.cloud.compute.v1.NodeGroupsSetNodeTemplateRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > NodeGroupsSetNodeTemplateRequest

Static Fields

NODE_TEMPLATE_FIELD_NUMBER

public static final int NODE_TEMPLATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NodeGroupsSetNodeTemplateRequest getDefaultInstance()
Returns
TypeDescription
NodeGroupsSetNodeTemplateRequest

getDescriptor()

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

newBuilder()

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

newBuilder(NodeGroupsSetNodeTemplateRequest prototype)

public static NodeGroupsSetNodeTemplateRequest.Builder newBuilder(NodeGroupsSetNodeTemplateRequest prototype)
Parameter
NameDescription
prototypeNodeGroupsSetNodeTemplateRequest
Returns
TypeDescription
NodeGroupsSetNodeTemplateRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NodeGroupsSetNodeTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
NodeGroupsSetNodeTemplateRequest

getNodeTemplate()

public String getNodeTemplate()

Full or partial URL of the node template resource to be updated for this node group.

optional string node_template = 323154455;

Returns
TypeDescription
String

The nodeTemplate.

getNodeTemplateBytes()

public ByteString getNodeTemplateBytes()

Full or partial URL of the node template resource to be updated for this node group.

optional string node_template = 323154455;

Returns
TypeDescription
ByteString

The bytes for nodeTemplate.

getParserForType()

public Parser<NodeGroupsSetNodeTemplateRequest> getParserForType()
Returns
TypeDescription
Parser<NodeGroupsSetNodeTemplateRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasNodeTemplate()

public boolean hasNodeTemplate()

Full or partial URL of the node template resource to be updated for this node group.

optional string node_template = 323154455;

Returns
TypeDescription
boolean

Whether the nodeTemplate field is set.

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 NodeGroupsSetNodeTemplateRequest.Builder newBuilderForType()
Returns
TypeDescription
NodeGroupsSetNodeTemplateRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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