public final class GKE extends GeneratedMessageV3 implements GKEOrBuilder
Represents a GKE destination.
Protobuf type google.cloud.eventarc.v1.GKE
Static Fields
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
Field Value
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
Field Value
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
Field Value
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GKE getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GKE.Builder newBuilder()
Returns
newBuilder(GKE prototype)
public static GKE.Builder newBuilder(GKE prototype)
Parameter
Name | Description |
prototype | GKE
|
Returns
public static GKE parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GKE parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GKE parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GKE parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GKE parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GKE parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GKE parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GKE parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GKE parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GKE parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GKE parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GKE parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GKE> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCluster()
public String getCluster()
Required. The name of the cluster the GKE service is running in. The cluster must be
running in the same project as the trigger being created.
string cluster = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The cluster.
|
getClusterBytes()
public ByteString getClusterBytes()
Required. The name of the cluster the GKE service is running in. The cluster must be
running in the same project as the trigger being created.
string cluster = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public GKE getDefaultInstanceForType()
Returns
getLocation()
public String getLocation()
Required. The name of the Google Compute Engine in which the cluster resides, which
can either be compute zone (for example, us-central1-a) for the zonal
clusters or region (for example, us-central1) for regional clusters.
string location = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The location.
|
getLocationBytes()
public ByteString getLocationBytes()
Required. The name of the Google Compute Engine in which the cluster resides, which
can either be compute zone (for example, us-central1-a) for the zonal
clusters or region (for example, us-central1) for regional clusters.
string location = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getNamespace()
public String getNamespace()
Required. The namespace the GKE service is running in.
string namespace = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The namespace.
|
getNamespaceBytes()
public ByteString getNamespaceBytes()
Required. The namespace the GKE service is running in.
string namespace = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<GKE> getParserForType()
Returns
Overrides
getPath()
Optional. The relative path on the GKE service the events should be sent to.
The value must conform to the definition of a URI path segment (section 3.3
of RFC2396). Examples: "/route", "route", "route/subroute".
string path = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The path.
|
getPathBytes()
public ByteString getPathBytes()
Optional. The relative path on the GKE service the events should be sent to.
The value must conform to the definition of a URI path segment (section 3.3
of RFC2396). Examples: "/route", "route", "route/subroute".
string path = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getService()
public String getService()
Required. Name of the GKE service.
string service = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The service.
|
getServiceBytes()
public ByteString getServiceBytes()
Required. Name of the GKE service.
string service = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GKE.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GKE.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GKE.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions