Send feedback
Class ConnectAgentResource.Builder (1.3.4)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.3.4 keyboard_arrow_down
public static final class ConnectAgentResource . Builder extends GeneratedMessageV3 . Builder<ConnectAgentResource . Builder > implements ConnectAgentResourceOrBuilder
ConnectAgentResource represents a Kubernetes resource manifest for Connect
Agent deployment.
Protobuf type google.cloud.gkehub.v1beta1.ConnectAgentResource
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConnectAgentResource . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ConnectAgentResource build ()
Returns
buildPartial()
public ConnectAgentResource buildPartial ()
Returns
clear()
public ConnectAgentResource . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ConnectAgentResource . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearManifest()
public ConnectAgentResource . Builder clearManifest ()
YAML manifest of the resource.
string manifest = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ConnectAgentResource . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearType()
public ConnectAgentResource . Builder clearType ()
Kubernetes type of the resource.
.google.cloud.gkehub.v1beta1.TypeMeta type = 1;
Returns
clone()
public ConnectAgentResource . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ConnectAgentResource getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getManifest()
public String getManifest ()
YAML manifest of the resource.
string manifest = 2;
Returns
Type Description String The manifest.
getManifestBytes()
public ByteString getManifestBytes ()
YAML manifest of the resource.
string manifest = 2;
Returns
getType()
public TypeMeta getType ()
Kubernetes type of the resource.
.google.cloud.gkehub.v1beta1.TypeMeta type = 1;
Returns
getTypeBuilder()
public TypeMeta . Builder getTypeBuilder ()
Kubernetes type of the resource.
.google.cloud.gkehub.v1beta1.TypeMeta type = 1;
Returns
getTypeOrBuilder()
public TypeMetaOrBuilder getTypeOrBuilder ()
Kubernetes type of the resource.
.google.cloud.gkehub.v1beta1.TypeMeta type = 1;
Returns
hasType()
Kubernetes type of the resource.
.google.cloud.gkehub.v1beta1.TypeMeta type = 1;
Returns
Type Description boolean Whether the type field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ConnectAgentResource other)
public ConnectAgentResource . Builder mergeFrom ( ConnectAgentResource other )
Parameter
Returns
public ConnectAgentResource . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ConnectAgentResource . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public ConnectAgentResource . Builder mergeType ( TypeMeta value )
Kubernetes type of the resource.
.google.cloud.gkehub.v1beta1.TypeMeta type = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConnectAgentResource . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ConnectAgentResource . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setManifest(String value)
public ConnectAgentResource . Builder setManifest ( String value )
YAML manifest of the resource.
string manifest = 2;
Parameter
Name Description value String
The manifest to set.
Returns
setManifestBytes(ByteString value)
public ConnectAgentResource . Builder setManifestBytes ( ByteString value )
YAML manifest of the resource.
string manifest = 2;
Parameter
Name Description value ByteString
The bytes for manifest to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConnectAgentResource . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public ConnectAgentResource . Builder setType ( TypeMeta value )
Kubernetes type of the resource.
.google.cloud.gkehub.v1beta1.TypeMeta type = 1;
Parameter
Returns
public ConnectAgentResource . Builder setType ( TypeMeta . Builder builderForValue )
Kubernetes type of the resource.
.google.cloud.gkehub.v1beta1.TypeMeta type = 1;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ConnectAgentResource . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]