public static final class GatewayConfig.Builder extends GeneratedMessageV3.Builder<GatewayConfig.Builder> implements GatewayConfigOrBuilder
Gateway-related configuration and state.Protobuf type
google.cloud.iot.v1.GatewayConfig
Modifier and Type | Method and Description |
---|---|
GatewayConfig.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
GatewayConfig |
build() |
GatewayConfig |
buildPartial() |
GatewayConfig.Builder |
clear() |
GatewayConfig.Builder |
clearField(Descriptors.FieldDescriptor field) |
GatewayConfig.Builder |
clearGatewayAuthMethod()
Indicates how to authorize and/or authenticate devices to access the
gateway.
|
GatewayConfig.Builder |
clearGatewayType()
Indicates whether the device is a gateway.
|
GatewayConfig.Builder |
clearLastAccessedGatewayId()
[Output only] The ID of the gateway the device accessed most recently.
|
GatewayConfig.Builder |
clearLastAccessedGatewayTime()
[Output only] The most recent time at which the device accessed the gateway
specified in `last_accessed_gateway`.
|
GatewayConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
GatewayConfig.Builder |
clone() |
GatewayConfig |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
GatewayAuthMethod |
getGatewayAuthMethod()
Indicates how to authorize and/or authenticate devices to access the
gateway.
|
int |
getGatewayAuthMethodValue()
Indicates how to authorize and/or authenticate devices to access the
gateway.
|
GatewayType |
getGatewayType()
Indicates whether the device is a gateway.
|
int |
getGatewayTypeValue()
Indicates whether the device is a gateway.
|
String |
getLastAccessedGatewayId()
[Output only] The ID of the gateway the device accessed most recently.
|
ByteString |
getLastAccessedGatewayIdBytes()
[Output only] The ID of the gateway the device accessed most recently.
|
Timestamp |
getLastAccessedGatewayTime()
[Output only] The most recent time at which the device accessed the gateway
specified in `last_accessed_gateway`.
|
Timestamp.Builder |
getLastAccessedGatewayTimeBuilder()
[Output only] The most recent time at which the device accessed the gateway
specified in `last_accessed_gateway`.
|
TimestampOrBuilder |
getLastAccessedGatewayTimeOrBuilder()
[Output only] The most recent time at which the device accessed the gateway
specified in `last_accessed_gateway`.
|
boolean |
hasLastAccessedGatewayTime()
[Output only] The most recent time at which the device accessed the gateway
specified in `last_accessed_gateway`.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GatewayConfig.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
GatewayConfig.Builder |
mergeFrom(GatewayConfig other) |
GatewayConfig.Builder |
mergeFrom(Message other) |
GatewayConfig.Builder |
mergeLastAccessedGatewayTime(Timestamp value)
[Output only] The most recent time at which the device accessed the gateway
specified in `last_accessed_gateway`.
|
GatewayConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
GatewayConfig.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
GatewayConfig.Builder |
setGatewayAuthMethod(GatewayAuthMethod value)
Indicates how to authorize and/or authenticate devices to access the
gateway.
|
GatewayConfig.Builder |
setGatewayAuthMethodValue(int value)
Indicates how to authorize and/or authenticate devices to access the
gateway.
|
GatewayConfig.Builder |
setGatewayType(GatewayType value)
Indicates whether the device is a gateway.
|
GatewayConfig.Builder |
setGatewayTypeValue(int value)
Indicates whether the device is a gateway.
|
GatewayConfig.Builder |
setLastAccessedGatewayId(String value)
[Output only] The ID of the gateway the device accessed most recently.
|
GatewayConfig.Builder |
setLastAccessedGatewayIdBytes(ByteString value)
[Output only] The ID of the gateway the device accessed most recently.
|
GatewayConfig.Builder |
setLastAccessedGatewayTime(Timestamp.Builder builderForValue)
[Output only] The most recent time at which the device accessed the gateway
specified in `last_accessed_gateway`.
|
GatewayConfig.Builder |
setLastAccessedGatewayTime(Timestamp value)
[Output only] The most recent time at which the device accessed the gateway
specified in `last_accessed_gateway`.
|
GatewayConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
GatewayConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<GatewayConfig.Builder>
public GatewayConfig.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<GatewayConfig.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<GatewayConfig.Builder>
public GatewayConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public GatewayConfig build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public GatewayConfig buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public GatewayConfig.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<GatewayConfig.Builder>
public GatewayConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<GatewayConfig.Builder>
public GatewayConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<GatewayConfig.Builder>
public GatewayConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<GatewayConfig.Builder>
public GatewayConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<GatewayConfig.Builder>
public GatewayConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<GatewayConfig.Builder>
public GatewayConfig.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<GatewayConfig.Builder>
public GatewayConfig.Builder mergeFrom(GatewayConfig other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<GatewayConfig.Builder>
public GatewayConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<GatewayConfig.Builder>
IOException
public int getGatewayTypeValue()
Indicates whether the device is a gateway.
.google.cloud.iot.v1.GatewayType gateway_type = 1;
getGatewayTypeValue
in interface GatewayConfigOrBuilder
public GatewayConfig.Builder setGatewayTypeValue(int value)
Indicates whether the device is a gateway.
.google.cloud.iot.v1.GatewayType gateway_type = 1;
value
- The enum numeric value on the wire for gatewayType to set.public GatewayType getGatewayType()
Indicates whether the device is a gateway.
.google.cloud.iot.v1.GatewayType gateway_type = 1;
getGatewayType
in interface GatewayConfigOrBuilder
public GatewayConfig.Builder setGatewayType(GatewayType value)
Indicates whether the device is a gateway.
.google.cloud.iot.v1.GatewayType gateway_type = 1;
value
- The gatewayType to set.public GatewayConfig.Builder clearGatewayType()
Indicates whether the device is a gateway.
.google.cloud.iot.v1.GatewayType gateway_type = 1;
public int getGatewayAuthMethodValue()
Indicates how to authorize and/or authenticate devices to access the gateway.
.google.cloud.iot.v1.GatewayAuthMethod gateway_auth_method = 2;
getGatewayAuthMethodValue
in interface GatewayConfigOrBuilder
public GatewayConfig.Builder setGatewayAuthMethodValue(int value)
Indicates how to authorize and/or authenticate devices to access the gateway.
.google.cloud.iot.v1.GatewayAuthMethod gateway_auth_method = 2;
value
- The enum numeric value on the wire for gatewayAuthMethod to set.public GatewayAuthMethod getGatewayAuthMethod()
Indicates how to authorize and/or authenticate devices to access the gateway.
.google.cloud.iot.v1.GatewayAuthMethod gateway_auth_method = 2;
getGatewayAuthMethod
in interface GatewayConfigOrBuilder
public GatewayConfig.Builder setGatewayAuthMethod(GatewayAuthMethod value)
Indicates how to authorize and/or authenticate devices to access the gateway.
.google.cloud.iot.v1.GatewayAuthMethod gateway_auth_method = 2;
value
- The gatewayAuthMethod to set.public GatewayConfig.Builder clearGatewayAuthMethod()
Indicates how to authorize and/or authenticate devices to access the gateway.
.google.cloud.iot.v1.GatewayAuthMethod gateway_auth_method = 2;
public String getLastAccessedGatewayId()
[Output only] The ID of the gateway the device accessed most recently.
string last_accessed_gateway_id = 3;
getLastAccessedGatewayId
in interface GatewayConfigOrBuilder
public ByteString getLastAccessedGatewayIdBytes()
[Output only] The ID of the gateway the device accessed most recently.
string last_accessed_gateway_id = 3;
getLastAccessedGatewayIdBytes
in interface GatewayConfigOrBuilder
public GatewayConfig.Builder setLastAccessedGatewayId(String value)
[Output only] The ID of the gateway the device accessed most recently.
string last_accessed_gateway_id = 3;
value
- The lastAccessedGatewayId to set.public GatewayConfig.Builder clearLastAccessedGatewayId()
[Output only] The ID of the gateway the device accessed most recently.
string last_accessed_gateway_id = 3;
public GatewayConfig.Builder setLastAccessedGatewayIdBytes(ByteString value)
[Output only] The ID of the gateway the device accessed most recently.
string last_accessed_gateway_id = 3;
value
- The bytes for lastAccessedGatewayId to set.public boolean hasLastAccessedGatewayTime()
[Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.
.google.protobuf.Timestamp last_accessed_gateway_time = 4;
hasLastAccessedGatewayTime
in interface GatewayConfigOrBuilder
public Timestamp getLastAccessedGatewayTime()
[Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.
.google.protobuf.Timestamp last_accessed_gateway_time = 4;
getLastAccessedGatewayTime
in interface GatewayConfigOrBuilder
public GatewayConfig.Builder setLastAccessedGatewayTime(Timestamp value)
[Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.
.google.protobuf.Timestamp last_accessed_gateway_time = 4;
public GatewayConfig.Builder setLastAccessedGatewayTime(Timestamp.Builder builderForValue)
[Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.
.google.protobuf.Timestamp last_accessed_gateway_time = 4;
public GatewayConfig.Builder mergeLastAccessedGatewayTime(Timestamp value)
[Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.
.google.protobuf.Timestamp last_accessed_gateway_time = 4;
public GatewayConfig.Builder clearLastAccessedGatewayTime()
[Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.
.google.protobuf.Timestamp last_accessed_gateway_time = 4;
public Timestamp.Builder getLastAccessedGatewayTimeBuilder()
[Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.
.google.protobuf.Timestamp last_accessed_gateway_time = 4;
public TimestampOrBuilder getLastAccessedGatewayTimeOrBuilder()
[Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.
.google.protobuf.Timestamp last_accessed_gateway_time = 4;
getLastAccessedGatewayTimeOrBuilder
in interface GatewayConfigOrBuilder
public final GatewayConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<GatewayConfig.Builder>
public final GatewayConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<GatewayConfig.Builder>
Copyright © 2022 Google LLC. All rights reserved.